Re: Polari: Javascript Gettext placeholders



Thanks Gabor, 

So I'm going to use C format placeholders with JavaScript.

Best regards,

Dooteo

Jatorrizko mezua: or., 2016-09-16 11:43 +0200, egilea: Gabor Kelemen
Hi

2016-09-16 10:09 keltezéssel, dooteo írta:

As this message is for JavaScript, can I translate using '%2$s'
like
placeholders, or is there any specific placeholder format for
JavaScript?

Yes, it should work. Support for this feature was added recently in
gettext 0.19.8 [1]
and GNOME 3.22 uses this version [2].

[1] https://lists.gnu.org/archive/html/info-gnu/2016-06/msg00003.html
[2] https://git.gnome.org/browse/jhbuild/tree/modulesets/bootstrap.mo
dules

Regards
Gabor Kelemen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]