Commit 539b8a2e authored by Michael Catanzaro's avatar Michael Catanzaro

Fix translations of score at end of game

https://bugzilla.gnome.org/show_bug.cgi?id=763963
parent 7ac87297
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment