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

--- Comment #18 from Mike Kaganski <[email protected]> ---
Also reproducible using ru-RU.
In Russian UI, as well as in zh-CN, the unit list in the ruler menu includes
kilometers and other metric units, which should be filtered out as per
SvxRuler::Command (see bReduceMetric).

The problem seems to be in the relation of the ident passed to
SvxRuler::MenuSelect from SalInstanceMenu::popup_at_rect (which is not
localized, like in 'cm'), and the list created in ImplGetFieldUnits and
ImplGetCleanedFieldUnits, which uses localized units (like 'см' or '厘米').

I suppose that ImplGetCleanedFieldUnits could contain both translated and
non-translated names maybe? I.e., in ImplGetFieldUnits, add both localized and
untranslated entries for each SV_FUNIT_STRINGS element. No idea if that is the
correct direction though.

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

Reply via email to