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 655569 - plural forms needed
plural forms needed
Status: RESOLVED FIXED
Product: gnome-disk-utility
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-disk-utility-maint
gnome-disk-utility-maint
Depends on:
Blocks:
 
 
Reported: 2011-07-29 10:53 UTC by Peter Mráz
Modified: 2012-02-27 16:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Mráz 2011-07-29 10:53:32 UTC
Need plural forms for theese strings

#. Translators: Used in the treeview for the pretty/interpreted value of an attribute
#. * for a time-based unit that exceed one year
#: ../src/gdu-gtk/gdu-ata-smart-dialog.c:1585
#, c-format
msgid "%.1f years"

#. Translators: Used in the treeview for the pretty/interpreted value of an attribute
#. * for a time-based unit that exceed one day
#: ../src/gdu-gtk/gdu-ata-smart-dialog.c:1589
#, c-format
msgid "%.1f days"

#. Translators: Used in the treeview for the pretty/interpreted value of an attribute
#. * for a time-based unit that exceed one hour
#: ../src/gdu-gtk/gdu-ata-smart-dialog.c:1593
#, c-format
msgid "%.1f hours"

#. Translators: Used in the treeview for the pretty/interpreted value of an attribute
#. * for a time-based unit that exceed one minute
#: ../src/gdu-gtk/gdu-ata-smart-dialog.c:1597
#, c-format
msgid "%.1f minutes"

#. Translators: Used in the treeview for the pretty/interpreted value of an attribute
#. * for a time-based unit that exceed one second
#: ../src/gdu-gtk/gdu-ata-smart-dialog.c:1601
#, c-format
msgid "%.1f seconds"

#. Translators: Used in the treeview for the pretty/interpreted value of an attribute
#. * for a time-based unit that is counted in milliseconds
#: ../src/gdu-gtk/gdu-ata-smart-dialog.c:1607
#, c-format
msgid "%s msec"
Comment 1 F Wolff 2011-08-31 08:48:59 UTC
Peter, if these are displayed as fractions like 0.123 would you still need plural forms for those strings?
Comment 2 Peter Mráz 2011-08-31 17:44:53 UTC
sorry, no plural forms needed
Comment 3 Peter Mráz 2011-08-31 17:55:31 UTC
if number is 0.xxx no plural forms needed
but if first digit is >0 we have diferent form

Traslation comment needed
Comment 4 F Wolff 2011-09-01 11:03:25 UTC
Ok, hopefully a project developer can confirm the expected range for the values. It sounds as if two different gettext calls with the same text should be done with msgctxt to distinguish between values smaller than 1 and values greater or equal to one.
Comment 5 Ihar Hrachyshka 2012-02-26 17:25:42 UTC
This problem is still valid. Ping.
Comment 6 David Zeuthen (not reading bugmail) 2012-02-27 16:26:59 UTC
This was recently fixed in git as part of bug 670840.