[gnome-calculator/fix-cli-string: 10/10] gnome-calculator.vala: Use proper placeholder replacement in Vala



commit f5fbe2f579dca80d02f08c8e1b5f3ce0a02dd82c
Author: Rafael Fontenelle <rafaelff gnome org>
Date:   Mon Dec 30 17:10:42 2019 -0300

    gnome-calculator.vala: Use proper placeholder replacement in Vala

 src/gnome-calculator.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-calculator.vala b/src/gnome-calculator.vala
index 15fd90d5..90f12ffd 100644
--- a/src/gnome-calculator.vala
+++ b/src/gnome-calculator.vala
@@ -21,7 +21,7 @@ public class Calculator : Gtk.Application
     private static string mode_string = null;
 
     private const OptionEntry[] option_entries = {
-        { "mode", 'm', 0, OptionArg.STRING, ref mode_string, N_("Start in given mode (%s)".format("basic, 
advanced, financial, programming, keyboard")), "mode" },
+        { "mode", 'm', 0, OptionArg.STRING, ref mode_string, N_("Start in given mode (%s)", "basic, 
advanced, financial, programming, keyboard"), "mode" },
         { "solve", 's', 0, OptionArg.STRING, null, N_("Solve given equation"), "equation" },
         { "equation", 'e', 0, OptionArg.STRING, ref equation_string, N_("Start with given equation"), 
"equation"},
         { "version", 'v', 0, OptionArg.NONE, null, N_("Show release version"), null },


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