[Libreoffice-bugs] [Bug 95489] Character styles applied through the Styles menu does not function in some locales

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jun 8 22:57:09 UTC 2017


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

--- Comment #8 from Maxim Monastirsky <momonasmon at gmail.com> ---
(In reply to Yousuf Philips (jay) from comment #7)
> @Maxim: Your thoughts on this?
Each built-in style has 2 names. One is "internal" non-localizable name, and
another "display" name which can be translated (and some styles have also a
third name, i.e. the label we give to style commands in *Commands.xcu). In
order to work with all locales, the .uno:StyleApply command should get the
internal name. So "Quotation" is the display name, and should be replaced with
the internal name which is "Citation".

wrt "Default Style" (comment 3 and Bug 108301 comment 0), Writer seems to
return the translatable name also when asking for the internal name. So we need
to change that, so it won't return it unless we explicitly ask for the display
name.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170608/3f78096d/attachment.html>


More information about the Libreoffice-bugs mailing list