Re: Polari: Javascript Gettext placeholders



 '%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.
#. "Save NickServ password for GNOME"
#: ../src/telepathyClient.js:569
#, fuzzy, javascript-format
msgid "Save %s password for %s?"
msgstr ""

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

For example, are next placeholders okey for JS?

msgid "Save %s password for %s?"
msgstr "Gorde '%2$s' kontuko '%1$s'(e)n pasahitza?"


Thanks and best regards,

Dooteo

_______________________________________________
gnome-i18n mailing list
gnome-i18n gnome org
https://mail.gnome.org/mailman/listinfo/gnome-i18n



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