After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 677174 - plural form needed for "points" string
plural form needed for "points" string
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: swell-foop
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-31 09:30 UTC by Peter Mráz
Modified: 2012-05-31 21:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Mráz 2012-05-31 09:30:56 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.
Comment 1 André Klapper 2012-05-31 13:14:47 UTC
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"));