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 593718 - gettext does not support embedded macros
gettext does not support embedded macros
Status: RESOLVED FIXED
Product: gnome-disk-utility
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-disk-utility-maint
Depends on:
Blocks:
 
 
Reported: 2009-08-31 20:52 UTC by Claude Paroz
Modified: 2009-10-05 16:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove macro from translatable string (1.03 KB, patch)
2009-09-19 11:51 UTC, Claude Paroz
none Details | Review

Description Claude Paroz 2009-08-31 20:52:56 UTC
In src/gdu-gtk/gdu-ata-smart-dialog.c, the G_GUINT64_FORMAT macro is embedded inside a gettext call:

ret = g_strdup_printf (_("%" G_GUINT64_FORMAT " msec"), pretty_value);

This is not supported. xgettext only extracts the "%". You should first convert pretty_value as a string, then include it in g_strdup_printf with a %s.
Comment 1 Claude Paroz 2009-09-19 11:51:23 UTC
Created attachment 143490 [details] [review]
Remove macro from translatable string