summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2016-09-29 23:06:36 +0200
committerPiotr Drąg <piotrdrag@gmail.com>2017-06-22 00:12:15 +0200
commit9bbc9c156629037532f33da9d7dc311bb49470cb (patch)
tree34f48992500088825c43e163801c97811be7236b /tools
parente7a650b88b92c3381eccef7bf4765fa814389aaa (diff)
downloadgnome-session-9bbc9c156629037532f33da9d7dc311bb49470cb.tar.gz
Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772206
Diffstat (limited to 'tools')
-rw-r--r--tools/gnome-session-inhibit.c2
-rw-r--r--tools/gnome-session-quit.c2
-rw-r--r--tools/gnome-session-selector.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/tools/gnome-session-inhibit.c b/tools/gnome-session-inhibit.c
index 622def1e..1c7a56da 100644
--- a/tools/gnome-session-inhibit.c
+++ b/tools/gnome-session-inhibit.c
@@ -105,7 +105,7 @@ static gboolean inhibit (const gchar *app_id,
static void usage (void)
{
- g_print (_("%s [OPTION...] COMMAND\n"
+ g_print (_("%s [OPTION…] COMMAND\n"
"\n"
"Execute COMMAND while inhibiting some session functionality.\n"
"\n"
diff --git a/tools/gnome-session-quit.c b/tools/gnome-session-quit.c
index 76b6f6d5..4dddbfe4 100644
--- a/tools/gnome-session-quit.c
+++ b/tools/gnome-session-quit.c
@@ -51,7 +51,7 @@ static GOptionEntry options[] = {
{"power-off", '\0', 0, G_OPTION_ARG_NONE, &opt_power_off, N_("Power off"), NULL},
{"reboot", '\0', 0, G_OPTION_ARG_NONE, &opt_reboot, N_("Reboot"), NULL},
{"force", '\0', 0, G_OPTION_ARG_NONE, &opt_force, N_("Ignoring any existing inhibitors"), NULL},
- {"no-prompt", '\0', 0, G_OPTION_ARG_NONE, &opt_no_prompt, N_("Don't prompt for user confirmation"), NULL},
+ {"no-prompt", '\0', 0, G_OPTION_ARG_NONE, &opt_no_prompt, N_("Don’t prompt for user confirmation"), NULL},
{NULL}
};
diff --git a/tools/gnome-session-selector.c b/tools/gnome-session-selector.c
index d7584ffb..71892c43 100644
--- a/tools/gnome-session-selector.c
+++ b/tools/gnome-session-selector.c
@@ -104,15 +104,15 @@ is_valid_session_name (const char *name)
if (user_tried_dot && user_tried_slash) {
warning_text = g_strdup_printf ("%s\n<small><b>Note:</b> <i>%s</i></small>",
info_text,
- _("Session names are not allowed to start with ‘.’ or contain ‘/’ characters"));
+ _("Session names are not allowed to start with “.” or contain “/” characters"));
} else if (user_tried_dot) {
warning_text = g_strdup_printf ("%s\n<small><b>Note:</b> <i>%s</i></small>",
info_text,
- _("Session names are not allowed to start with ‘.’"));
+ _("Session names are not allowed to start with “.”"));
} else if (user_tried_slash) {
warning_text = g_strdup_printf ("%s\n<small><b>Note:</b> <i>%s</i></small>",
info_text,
- _("Session names are not allowed to contain ‘/’ characters"));
+ _("Session names are not allowed to contain “/” characters"));
}
gtk_tree_model_get_iter_first (GTK_TREE_MODEL (store), &iter);
@@ -120,7 +120,7 @@ is_valid_session_name (const char *name)
gtk_tree_model_get (GTK_TREE_MODEL (store), &iter, 0, &n, -1);
if (strcmp (n, name) == 0) {
char *message;
- message = g_strdup_printf (_("A session named ‘%s’ already exists"), name);
+ message = g_strdup_printf (_("A session named “%s” already exists"), name);
warning_text = g_strdup_printf ("%s\n<small><b>Note:</b> <i>%s</i></small>", info_text, message);
g_free (message);
g_free (n);