https://bugs.documentfoundation.org/show_bug.cgi?id=50421

--- Comment #63 from Caolán McNamara <[email protected]> ---
(In reply to Julien Nabet from comment #60)
> Adolfo: I noticed 2 locations in Pootle where RID_UPDATE_STR_PERCENT
> (msgid="%PERCENT%") is translated by "%PERCENT %".

FWIW it looks to me that the "%PERCENT" part is intended to be replaced at
runtime by a number so for the English case %PERCENT% becomes e.g. "50%" which
is correct as there isn't a space between number and % in English locales,
while its common in other locales to display "50 %" so the above translation is
probably good.

It looks pretty fragile to me to expect translators to get this right from so
little context, include/i18nutil/unicode.hxx has "formatPercent" which looks a
more sensible way to just format this percentage according to a locales rules.
I suggest removing that RID_UPDATE_STR_PERCENT translation and use
formatPercent instead.

Presumably though the crashing/handing issue is unrelated to the unsightly
%PERCENT% label

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to