[Xfce4-commits] <terminal:nick/man> Add comments for the translatable parameters.

Nick Schermer noreply at xfce.org
Mon Dec 14 13:56:01 CET 2009


Updating branch refs/heads/nick/man
         to 76df72d2d1b7cb0c495288abe623082a54989abf (commit)
       from 59725fc950b9a93379e1794e7e34c93a35b580e8 (commit)

commit 76df72d2d1b7cb0c495288abe623082a54989abf
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Dec 14 13:54:11 2009 +0100

    Add comments for the translatable parameters.

 terminal/main.c |   31 +++++++++++++++++++++++++------
 1 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/terminal/main.c b/terminal/main.c
index 12e6e2a..5b65d79 100644
--- a/terminal/main.c
+++ b/terminal/main.c
@@ -50,7 +50,11 @@ usage (void)
   g_print ("%s:\n"
            "  -h, --help; -V, --version; --disable-server;\n"
            "  --default-display=%s; --default-working-directory=%s\n\n",
-           _("General Options"), _("display"), _("directory"));
+           _("General Options"),
+           /* parameter of --default-display */
+           _("display"),
+           /* parameter of --default-working-directory */
+           _("directory"));
 
   g_print ("%s:\n"
            "  --tab; --window\n\n",
@@ -59,17 +63,32 @@ usage (void)
   g_print ("%s:\n"
            "  -x, --execute; -e, --command=%s; -T, --title=%s;\n"
            "  --working-directory=%s; -H, --hold\n\n",
-           _("Tab Options"), _("command"), _("title"), _("directory"));
+           _("Tab Options"),
+           /* parameter of --command */
+           _("command"),
+           /* parameter of --title */
+           _("title"),
+           /* parameter of --working-directory */
+           _("directory"));
 
   g_print ("%s:\n"
            "  --display=%s; --geometry=%s; --role=%s;\n"
            "  --startup-id=%s; -I, --icon=%s; --fullscreen; --maximize;\n"
            "  --show-menubar, --hide-menubar; --show-borders, --hide-borders;\n"
            "  --show-toolbars, --hide-toolbars\n\n",
-           _("Window Options"), _("display"), _("geometry"), _("role"),
-           _("string"), _("icon"));
-
-  g_print (_("See for full explanation of the options the %s man page."),
+           _("Window Options"),
+           /* parameter of --display */
+           _("display"),
+           /* parameter of --geometry */
+           _("geometry"),
+           /* parameter of --role */
+           _("role"),
+           /* parameter of --startup-id */
+           _("string"),
+           /* parameter of --icon */
+           _("icon"));
+
+  g_print (_("See the %s man page for full explanation of the options above."),
            PACKAGE_NAME);
 
   g_print ("\n\n");



More information about the Xfce4-commits mailing list