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 476061 - Missing plural forms for some messages from Utils.cs
Missing plural forms for some messages from Utils.cs
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-09-12 01:01 UTC by Goran Rakic
Modified: 2009-02-16 23:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Adds plural form support to the mentioned gettext calls (2.04 KB, patch)
2009-02-16 20:10 UTC, Benjamin Podszun
committed Details | Review

Description Goran Rakic 2007-09-12 01:01:30 UTC
Please describe the problem:
#: ../Tomboy/Utils.cs:163
#, csharp-format
msgid "{0} days ago, {1}"

In Serbian (and many others) we need to use plural forms for this to translate it as "Пре 21 дан", but also as "Пре 9 дана". Same apply to other strings that includes "days" from Utils.cs on lines 163, 165 and 178.

Fix is trivial, but it need to applied only after code/string freeze break.

Steps to reproduce:



Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Boyd Timothy 2008-02-26 19:15:22 UTC
Setting the default assignee and QA Contact to "tomboy-maint@gnome.bugs".
Comment 2 Goran Rakic 2008-07-08 17:21:45 UTC
Updated version as bug is present in 2.22 and trunk.
New line numbers are: Utils.cs:177, 179, 190, 192.
Comment 3 André Klapper 2008-07-15 10:08:29 UTC
Boyd, can we PLEASE fix this for 2.24? 

See http://live.gnome.org/TranslationProject/DevGuidelines/Plurals for how to use proper ngettext support.
Comment 4 Benjamin Podszun 2009-02-16 20:10:44 UTC
Created attachment 128856 [details] [review]
Adds plural form support to the mentioned gettext calls

Trivial addition, but should allow translators to finally work with these strings. A quick grep didn't reveal other missing plural forms but feel free to file more bugs if I missed something..
Comment 5 Sandy Armstrong 2009-02-16 23:01:22 UTC
Committed in r2350. Thanks Benjamin!