diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2016-10-11 16:08:08 +0200 |
---|---|---|
committer | Piotr Drąg <piotrdrag@gmail.com> | 2020-07-25 14:22:18 +0200 |
commit | bb23c8a3c2c70e49c09b24c6c859258d337a4506 (patch) | |
tree | 2e2be135b3d7b357c1537f22f00f31d27b361206 /libgnomekbd | |
parent | 8d02ebd17b75ff3be59d9d57674d50e069bb551b (diff) | |
download | libgnomekbd-bb23c8a3c2c70e49c09b24c6c859258d337a4506.tar.gz |
Use Unicode in translatable stringswip/piotrdrag/unicode-typography
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772762
Diffstat (limited to 'libgnomekbd')
-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); |