[Xfce4-commits] <postler:master> Change version output so it can be localized

Christian Dywan noreply at xfce.org
Fri Mar 18 22:10:01 CET 2011


Updating branch refs/heads/master
         to 719be1d566604c37da3a6ee6ae3a3fdd62e93f2d (commit)
       from bd368c5598d332595fb048adb97efde1b47e6311 (commit)

commit 719be1d566604c37da3a6ee6ae3a3fdd62e93f2d
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Mar 18 22:01:59 2011 +0100

    Change version output so it can be localized

 postler/postler-reader.vala |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/postler/postler-reader.vala b/postler/postler-reader.vala
index 7619557..c6ffe00 100644
--- a/postler/postler-reader.vala
+++ b/postler/postler-reader.vala
@@ -38,7 +38,7 @@ public class Postler.Reader {
           + _("[&from=FROM][&to=TO][&cc=COPY][&attach=ATTACHMENT][&part=PART]"));
         context.set_help_enabled (true);
         context.add_main_entries (options, null);
-        context.add_group (Gtk.get_option_group (true));
+        context.add_group (Gtk.get_option_group (false));
         Environment.set_application_name (_("Postler"));
         try {
 	    context.parse (ref args);
@@ -48,10 +48,9 @@ public class Postler.Reader {
 	}
 
         if (version) {
-            stdout.printf (_("%s %s\n\n"
-              + "Please report comments, suggestions and bugs to:\n"
-              + "\t%s\n"),
+            stdout.printf (_("%s %s\n\n%s\n\t%s\n"),
                 Config.PACKAGE_NAME, Config.PACKAGE_VERSION,
+                _("Please report comments, suggestions and bugs to:"),
                 Config.PACKAGE_BUGREPORT);
             return 0;
         }



More information about the Xfce4-commits mailing list