[sane-devel] Error at translation

Frank Zago fzago@austin.rr.com
Wed, 13 Oct 2004 10:18:51 -0500


Mogens Jaeger wrote:
> Hello
> 
> When I in emacs runs the 'Validate' command, on the sane-backends da.po 
> file, I get the folloving error:
> 
> cd ~/Oversaettelse/Sane-backends-1.0.15/
> msgfmt --statistics -c -v -o /dev/null
> /home/mogens/Oversaettelse/Sane-backends-1.0.15/sane-backends.da.po
> /home/mogens/Oversaettelse/Sane-backends-1.0.15/sane-backends.da.po:1268:
> 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the
> directive number 1, the character 'b' is not a valid conversion specifier.
> 
> The message looks this way:
> 
> #: .tmp/microtek2.h:697
> #, c-format
> msgid "Balance factor for red. A value of 100% means no correction."
> msgstr "Balancefaktor for roed. Vaerdien 100% betyder ingen korrektion."
> 
> I have asked in my Language-Team, and one said that there should not be 
> a '#, c-format' up front???????
> 
> I had 3 messages with errors like this, lines in da.po file : 1268 
> (above), 1277 and 1268, all with the same errormessage.
> 

It's a bug in the original string "...100% means". The "%" should be "%%". The 
source code must be updated.

Frank.