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

2009-09-13 Thread Karl Guggisberg
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-boun...@openstreetmap.org
[mailto:josm-dev-boun...@openstreetmap.org] Im Auftrag von Claudius
Gesendet: Sonntag, 13. September 2009 19:46
An: josm-dev@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@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


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

2009-09-13 Thread Matthew W. S. Bell
On Sun, 2009-09-13 at 19:46 +0200, Claudius wrote:
 Thanks from the translators (and lovers of correct punctuation),

Actually, I believe that the use of quotes, italics, etc. to distinguish
between the use of a phrase and the mention of a phrase[1] is a style
rule only.

Matthew Bell

[1] http://en.wikipedia.org/wiki/Use-mention_distinction


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev