From 18a8b8d43577941388fa40666641f628860d6f7a Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Wed, 7 Feb 2024 08:03:16 +0300 Subject: 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 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 6dc8adc20..a7de8d9a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,6 +119,7 @@ option( WITH_TDEHWLIB "Enable TDE hardware library support" ${WITH_ALL_OPTIONS} option( WITH_UPOWER "Enable UPOWER support" ${WITH_ALL_OPTIONS} ) option( WITH_ELFICON "Enable ELF embedded metadata support" ${WITH_ALL_OPTIONS} ) option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) +option( WITH_XKB_TRANSLATIONS "Use translations for xkb messages provided by xkeyboard-config" ON ) ##### options comments ########################## @@ -155,6 +156,7 @@ option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" # WITH_PCRE affects twin/compot-tde # WITH_SUDO_TDESU_BACKEND affects tdesu # WITH_SUDO_KONSOLE_SUPER_USER_COMMAND affects launching Konsole super user sessions +# WITH_XKB_TRANSLATIONS affects kxkb # NOTE: WITH_SHADOW and WITH_PAM shouldn't be set concurrently # WITH_PAM will override WITH_SHADOW -- cgit v1.2.1