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 123863 - Please use ngettext for handling plurals in glimmer
Please use ngettext for handling plurals in glimmer
Status: RESOLVED OBSOLETE
Product: glimmer
Classification: Deprecated
Component: general
HEAD
Other other
: Normal normal
: ---
Assigned To: Jeroen Zwartepoorte
Jeroen Zwartepoorte
Depends on:
Blocks:
 
 
Reported: 2003-10-04 22:36 UTC by Danilo Segan
Modified: 2005-03-29 10:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Danilo Segan 2003-10-04 22:36:25 UTC
(Following paragraphs copied from bug 116236 verbatim)
As mentioned in
http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#plurals,
the common way of handling plurals is broken for many locales. A way to
solve this is by using ngettext instead, as mentioned in that document.

A simple code example of code using ngettext:

  g_printf (ngettext ("Found %d file.", "Found %d files.", nbr_of_files),
nbr_of_files);



This is the relevant message.

#: libglimmerfile/dialogs/glimmer-dialog-replace.c:515
#, c-format
msgid "Found and replaced %d occurences."


This is relevant to both newgtksourceview and HEAD branches.
Comment 1 Danilo Segan 2005-03-28 13:11:23 UTC
Has Glimmer been abandoned (I suppose it has, but if so, we may want to remove
it from translation status pages as well)?  

If it hasn't, then this bug is probably not "OBSOLETE", since this is still
present in:
 
http://cvs.gnome.org/viewcvs/glimmer/libglimmerfile/dialogs/glimmer-dialog-replace.c?rev=1.4&view=markup
Comment 2 Jeroen Zwartepoorte 2005-03-29 10:35:23 UTC
Glimmer has been abondened. Please remove it from the translation status page.
Comment 3 Danilo Segan 2005-03-29 10:38:32 UTC
Thanks, removed.
Comment 4 Christian Rose 2005-03-29 10:51:28 UTC
I've moved the "glimmer" module to the archive section of CVS now as well
("/cvs/archive"). Please let us know if you do not want that.