bug-recutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-recutils] Bad translation


From: John Darrington
Subject: [bug-recutils] Bad translation
Date: Fri, 18 Oct 2013 12:42:14 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

I was confused by an error message when running in the de_DE locale:

xx.rec:1: Fehler: Nur ein %rec-Feld im Datensatzdeskriptor zul??ssig

which translated means "Error: Only one %rec field in the data descriptor is 
allowed"
This was confusing, because my data descriptor did indeed have only one %rec 
field.

After a lot of timewasting, I realised that this was a cut and paste error by 
the German
translator.  It should have said "%key" instead of "%rec" .

A grep of recutils.pot shows there are three almost identical translated 
strings:

msgid "%s:%s: error: only one %%key field is allowed in a record descriptor\n"
msgid "%s:%s: error: only one %%size field is allowed in a record descriptor\n"
msgid "%s:%s: error: only one %%sort field is allowed in a record descriptor\n"

I suggest that these are all changed so that the %%xxx is replaced with a %s 
printf directive.
This has the advantages that:

* Cut and paste errors like the above are less likely.
* There will be two less strings which require translation.

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]