From bc365c9b4eb901263c7592f14c953419c0258631 Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Fri, 25 May 2018 16:59:30 +0200 Subject: [PATCH] =?UTF-8?q?gio-tool:=20Use=20"=E2=80=A6"=20consistently?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "gio help COMMAND" shows some arguments with "..." and some with "…", which looks weird, e.g.: $ gio help mount gio mount [OPTION…] [LOCATION...] Let's use "…" consitently. --- gio/gio-tool-cat.c | 2 +- gio/gio-tool-copy.c | 2 +- gio/gio-tool-info.c | 2 +- gio/gio-tool-list.c | 2 +- gio/gio-tool-mkdir.c | 2 +- gio/gio-tool-monitor.c | 2 +- gio/gio-tool-mount.c | 2 +- gio/gio-tool-move.c | 2 +- gio/gio-tool-open.c | 2 +- gio/gio-tool-remove.c | 2 +- gio/gio-tool-set.c | 2 +- gio/gio-tool-trash.c | 2 +- gio/gio-tool-tree.c | 2 +- gio/gio-tool.c | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/gio/gio-tool-cat.c b/gio/gio-tool-cat.c index 394748815..66841dd3e 100644 --- a/gio/gio-tool-cat.c +++ b/gio/gio-tool-cat.c @@ -130,7 +130,7 @@ handle_cat (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio cat"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("%s...", _("LOCATION")); + param = g_strdup_printf ("%s…", _("LOCATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-copy.c b/gio/gio-tool-copy.c index c6a9b6b2d..4cc4a9d96 100644 --- a/gio/gio-tool-copy.c +++ b/gio/gio-tool-copy.c @@ -95,7 +95,7 @@ handle_copy (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio copy"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("%s... %s", _("SOURCE"), _("DESTINATION")); + param = g_strdup_printf ("%s… %s", _("SOURCE"), _("DESTINATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-info.c b/gio/gio-tool-info.c index c446d60e8..d6fc6b46c 100644 --- a/gio/gio-tool-info.c +++ b/gio/gio-tool-info.c @@ -279,7 +279,7 @@ handle_info (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio info"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("%s...", _("LOCATION")); + param = g_strdup_printf ("%s…", _("LOCATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-list.c b/gio/gio-tool-list.c index 202d79978..d1501b8e0 100644 --- a/gio/gio-tool-list.c +++ b/gio/gio-tool-list.c @@ -162,7 +162,7 @@ handle_list (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio list"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("[%s...]", _("LOCATION")); + param = g_strdup_printf ("[%s…]", _("LOCATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-mkdir.c b/gio/gio-tool-mkdir.c index 3d7b50a02..7900704c9 100644 --- a/gio/gio-tool-mkdir.c +++ b/gio/gio-tool-mkdir.c @@ -45,7 +45,7 @@ handle_mkdir (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio mkdir"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("%s...", _("LOCATION")); + param = g_strdup_printf ("%s…", _("LOCATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-monitor.c b/gio/gio-tool-monitor.c index d6de7a2b0..f2ffb3387 100644 --- a/gio/gio-tool-monitor.c +++ b/gio/gio-tool-monitor.c @@ -200,7 +200,7 @@ handle_monitor (int argc, gchar *argv[], gboolean do_help) g_set_prgname ("gio monitor"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("[%s...]", _("LOCATION")); + param = g_strdup_printf ("%s…", _("LOCATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-mount.c b/gio/gio-tool-mount.c index 9522713e9..fab32694c 100644 --- a/gio/gio-tool-mount.c +++ b/gio/gio-tool-mount.c @@ -1138,7 +1138,7 @@ handle_mount (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio mount"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("[%s...]", _("LOCATION")); + param = g_strdup_printf ("[%s…]", _("LOCATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-move.c b/gio/gio-tool-move.c index 97e11d26e..89c1ed5a5 100644 --- a/gio/gio-tool-move.c +++ b/gio/gio-tool-move.c @@ -91,7 +91,7 @@ handle_move (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio move"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("%s... %s", _("SOURCE"), _("DESTINATION")); + param = g_strdup_printf ("%s… %s", _("SOURCE"), _("DESTINATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-open.c b/gio/gio-tool-open.c index f4a164227..73863c7c5 100644 --- a/gio/gio-tool-open.c +++ b/gio/gio-tool-open.c @@ -110,7 +110,7 @@ handle_open (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio open"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("%s...", _("LOCATION")); + param = g_strdup_printf ("%s…", _("LOCATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-remove.c b/gio/gio-tool-remove.c index bf3a0fac6..8748b4629 100644 --- a/gio/gio-tool-remove.c +++ b/gio/gio-tool-remove.c @@ -45,7 +45,7 @@ handle_remove (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio remove"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("%s...", _("LOCATION")); + param = g_strdup_printf ("%s…", _("LOCATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-set.c b/gio/gio-tool-set.c index acb471aca..ab3ac1544 100644 --- a/gio/gio-tool-set.c +++ b/gio/gio-tool-set.c @@ -86,7 +86,7 @@ handle_set (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio set"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("%s %s %s...", _("LOCATION"), _("ATTRIBUTE"), _("VALUE")); + param = g_strdup_printf ("%s %s %s…", _("LOCATION"), _("ATTRIBUTE"), _("VALUE")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-trash.c b/gio/gio-tool-trash.c index 7f30f2dd4..aa4d8c3b3 100644 --- a/gio/gio-tool-trash.c +++ b/gio/gio-tool-trash.c @@ -78,7 +78,7 @@ handle_trash (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio trash"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("[%s...]", _("LOCATION")); + param = g_strdup_printf ("[%s…]", _("LOCATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool-tree.c b/gio/gio-tool-tree.c index 8a68c3d18..e63752edb 100644 --- a/gio/gio-tool-tree.c +++ b/gio/gio-tool-tree.c @@ -236,7 +236,7 @@ handle_tree (int argc, char *argv[], gboolean do_help) g_set_prgname ("gio tree"); /* Translators: commandline placeholder */ - param = g_strdup_printf ("[%s...]", _("LOCATION")); + param = g_strdup_printf ("[%s…]", _("LOCATION")); context = g_option_context_new (param); g_free (param); g_option_context_set_help_enabled (context, FALSE); diff --git a/gio/gio-tool.c b/gio/gio-tool.c index b4a863b45..18200014c 100644 --- a/gio/gio-tool.c +++ b/gio/gio-tool.c @@ -221,7 +221,7 @@ static void usage (void) { g_printerr ("%s\n", _("Usage:")); - g_printerr (" gio %s %s\n", _("COMMAND"), _("[ARGS...]")); + g_printerr (" gio %s %s\n", _("COMMAND"), _("[ARGS…]")); g_printerr ("\n"); g_printerr ("%s\n", _("Commands:")); g_printerr (" help %s\n", _("Print help"));