[rkward-devel] i18n in rkwarddev?

meik michalke meik.michalke at uni-duesseldorf.de
Sun Feb 1 21:15:30 UTC 2015


hi,

Am Sonntag, 1. Februar 2015, 20:19:28 schrieb Thomas Friedrichsmeier:
> one short bug report on i18n():
> > rkwarddev::i18n ("a: %1, b:%2, c: %3", "1", "2", "3")
> 
> Error: i18n: some placeholders in this string are missing: %1, %2!

thanks, i just fixed that -- the pattern matching didn't work as intended.

> Also - (rarely needed, and I don't currently need this), how
> would I generate this JS:
> 
>   echo (i18n (noquote ("A string I'll quote, later")));

that wasn't implemented until just now. since there is noquote() in R base, i 
made i18n() look for objects of that class and print it accordningly. so you 
can now simply write:

 echo(i18n(noquote("A string I'll quote, later")))


viele grüße :: m.eik

-- 
  dipl. psych. meik michalke
  institut f"ur experimentelle psychologie
  abt. f"ur diagnostik und differentielle psychologie
  heinrich-heine-universit"at d-40204 d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20150201/85fe2bc0/attachment.sig>


More information about the rkward-devel mailing list