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 341474 - use gnome_vfs_format_file_size_for_display
use gnome_vfs_format_file_size_for_display
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks: 236276
 
 
Reported: 2006-05-11 22:11 UTC by Benoît Dejean
Modified: 2006-09-29 06:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome_vfs_format_file_size_for_display is used. (3.70 KB, patch)
2006-09-27 11:12 UTC, ushveen kaur
committed Details | Review

Description Benoît Dejean 2006-05-11 22:11:32 UTC
#: ../composer/e-msg-composer-attachment-bar.c:105
#: ../widgets/misc/e-attachment-bar.c:107
#, c-format
msgid "%.0fK"
msgstr "%.0fk"

#: ../composer/e-msg-composer-attachment-bar.c:108
#: ../widgets/misc/e-attachment-bar.c:110
#, c-format
msgid "%.0fM"
msgstr "%.0fM"

#: ../composer/e-msg-composer-attachment-bar.c:111
#: ../widgets/misc/e-attachment-bar.c:113
#, c-format
msgid "%.0fG"
msgstr "%.0fG"

i think it would be possible there to use gnome_vfs_format_file_size_for_display to avoid re-translating again these kind of strings.
Comment 1 Benoît Dejean 2006-05-11 22:15:55 UTC
same kind of problem : don't translate month/day names, use g_date_strftime instead. thanks.
Comment 2 ushveen kaur 2006-09-27 11:12:21 UTC
Created attachment 73484 [details] [review]
gnome_vfs_format_file_size_for_display is used.

g_date_strftime is used in calendar.
Comment 3 Srinivasa Ragavan 2006-09-29 06:22:50 UTC
Fixed to head.