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 597947 - Missing no-c-format marker when string contains %
Missing no-c-format marker when string contains %
Status: RESOLVED FIXED
Product: gnome-video-arcade
Classification: Other
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-video-arcade-maint
gnome-video-arcade-maint
Depends on:
Blocks:
 
 
Reported: 2009-10-09 20:05 UTC by Claude Paroz
Modified: 2009-10-10 15:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add no-c-format special comment (1.20 KB, patch)
2009-10-09 20:05 UTC, Claude Paroz
committed Details | Review

Description Claude Paroz 2009-10-09 20:05:05 UTC
Created attachment 145176 [details] [review]
Add no-c-format special comment

In order for xgettext to mark a string no-c-format when it contains a percent
char (%) that is not a C format specifier, you should add a /*
xgettext:no-c-format */ comment before the string.

This bug was triggered in the French translation (not yet committed) where
msgfmt -vc yield an error because the % is placed just before the end point.
Comment 1 Matthew Barnes 2009-10-10 15:46:19 UTC
Thanks for the patch!  Committed in:
http://git.gnome.org/cgit/gnome-video-arcade/commit/?id=a8c707039a8747b1d89e2af4dd544854db65c821