[lightsoff/wip/gtkview] Translatable commandline argument descriptions



commit c871fbe1ce0d51d06a297338e0e0dfd5e68d70a9
Author: Robert Roth <robert roth off gmail com>
Date:   Thu Jul 19 23:12:45 2018 +0300

    Translatable commandline argument descriptions

 src/lightsoff.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/lightsoff.vala b/src/lightsoff.vala
index aa14cc1..7955bd8 100644
--- a/src/lightsoff.vala
+++ b/src/lightsoff.vala
@@ -21,10 +21,10 @@ public class LightsOff : Gtk.Application
 
     private const GLib.OptionEntry[] options = {
         // --version
-        { "version", 0, 0, OptionArg.NONE, ref version, "Display version number", null },
+        { "version", 0, 0, OptionArg.NONE, ref version, _("Display version number"), null },
 
         // --gtk-mode
-        { "gtk-mode", 0, 0, OptionArg.NONE, ref gtk, "Use gtk mode, no clutter", null },
+        { "gtk-mode", 0, 0, OptionArg.NONE, ref gtk, _("Use native graphics"), null },
 
         // list terminator
         { null }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]