aboutsummaryrefslogtreecommitdiff
path: root/src/keyboard-lomiri.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-08-15 17:10:53 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-08-15 17:10:53 +0200
commitdd3bb86502f71345f438f3e6a5b2b28629f85fbc (patch)
treea1670ab3ff670afc5b2f2581d062caeccf17496c /src/keyboard-lomiri.c
parent8c6e2b033b9aa42c05e578edd459f2d00c019d40 (diff)
parentd06286cae3dab0e512c2885e4500c573de72dcf6 (diff)
downloadayatana-indicator-keyboard-dd3bb86502f71345f438f3e6a5b2b28629f85fbc.tar.gz
ayatana-indicator-keyboard-dd3bb86502f71345f438f3e6a5b2b28629f85fbc.tar.bz2
ayatana-indicator-keyboard-dd3bb86502f71345f438f3e6a5b2b28629f85fbc.zip
Merge branch 'tari01-pr/translate-layout-names'
Attributes GH PR #41: https://github.com/AyatanaIndicators/ayatana-indicator-keyboard/pull/41
Diffstat (limited to 'src/keyboard-lomiri.c')
-rw-r--r--src/keyboard-lomiri.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard-lomiri.c b/src/keyboard-lomiri.c
index b421fe5c..c6496e87 100644
--- a/src/keyboard-lomiri.c
+++ b/src/keyboard-lomiri.c
@@ -336,7 +336,8 @@ static void keyboard_init(Keyboard *self)
const gchar *sLayout = rxkb_layout_get_name(pRxkbLayout);
const gchar *sVariant = rxkb_layout_get_variant(pRxkbLayout);
const gchar *sDescription = rxkb_layout_get_description(pRxkbLayout);
-
+ const gchar *sTranslated = g_dgettext("xkeyboard-config", sDescription);
+ sDescription = sTranslated;
Layout *pLayout = g_slice_new0(Layout);
if (sVariant != NULL && strlen(sVariant) > 0)