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 341680 - use ngettext
use ngettext
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
2.14.x
Other Linux
: Normal trivial
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-13 20:14 UTC by Benoît Dejean
Modified: 2006-05-15 18:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
ngettext patch (889 bytes, patch)
2006-05-14 19:37 UTC, Benoît Dejean
committed Details | Review

Description Benoît Dejean 2006-05-13 20:14:04 UTC
Hi, please use ngettext for these msgid.

#: ../gui/gdmcommon.c:706
msgid " seconds"
msgstr " secondes"

#: ../gui/gdmcommon.c:708
msgid " second"
msgstr " seconde"

              if (gdm_timed_delay != 1)
                g_string_append (str, _(" seconds"));
              else
                g_string_append (str, _(" second"));
              break;

Thanks.
Comment 1 Brian Cameron 2006-05-14 18:25:57 UTC
Could you provide a patch or show how the code should look after using ngettext?

Thanks.
Comment 2 Benoît Dejean 2006-05-14 19:37:14 UTC
Created attachment 65454 [details] [review]
ngettext patch
Comment 3 Brian Cameron 2006-05-15 18:52:04 UTC
Patch applied to CVS head.  Let me know if you want me to apply this to the 2.14 branch.  I assume not since this would probably break string freeze.