Hi,
a few days ago :willyaranda opened a bug about appcacheutils.properties
[1] (a new file added to browser/devtools): some of the strings were
hard to localize because of the order of the arguments, and had unclear
localization comments.
Example
> fallbackBlocksURI=FALLBACK section line %S (%S) prevents caching of
> line %S (%S) in the %S section.
One important thing to know about .properties files is that a localizer
is free to use ordered arguments (%1$S, %2$S, etc.) in his localization,
even if en-US use unordered arguments, as long as he's consistent in
using one form or the other. For example the previous string could be
localized in Italian as follow:
> fallbackBlocksURI = La sezione FALLBACK alla riga %1$S (%2$S)
> impedisce di inserire nella cache la riga %3$S (%4$S) nella sezione %5$S.
What is not acceptable is something like this (mix of ordered and
unordered arguments):
> fallbackBlocksURI = La sezione FALLBACK alla riga %S (%1$S) impedisce
> di inserire nella cache la riga %S (%2$S) nella sezione %3$S.
To make localizers' life a bit easier, we decided to rewrite all
localization comments in that file and switch to ordered argument for
strings using multiple parameters. This change landed on mozilla-central
a few hours ago [2], a similar work will be performed on other devtools
files in the next weeks. In case you have any doubt, don't hesitate and ask
Francesco
[1]
https://bugzilla.mozilla.org/show_bug.cgi?id=872993
[2]
https://hg.mozilla.org/mozilla-central/rev/fb28052ae0c8