gnucash maint: Remove bare percent sign in taxinvoice.scm, replace with English.

Geert Janssens geert.gnucash at kobaltwit.be
Tue Oct 21 17:27:41 EDT 2014


On Tuesday 21 October 2014 22:56:40 Geert Janssens wrote:
> Jeff,
> 
> Thank you for the details. I have experimented a bit with the kok.po
> file.
> 
> The issue is not in the % sign but in the fact that the string is
> marked as a c-format string. Removing this line from the comment
> block right above the msgid fixes the msgfmt error for that
> particular translation string.
> 
> The c-format comment is unfortunately automatically (and erroneously)
> generated by xgettext while parsing guile-strings.c. This is a bug. I
> have a patch in my queue that can fix this. This patch however
> requires at least intl-tool version 0.50, which is still fairly
> recent.
> 
> This means I can't apply the patch (yet) to our maint branch and the
> c-format comment will continue to pop up for the time being.
> 
> To work around this until we can apply my patch, I'll redo the string
> in a different way in the scm file to put the examples outside of the
> translatable string.
> 
While browsing the translation wiki page I found that it already explains briefly that this 
particular error could be fixed by removing the c-format comment [1]. So perhaps that's the 
better interim solution here rather than changing the string. Changing the string will 
invalidate the translation for all other languages as well.

Regards,

Geert

[1] 
http://wiki.gnucash.org/wiki/Translation#Special_characters_and_other_tips


More information about the gnucash-devel mailing list