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 745203 - Plural form for string "%d users"
Plural form for string "%d users"
Status: RESOLVED FIXED
Product: polari
Classification: Applications
Component: general
3.15.x
Other Linux
: Normal normal
: ---
Assigned To: Polari maintainers
Polari maintainers
Depends on:
Blocks:
 
 
Reported: 2015-02-26 11:27 UTC by Dušan
Modified: 2015-02-26 11:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mainWindow: Use ngettext for plural string (1.28 KB, patch)
2015-02-26 11:53 UTC, Florian Müllner
committed Details | Review

Description Dušan 2015-02-26 11:27:07 UTC
For this string should be used plural form.


#: ../src/mainWindow.js:304
#, javascript-format
msgid "%d users"



wiki link for devs:

http://live.gnome.org/TranslationProject/DevGuidelines/Plurals
Comment 1 Florian Müllner 2015-02-26 11:53:01 UTC
Whoops, sorry!

The following fix has been pushed:
fc3f329 mainWindow: Use ngettext for plural string
Comment 2 Florian Müllner 2015-02-26 11:53:05 UTC
Created attachment 297962 [details] [review]
mainWindow: Use ngettext for plural string

Commit afa37a11c2f0ed added a more descriptive accessible name for the
user-list button, but marked it incorrectly for translation - use the
correct gettext function to allow correct translations according to the
locale's plural rules.