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 685031 - Plural forms
Plural forms
Status: RESOLVED FIXED
Product: gnome-disk-utility
Classification: Core
Component: general
unspecified
Other All
: Normal minor
: ---
Assigned To: gnome-disk-utility-maint
gnome-disk-utility-maint
: 687585 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-09-28 10:21 UTC by Marek Černocký
Modified: 2013-03-06 14:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marek Černocký 2012-09-28 10:21:36 UTC
Messages

"Error pre-reading %lld bytes from offset %lld"
"Error writing %lld bytes at offset %lld: %m"
"Expected to write %lld bytes, only wrote %lld: %m"
"Error reading %lld bytes from offset %lld"

require to use ngettext instead gettext due "byte" plural forms. Some languages has more complicated rules then English "one or more" and they change word form even for high numbers.
Comment 2 David Zeuthen (not reading bugmail) 2012-11-17 02:16:24 UTC
Fixed, thanks, see

 http://git.gnome.org/browse/gnome-disk-utility/commit/?id=51d2376eac46175104ee095f416f3c0332c1a78a

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 3 David Zeuthen (not reading bugmail) 2012-11-17 02:16:57 UTC
*** Bug 687585 has been marked as a duplicate of this bug. ***
Comment 4 Pavol Klačanský 2013-03-06 14:37:11 UTC
first one is not fixed, still word "bytes" is there, we can have multiple forms depending on number of bytes