summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-02-07 08:03:16 +0300
committerSlávek Banko <slavek.banko@axis.cz>2024-03-03 18:17:07 +0100
commit40879a72e313124001c9545060c48897e7440914 (patch)
tree300c602ba38b774be897e2201f06ff5341df0568 /config.h.cmake
parente56c1ff3b89f435479a3c74f7dce36772640a567 (diff)
downloadtdebase-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 <fatzer2@gmail.com> (cherry picked from commit 18a8b8d43577941388fa40666641f628860d6f7a)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 3324456f3..fcee849e3 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -245,7 +245,9 @@ unsigned long strlcpy(char*, const char*, unsigned long);
#cmakedefine XLIBDIR "@XLIBDIR@"
// kxkb
+#cmakedefine WITH_XKB_TRANSLATIONS 1
#cmakedefine X11_XKB_RULES_DIR "@X11_XKB_RULES_DIR@"
+#cmakedefine XKB_CONFIG_LOCALE_DIR "@XKB_CONFIG_LOCALE_DIR@"
// tdm, kcontrol
#cmakedefine WITH_XRANDR "@WITH_XRANDR@"