diff options
-rw-r--r-- | src/keyboard-lomiri.c | 3 | ||||
-rw-r--r-- | src/keyboard-x11.c | 3 |
2 files changed, 4 insertions, 2 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) diff --git a/src/keyboard-x11.c b/src/keyboard-x11.c index 86449c7d..d841e348 100644 --- a/src/keyboard-x11.c +++ b/src/keyboard-x11.c @@ -482,7 +482,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) |