GNOME Bugzilla – Bug 677174
plural form needed for "points" string
Last modified: 2012-05-31 21:35:28 UTC
#: ../swell-foop/src/game-view.vala:338 #| msgid "No points" msgid "points" if here can be 0,1,2-5, 5 and more points we need plural forms.
More information (Peter, please always provide this link to explain the problem): https://live.gnome.org/TranslationProject/DevGuidelines/Plurals Urgh. Doesn't Vala allow to use a placeholder, like %s in C for points.to_string? Splitting sentences like this is really really bad. label.set_markup ("<b>" + _("Game Over!") + "</b>\n" + points.to_string () + _ ("points"));
Vala sure does: http://git.gnome.org/browse/gnome-games/commit/?id=97e011b0224ba60bea592b32624808154045b56d