GNOME Bugzilla – Bug 625083
Gettext can't parse GLib's printf format constants
Last modified: 2010-07-28 19:36:41 UTC
Hi, During my translation, I found the following string: #: ../camel/providers/local/camel-mbox-summary.c:524 #, fuzzy #| msgid "Fatal mail parser error near position %ld in folder %s" msgid "Fatal mail parser error near position %" msgstr "" Why there is only "%" in the string? It might be a typo bug.
We're using a printf format constant for 64-bit integers. The code is: ·_("Fatal mail parser error near position %" G_GINT64_FORMAT " in folder %s") I guess you'll need to file this bug against intltool? https://bugs.launchpad.net/intltool
I reported at intltool: https://bugs.launchpad.net/intltool/+bug/609124
First, intltool said it's not the bug of intltool, because, intltool call gettext for string extraction, so I reported it to gettext, http://savannah.gnu.org/bugs/?30536 Then, gettext said it's not a bug of 'gettext', http://savannah.gnu.org/bugs/?30536#comment1 So, I'm back here. Could you check it and solve it? Thanks.
Okay, so basically the answer is we have to do backflips to get their tools to work right. That's about what I expected. I was especially amused at the suggestion to use a C99 macro which has portability issues in place of a macro whose sole purpose is to avoid those portability issues.
Fixed in: http://git.gnome.org/browse/evolution-data-server/commit/?id=e4df08b184b099eda78d66ae6904c0885b9c5ae1