GNOME Bugzilla – Bug 705952
Format specifier missing in POT file!
Last modified: 2013-08-19 22:43:33 UTC
Good evening, Please, may sone check what is going on with the last easytag´s POT file released? In the message below, it is missing a format specifier "Cannot write tag of file '%s' (%" It is missing at the end of the sentence!! ............ '%s' (% .................... Thanks, Enrico.
In general please post line number information: #: ../src/id3v24_tag.c:1493 msgid "Cannot write tag of file '%s' (%" Log_Print (LOG_ERROR, _("Cannot write tag of file '%s' (%" G_GSSIZE_FORMAT " bytes were read but %" G_GSIZE_FORMAT " bytes were expected)"), basename_utf8, size_read, ctxsize); Developers: See https://bugzilla.gnome.org/show_bug.cgi?id=693534 https://bugzilla.gnome.org/show_bug.cgi?id=693535
Thanks for the report and links to other bugs. I reworded the string, and constructed it to allow handling of plural forms (as this was missing and not possible with the original string). The fix is in master as commit 3fd5461eda337ef2dacca873e9608e5d393b8375.
+ ngettext ("Cannot write tag of file '%s' (a byte was missing)", + "Cannot write tag of file ‘%s’ (%s bytes were missing)", + ctxsize - size_read), + basename_utf8, bytes_missing); is what was committed in 3fd546, but note that the second pair of quotes are unicode quotes while the first are ascii. I don't know which you prefer but they should probably not be mixed like that.
Thanks, I fixed this in master as commit commit 69dbd02480ae2d6503c5cefbe5af30a3e0223feb.