From bb23c8a3c2c70e49c09b24c6c859258d337a4506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Dr=C4=85g?= Date: Tue, 11 Oct 2016 16:08:08 +0200 Subject: Use Unicode in translatable strings See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772762 --- libgnomekbd/gkbd-keyboard-config.c | 6 +++--- libgnomekbd/gkbd-keyboard-drawing.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libgnomekbd') 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); -- cgit v1.2.1