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



commit fdc1ce7fac8f8122bc5f9f2f3b969fe5a2412814
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 c457fb63..200ea7bb 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]