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 --- kxkb/kxkb.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'kxkb/kxkb.cpp') diff --git a/kxkb/kxkb.cpp b/kxkb/kxkb.cpp index 6a90aa0dd..34ed19334 100644 --- a/kxkb/kxkb.cpp +++ b/kxkb/kxkb.cpp @@ -68,6 +68,7 @@ KXKBApp::KXKBApp(bool allowStyles, bool GUIenabled) m_tray(NULL), kWinModule(NULL) { + X11Helper::initializeTranslations(); m_extension = new XKBExtension(); if( !m_extension->init() ) { kdDebug() << "xkb initialization failed, exiting..." << endl; -- cgit v1.2.1