mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gio-tool: Use "…" consistently
"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.
This commit is contained in:
parent
66187c4c3e
commit
bc365c9b4e
@ -130,7 +130,7 @@ handle_cat (int argc, char *argv[], gboolean do_help)
|
|||||||
|
|
||||||
g_set_prgname ("gio cat");
|
g_set_prgname ("gio cat");
|
||||||
/* Translators: commandline placeholder */
|
/* Translators: commandline placeholder */
|
||||||
param = g_strdup_printf ("%s...", _("LOCATION"));
|
param = g_strdup_printf ("%s…", _("LOCATION"));
|
||||||
context = g_option_context_new (param);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -95,7 +95,7 @@ handle_copy (int argc, char *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio copy");
|
g_set_prgname ("gio copy");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* 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);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -279,7 +279,7 @@ handle_info (int argc, char *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio info");
|
g_set_prgname ("gio info");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* Translators: commandline placeholder */
|
||||||
param = g_strdup_printf ("%s...", _("LOCATION"));
|
param = g_strdup_printf ("%s…", _("LOCATION"));
|
||||||
context = g_option_context_new (param);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -162,7 +162,7 @@ handle_list (int argc, char *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio list");
|
g_set_prgname ("gio list");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* Translators: commandline placeholder */
|
||||||
param = g_strdup_printf ("[%s...]", _("LOCATION"));
|
param = g_strdup_printf ("[%s…]", _("LOCATION"));
|
||||||
context = g_option_context_new (param);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -45,7 +45,7 @@ handle_mkdir (int argc, char *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio mkdir");
|
g_set_prgname ("gio mkdir");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* Translators: commandline placeholder */
|
||||||
param = g_strdup_printf ("%s...", _("LOCATION"));
|
param = g_strdup_printf ("%s…", _("LOCATION"));
|
||||||
context = g_option_context_new (param);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -200,7 +200,7 @@ handle_monitor (int argc, gchar *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio monitor");
|
g_set_prgname ("gio monitor");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* Translators: commandline placeholder */
|
||||||
param = g_strdup_printf ("[%s...]", _("LOCATION"));
|
param = g_strdup_printf ("%s…", _("LOCATION"));
|
||||||
context = g_option_context_new (param);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -1138,7 +1138,7 @@ handle_mount (int argc, char *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio mount");
|
g_set_prgname ("gio mount");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* Translators: commandline placeholder */
|
||||||
param = g_strdup_printf ("[%s...]", _("LOCATION"));
|
param = g_strdup_printf ("[%s…]", _("LOCATION"));
|
||||||
context = g_option_context_new (param);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -91,7 +91,7 @@ handle_move (int argc, char *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio move");
|
g_set_prgname ("gio move");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* 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);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -110,7 +110,7 @@ handle_open (int argc, char *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio open");
|
g_set_prgname ("gio open");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* Translators: commandline placeholder */
|
||||||
param = g_strdup_printf ("%s...", _("LOCATION"));
|
param = g_strdup_printf ("%s…", _("LOCATION"));
|
||||||
context = g_option_context_new (param);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -45,7 +45,7 @@ handle_remove (int argc, char *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio remove");
|
g_set_prgname ("gio remove");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* Translators: commandline placeholder */
|
||||||
param = g_strdup_printf ("%s...", _("LOCATION"));
|
param = g_strdup_printf ("%s…", _("LOCATION"));
|
||||||
context = g_option_context_new (param);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -86,7 +86,7 @@ handle_set (int argc, char *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio set");
|
g_set_prgname ("gio set");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* 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);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -78,7 +78,7 @@ handle_trash (int argc, char *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio trash");
|
g_set_prgname ("gio trash");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* Translators: commandline placeholder */
|
||||||
param = g_strdup_printf ("[%s...]", _("LOCATION"));
|
param = g_strdup_printf ("[%s…]", _("LOCATION"));
|
||||||
context = g_option_context_new (param);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -236,7 +236,7 @@ handle_tree (int argc, char *argv[], gboolean do_help)
|
|||||||
g_set_prgname ("gio tree");
|
g_set_prgname ("gio tree");
|
||||||
|
|
||||||
/* Translators: commandline placeholder */
|
/* Translators: commandline placeholder */
|
||||||
param = g_strdup_printf ("[%s...]", _("LOCATION"));
|
param = g_strdup_printf ("[%s…]", _("LOCATION"));
|
||||||
context = g_option_context_new (param);
|
context = g_option_context_new (param);
|
||||||
g_free (param);
|
g_free (param);
|
||||||
g_option_context_set_help_enabled (context, FALSE);
|
g_option_context_set_help_enabled (context, FALSE);
|
||||||
|
@ -221,7 +221,7 @@ static void
|
|||||||
usage (void)
|
usage (void)
|
||||||
{
|
{
|
||||||
g_printerr ("%s\n", _("Usage:"));
|
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 ("\n");
|
||||||
g_printerr ("%s\n", _("Commands:"));
|
g_printerr ("%s\n", _("Commands:"));
|
||||||
g_printerr (" help %s\n", _("Print help"));
|
g_printerr (" help %s\n", _("Print help"));
|
||||||
|
Loading…
Reference in New Issue
Block a user