Re: Polari: Javascript Gettext placeholders

2016-09-16 Thread dooteo
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' > >

Re: Polari: Javascript Gettext placeholders

2016-09-16 Thread 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

Re: Polari: Javascript Gettext placeholders

2016-09-16 Thread Joan Luc Labòrda
'%s' means only a string type variable for a program you don't have to translate it at all or it wont work anymore Le 16/09/2016 à 10:09, dooteo a écrit : Hi, I'm not sure how to use placeholders at Polari's next message: #. Translators: Those are a botname and an accountName, e.g. #.

Polari: Javascript Gettext placeholders

2016-09-16 Thread dooteo
Hi,  I'm not sure how to use placeholders at Polari's next message: #. Translators: Those are a botname and an accountName, e.g. #. "Save NickServ password for GNOME" #: ../src/telepathyClient.js:569 #, fuzzy, javascript-format msgid "Save %s password for %s?" msgstr "" As this message is for