[gnome-sudoku] Mark some strings to be translatable



commit 8297ad2df015e78339fc796decadf4132b1ddfc8
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Sun Jun 1 16:59:08 2014 +0300

    Mark some strings to be translatable

 src/gnome-sudoku.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-sudoku.vala b/src/gnome-sudoku.vala
index 7ed8c59..e20cdf9 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -207,10 +207,10 @@ public class Sudoku : Gtk.Application
 
             saver.add_game_to_finished (game, true);
 
-            var dialog = new MessageDialog(window, DialogFlags.DESTROY_WITH_PARENT, MessageType.INFO, 
ButtonsType.NONE, "Well done, you completed the puzzle in %f seconds", time);
+            var dialog = new MessageDialog(window, DialogFlags.DESTROY_WITH_PARENT, MessageType.INFO, 
ButtonsType.NONE, _("Well done, you completed the puzzle in %f seconds"), time);
 
-            dialog.add_button ("Same difficulty again", 0);
-            dialog.add_button ("New difficulty", 1);
+            dialog.add_button (_("Same difficulty again"), 0);
+            dialog.add_button (_("New difficulty"), 1);
 
             dialog.response.connect ((response_id) => {
                 switch (response_id)


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