[gnome-nibbles] Fix translations of score at end of game
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Fix translations of score at end of game
- Date: Mon, 21 Mar 2016 03:38:35 +0000 (UTC)
commit 539b8a2e7936ead9c395f1b18d9aca71a4b89940
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Mar 20 22:37:36 2016 -0500
Fix translations of score at end of game
https://bugzilla.gnome.org/show_bug.cgi?id=763963
src/gnome-nibbles.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index f4bd2af..0a3c368 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -951,7 +951,8 @@ public class Nibbles : Gtk.Application
msg_label.get_style_context ().add_class ("menu-title");
msg_label.show ();
- var score_string = ngettext ("%d Point".printf (score), "%d Points".printf (score), score);
+ var score_string = ngettext ("%d Point", "%d Points", score);
+ score_string = score_string.printf (score);
var score_label = new Gtk.Label (@"<b>$(score_string)</b>");
score_label.set_use_markup (true);
score_label.halign = Gtk.Align.CENTER;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]