diff options
author | Alexander Golubev <[email protected]> | 2024-02-07 08:03:16 +0300 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2024-03-03 18:17:07 +0100 |
commit | 40879a72e313124001c9545060c48897e7440914 (patch) | |
tree | 300c602ba38b774be897e2201f06ff5341df0568 /kxkb/x11helper.h | |
parent | e56c1ff3b89f435479a3c74f7dce36772640a567 (diff) | |
download | tdebase-40879a72e313124001c9545060c48897e7440914.tar.gz tdebase-40879a72e313124001c9545060c48897e7440914.zip |
kxkb: utilize a translations provseided by xkeyboard-config
xkeyboard-config package comes with a message catalogue of its own to
translate locale, keyboard model and xkb option names. It would be
easier and more robust to utilize it instead of redoing all
translation in-house.
Signed-off-by: Alexander Golubev <[email protected]>
(cherry picked from commit 18a8b8d43577941388fa40666641f628860d6f7a)
Diffstat (limited to 'kxkb/x11helper.h')
-rw-r--r-- | kxkb/x11helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kxkb/x11helper.h b/kxkb/x11helper.h index 042fb4ce5..8315dc446 100644 --- a/kxkb/x11helper.h +++ b/kxkb/x11helper.h @@ -3,6 +3,7 @@ #include <tqdict.h> #include <tqstringlist.h> +#include <tqwindowdefs.h> struct RulesInfo { @@ -36,6 +37,7 @@ public: static bool areLayoutsClean() { return m_layoutsClean; } static bool areSingleGroupsSupported(); + static void initializeTranslations(); }; #endif /*X11HELPER_H_*/ |