Commit ba35f77b authored by Michael Catanzaro's avatar Michael Catanzaro

Allow translating worm name in scoreboard

https://bugzilla.gnome.org/show_bug.cgi?id=763906
parent dd4c8793
......@@ -1071,7 +1071,10 @@ private class Scoreboard : Gtk.Box
var color = Pango.Color ();
color.parse (color_name);
var box = new PlayerScoreBox (@"Worm $(worm.id + 1)", color, worm.score, worm.lives, life_pixbuf);
/* FIXME: Consider changing this to "Worm %d"
* It's set to "Player %d" for now to avoid a string change for 3.20.
*/
var box = new PlayerScoreBox (_("Player %d").printf (worm.id + 1), color, worm.score, worm.lives, life_pixbuf);
boxes.set (box, worm);
add (box);
}
......
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