Commit f2feef04 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Remove i18n

This was an experiment of showing the app menu in a "Menu" submenu but it would complicate
the mapping logic as there's suddenly a menu layer "above" the main menu, so that should
proably go into appmenu applet instead.
parent 85ca8dbb
add_definitions(-DTRANSLATION_DOMAIN=\"gmenu_dbusmenu_proxy\")
add_definitions(-DQT_NO_CAST_TO_ASCII
-DQT_NO_CAST_FROM_ASCII
-DQT_NO_URL_CAST_FROM_STRING
......@@ -39,7 +37,6 @@ target_link_libraries(gmenudbusmenuproxy
Qt5::DBus
KF5::ConfigCore
KF5::WindowSystem
KF5::I18n
XCB::XCB
)
......
#! /bin/sh
$XGETTEXT *.cpp -o $podir/gmenu_dbusmenu_proxy.pot
......@@ -30,8 +30,6 @@
#include <QMutableListIterator>
#include <QVariantList>
#include <KLocalizedString>
#include <algorithm>
#include "actions.h"
......@@ -482,7 +480,6 @@ uint Window::GetLayout(int parentId, int recursionDepth, const QStringList &prop
dbusItem.id = parentId; // TODO
dbusItem.properties = {
{QStringLiteral("label"), i18n("Menu")}, // TODO use application name?
{QStringLiteral("children-display"), QStringLiteral("submenu")}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment