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

Claudius claudius.h at gmx.de
Sun Sep 13 18:56:33 BST 2009


Am 13.09.2009 19:53, 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

Allrighty. Then I'd like to turn my plea to the unification of quotation 
marks. Currently some coders use single and others double quotes. To my 
knowledge in English the single quote is standard while e.g. in German 
double quotes are the way to go.

Can we agree on a coding string standard for JOSM?

Claudius





More information about the josm-dev mailing list