From 5b205c59c623338cc40378217c6de9394f0b01bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Dr=C4=85g?= Date: Sun, 2 Sep 2018 22:03:05 +0200 Subject: [PATCH] Use Unicode typography in user-visible strings See https://developer.gnome.org/hig/stable/typography.html --- data/color-row.ui | 4 ++-- data/shortcuts.ui | 2 +- data/window.ui | 4 ++-- src/gcolor3-color-store.c | 2 +- src/main.c | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/data/color-row.ui b/data/color-row.ui index 5097996..867e982 100644 --- a/data/color-row.ui +++ b/data/color-row.ui @@ -43,7 +43,7 @@ True True - Click to change the color's name + Click to change the color’s name Name False @@ -65,7 +65,7 @@ True True False - Copy this color's hex value to the clipboard + Copy this color’s hex value to the clipboard True diff --git a/data/shortcuts.ui b/data/shortcuts.ui index 0d38c06..d1e44a9 100644 --- a/data/shortcuts.ui +++ b/data/shortcuts.ui @@ -42,7 +42,7 @@ 1 <ctrl>c - Copy highlighted color's hex value + Copy highlighted color’s hex value diff --git a/data/window.ui b/data/window.ui index 518f457..b15b02b 100644 --- a/data/window.ui +++ b/data/window.ui @@ -22,7 +22,7 @@ True True True - Color name... + Color name… @@ -221,7 +221,7 @@ page0 - page0 + page0 1 diff --git a/src/gcolor3-color-store.c b/src/gcolor3-color-store.c index be8e6fe..5745adf 100644 --- a/src/gcolor3-color-store.c +++ b/src/gcolor3-color-store.c @@ -293,7 +293,7 @@ gcolor3_color_store_rename_color (Gcolor3ColorStore *store, } if (!(g_key_file_has_key (priv->colors, "Colors", old_name, NULL))) { - g_warning (_("Cannot rename nonexisting color `%s`"), old_name); + g_warning (_("Cannot rename non-existing color `%s`"), old_name); return FALSE; } diff --git a/src/main.c b/src/main.c index 74f3d9e..8eb01de 100644 --- a/src/main.c +++ b/src/main.c @@ -40,7 +40,7 @@ _print_version_and_exit (UNUSED const gchar *name, } static const GOptionEntry options[] = { - { "version", 'v', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, _print_version_and_exit, N_("Show the application's version"), NULL }, + { "version", 'v', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, _print_version_and_exit, N_("Show the application’s version"), NULL }, { NULL } }; @@ -51,7 +51,7 @@ _parse_options (int argc, char **argv) GError *error = NULL; gboolean succes; - context = g_option_context_new (_("- pick a color from the picker or the screen")); + context = g_option_context_new (_("— pick a color from the picker or the screen")); g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE); /* This initialises GTK during parsing. */ g_option_context_add_group (context, gtk_get_option_group (FALSE)); @@ -62,7 +62,7 @@ _parse_options (int argc, char **argv) if (!succes) { gchar *help; - help = g_strdup_printf (_("Run '%s --help' to see a full " + help = g_strdup_printf (_("Run “%s --help” to see a full " "list of available command line " "options"), argv[0]); g_printerr ("%s\n%s\n", error->message, help);