diff options
author | Corentin Noël <tintou@noel.tf> | 2022-06-14 11:18:22 +0000 |
---|---|---|
committer | Corentin Noël <tintou@noel.tf> | 2022-06-14 11:18:22 +0000 |
commit | a444911d8dbce5d159b6257c4d2431a1e96ef82e (patch) | |
tree | 9e9ef7ae10ae833a758d9a24c994adf9ff6ae476 | |
parent | 99d0c1c3ba19d3c7f1703f9e0a435ca5c74cbb9b (diff) | |
parent | bb23c8a3c2c70e49c09b24c6c859258d337a4506 (diff) | |
download | libgnomekbd-a444911d8dbce5d159b6257c4d2431a1e96ef82e.tar.gz |
Merge branch 'wip/piotrdrag/unicode-typography' into 'master'
Use Unicode in translatable strings
See merge request GNOME/libgnomekbd!1
-rw-r--r-- | libgnomekbd/gkbd-keyboard-config.c | 6 | ||||
-rw-r--r-- | libgnomekbd/gkbd-keyboard-drawing.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libgnomekbd/gkbd-keyboard-config.c b/libgnomekbd/gkbd-keyboard-config.c index 00dc429..4fed7d2 100644 --- a/libgnomekbd/gkbd-keyboard-config.c +++ b/libgnomekbd/gkbd-keyboard-config.c @@ -709,7 +709,7 @@ gkbd_keyboard_config_to_string (const GkbdKeyboardConfig * config) g_strdup_printf (ngettext /* Translators: The count is related to the number of options. The %s * format specifier should not be modified, left "as is". */ - ("layout \"%s\"", "layouts \"%s\"", + ("layout “%s”", "layouts “%s”", count), buffer->str); g_string_truncate (buffer, 0); } @@ -727,7 +727,7 @@ gkbd_keyboard_config_to_string (const GkbdKeyboardConfig * config) g_strdup_printf (ngettext /* Translators: The count is related to the number of options. The %s * format specifier should not be modified, left "as is". */ - ("option \"%s\"", "options \"%s\"", + ("option “%s”", "options “%s”", count), buffer->str); g_string_truncate (buffer, 0); } @@ -735,7 +735,7 @@ gkbd_keyboard_config_to_string (const GkbdKeyboardConfig * config) g_string_free (buffer, TRUE); result = - g_strdup_printf (_("model \"%s\", %s and %s"), config->model, + g_strdup_printf (_("model “%s”, %s and %s"), config->model, layouts ? layouts : _("no layout"), options ? options : _("no options")); diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c index da526d2..c9eef82 100644 --- a/libgnomekbd/gkbd-keyboard-drawing.c +++ b/libgnomekbd/gkbd-keyboard-drawing.c @@ -2454,7 +2454,7 @@ gkbd_keyboard_drawing_draw_page (GtkPrintOperation * operation, gtk_print_operation_set_unit (operation, GTK_UNIT_PIXEL); header = g_strdup_printf - (_("Keyboard layout \"%s\"\n" + (_("Keyboard layout “%s”\n" "Copyright © X.Org Foundation and " "XKeyboardConfig contributors\n" "For licensing see package metadata"), data->description); |