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 320461 - plural forms in gimppropwidgets.c
plural forms in gimppropwidgets.c
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Internationalisation
git master
Other All
: Normal minor
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-11-02 01:55 UTC by Alexandre Prokoudine
Modified: 2005-11-02 14:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexandre Prokoudine 2005-11-02 01:55:40 UTC
Please describe the problem:
libgimpwidgets/gimppropwidgets.c:1868 contains "This text input field is limited
to %d characters." phrase which be translatable with plural forms.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Sven Neumann 2005-11-02 10:37:24 UTC
This string can never be called with a small number of characters. It doesn't
make sense to use a plural form here. I've added a translator comment to
indicate this fact. Closing as NOTABUG.
Comment 2 Alexandre Prokoudine 2005-11-02 10:45:32 UTC
Sven, e.g. 1000000001 cannot be considered as a small number, but this is a
subject to plural forms as well just because it has "1" in the end :)
Comment 3 Sven Neumann 2005-11-02 12:53:25 UTC
So you suggest that we use ngettext() here, introducing a completely redundant
string for translation?
Comment 4 Alexandre Prokoudine 2005-11-02 13:24:31 UTC
Why redundant? :)

English:

21 character
22 characters
27 characters

Russian

21 simvol
22 simvola
27 simvolov

What exactly am I missing? :)
Comment 5 Sven Neumann 2005-11-02 13:29:33 UTC
It's "21 characters" in english. The singular will be a redundant string but
there doesn't seem to be a way to avoid that. So we will be doing that change then.
Comment 6 Michael Natterer 2005-11-02 14:45:57 UTC
Fixed in CVS:

2005-11-02  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpprocbrowserdialog.c
	* libgimpwidgets/gimppropwidgets.c
	* plug-ins/uri/uri-backend-wget.c: use dngettext() for plural
	forms. Fixes bug #320460, bug #320461 and bug #320462.