Re: [bug-gettext] javascript-format fails to recognize string reordering

2016-02-07 Thread Daiki Ueno
Sean Burke writes: > Given a string "%s foo %s", the gjs JavaScript implementation allows these to > be reordered in a > fashion similar to C, that is "%2$s foo %1$s". However, `msgfmt -vc' will > error on encountering > this in a translation when the msgid is marked javascript-format, giving t

[bug-gettext] javascript-format fails to recognize string reordering

2015-10-02 Thread Sean Burke
Given a string "%s foo %s", the gjs JavaScript implementation allows these to be reordered in a fashion similar to C, that is "%2$s foo %1$s". However, `msgfmt -vc' will error on encountering this in a translation when the msgid is marked javascript-format, giving the following: 'msgstr' is not a