From 276e53039400699c7256e0a2eb9e01706d5997c1 Mon Sep 17 00:00:00 2001
From: Robert Roth <robert.roth.off@gmail.com>
Date: Sat, 26 Dec 2015 22:24:35 +0200
Subject: [PATCH 3/3] Fixed the congrat message translation template
(bgo#751583)
https://bugzilla.gnome.org/show_bug.cgi?id=751583
---
src/application.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/application.vala b/src/application.vala
index 074c1ad..b6de35c 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -160,7 +160,7 @@ public class Application : Gtk.Application
});
_game.target_value_reached.connect ((s, v) => {
if (_settings.get_boolean ("do-congrat")) {
- string message = @_("You have obtained the $v tile");
+ string message = _("You have obtained the %u tile".printf (v));
_congrats_message.set_text (message);
_congrats_dialog.present ();
_settings.set_boolean ("do-congrat", false);
--
2.7.0