[gnome-sudoku] Mark some strings to be translatable
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku] Mark some strings to be translatable
- Date: Tue, 3 Jun 2014 11:53:54 +0000 (UTC)
commit 8c0c2ebf5935f4225bcc7c0123535625e65e05f4
Author: Yosef Or Boczko <yoseforb src gnome org>
Date: Tue Jun 3 14:52:54 2014 +0300
Mark some strings to be translatable
src/gnome-sudoku.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-sudoku.vala b/src/gnome-sudoku.vala
index f21b98a..466c0a4 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -121,7 +121,7 @@ public class Sudoku : Gtk.Application
controls_box = (Box) builder.get_object ("controls_box");
var new_button = new Gtk.Button ();
- var new_label = new Gtk.Label.with_mnemonic ("_New Puzzle");
+ var new_label = new Gtk.Label.with_mnemonic (_("_New Puzzle"));
new_label.margin = 10;
new_button.add (new_label);
new_button.valign = Gtk.Align.CENTER;
@@ -132,7 +132,7 @@ public class Sudoku : Gtk.Application
controls_box.pack_end (new_button, false, false, 0);
var restart_button = new Gtk.Button ();
- var restart_label = new Gtk.Label.with_mnemonic ("_Clear Board");
+ var restart_label = new Gtk.Label.with_mnemonic (_("_Clear Board"));
restart_label.margin = 10;
restart_button.add (restart_label);
restart_button.valign = Gtk.Align.CENTER;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]