[josm-dev] Coders: Please use true quotation marks

Karl Guggisberg karl.guggisberg at guggis.ch
Sun Sep 13 18:53:26 BST 2009


Hi Claudius

> Value ''{0}'' is going to be applied for key ''{1}''
It's not as wrong as it looks. The strings are interpreted by the tr(...)
function which treats '' as ',
whereas as sinlge ' disappears. Users will see one ' only. Whenever you see
'' in I18n string, keep both in
the translation or I18n will fail.

In short: '' stands for ', not for "

-- Karl

-----Ursprüngliche Nachricht-----
Von: josm-dev-bounces at openstreetmap.org
[mailto:josm-dev-bounces at openstreetmap.org] Im Auftrag von Claudius
Gesendet: Sonntag, 13. September 2009 19:46
An: josm-dev at openstreetmap.org
Betreff: [josm-dev] Coders: Please use true quotation marks

I'm currently translating JOSM and stumble every now and then over strings
like

Value ''{0}'' is going to be applied for key ''{1}''

I understand that it's easier not needing to escape quotation marks, but
replacing them with two single quotes is plain wrong. So I'm addressing all
JOSM contributors to please check their strings for correct quotation mark
usage.

Thanks from the translators (and lovers of correct punctuation),

Claudius


_______________________________________________
josm-dev mailing list
josm-dev at openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev





More information about the josm-dev mailing list