[gnome-games] gnomine: Mark score labels as translatable



commit df8e4e43c72cd05ff744cc29d658acf8ba651da4
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Sep 28 20:25:48 2012 +1200

    gnomine: Mark score labels as translatable

 gnomine/src/gnomine.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomine/src/gnomine.vala b/gnomine/src/gnomine.vala
index f839181..29123c3 100644
--- a/gnomine/src/gnomine.vala
+++ b/gnomine/src/gnomine.vala
@@ -1021,7 +1021,7 @@ public class ScoreDialog : Gtk.Dialog
 
         if (!have_size_entry)
         {
-            var label = "%u à %u, %u mines".printf (entry.width, entry.height, entry.n_mines);
+            var label = ngettext ("%u à %u, %u mine", "%u à %u, %u mines", entry.n_mines).printf (entry.width, entry.height, entry.n_mines);
 
             size_model.append (out iter);
             size_model.set (iter, 0, label, 1, entry.width, 2, entry.height, 3, entry.n_mines);



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