[gnome-2048] Fix a non-working translation.



commit fe4cf12379edc8b7b0a99f2e105b63182d826678
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Jan 25 09:49:20 2019 +0100

    Fix a non-working translation.

 src/application.vala | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/application.vala b/src/application.vala
index 89c289d..0dd76dd 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -440,7 +440,7 @@ public class Application : Gtk.Application
         _congrats_message = (Label) builder.get_object ("messagelabel");
     }
 
-    private inline void target_value_reached_cb (uint v) // the way the message string is constructed, ā€œvā€ 
appears in translations, do not change
+    private inline void target_value_reached_cb (uint target_value)
     {
         if (_settings.get_boolean ("do-congrat"))
         {
@@ -450,8 +450,8 @@ public class Application : Gtk.Application
                 _should_create_congrats_dialog = false;
             }
 
-            /* Translators: text of the dialog that appears when the user obtains the first 2048 tile in the 
game */
-            string message = _("You have obtained the %u tile".printf (v));
+            /* Translators: text of the dialog that appears when the user obtains the first 2048 tile in the 
game; the %u is replaced by the number the user wanted to reach (usually, 2048) */
+            string message = _("You have obtained the %u tile for the first time!").printf (target_value);
             _congrats_message.set_text (message);
             _congrats_dialog.present ();
             _settings.set_boolean ("do-congrat", false);


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