Hi,
Rolf Bode-Meyer wrote:
I'm about to extend an existing plugin. Function wise it's no big
deal, but I seem not to understand how UI strings are handled.
There are labels with which to call tr(), but where can I put it new
strings to be addressable by new labels?
Simply add whatever you
I'm about to extend an existing plugin. Function wise it's no big
deal, but I seem not to understand how UI strings are handled.
There are labels with which to call tr(), but where can I put it new
strings to be addressable by new labels?
Just create new English strings in the tr() calls.
Frederik Ramm wrote:
Simply add whatever you want in a tr() call. That serves as a hook for
the i18n engine but of it remains untranslated then it will just display
as-is. Make sure to use proper number formatting and the singular/plural
stuff (trn()).
There is some kind of script that
I think it has changed, right?
Yes. The rules are much simpler now:
* Always escape single quotes with '', regardless of whether you use tr(),
trn(), or trc().
#4160 http://josm.openstreetmap.de/ticket/4160 still claims that double
quotes won't work in the french translation but the
2010/4/18 Mike N. nice...@att.net:
I'm about to extend an existing plugin. Function wise it's no big
deal, but I seem not to understand how UI strings are handled.
There are labels with which to call tr(), but where can I put it new
strings to be addressable by new labels?
Just create new