Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Reuse unit variable in transferSameUnits2

4 views
Skip to first unread message

Peter Pin-Guang Chen

unread,
Nov 6, 2011, 7:49:24 AM11/6/11
to Axel Hecht, dev-l10n
Hi Axel and Fellow Localizers,

With the recent fix of Bug 397424 changing the strings of download status,
transferSameUnits2 has been revised from using four variables to three, but
in Chinese we tend to mention the unit twice even it's the same so I use
"%2$S %3$S 當中的 %1$S %3$S" as localized string, which is same to the former
transferSameUnits string except changing variables.
However, the result of compare-locales began to show up error: "Double
ordered argument 3 at line 57, column 38 within transferSameUnits2"

So my questions are:
1) Is it a i18n issue I need to reopen the bug, or just a false-negative
error in compare-locales?
2) How should I call these different types of ordered arguments (#1 and
%1$S)? (formatted strings, I guess?)


Regards,

Peter

Axel Hecht

unread,
Mar 27, 2012, 8:18:36 AM3/27/12
to
Sorry for the late reply.

This is a problem in the textformatter. I think it'd be great to have
that actually support both holes and dupes in explicitly numbered
parameters. That said, it's not the best-owned code, so if someone
volunteered to file and fix that bug, that'd be great.

That said, once that'd be fixed, it raises the question on how to make
compare-locales understand that some stuff works on central but not on
beta yet. IIIInteresting.

Axel
0 new messages