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

            Bug ID: 141954
           Summary: Some Default Character Styles not translated in
                    Customize Toobar dialog
           Product: LibreOffice
           Version: 7.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Step to reproduce

1) on a non English user interface, have a text document open.
2) open Tools - Customize - Toolbar
3) Select Formatting (styles) toolbar on the right
4) Notice some English names in styles

Some character style name hard coded in toolbar and not localizable. File to
touch seems to be 
sw/uiconfig/swriter/toolbar/textstylebar.xml 
and 
sw/uiconfig/sglobal/toolbar/textstylebar.xml

The untranslatable strings seems to have toolbar:text= attribute non empty. The
attribute value is the name seen in the Customize dialog right pane.

grep 'toolbar:text=' sw/uiconfig/swriter/toolbar/textstylebar.xml

<toolbar:toolbaritem xlink:href=".uno:DefaultParaStyle"
toolbar:text="Default"/>
 <toolbar:toolbaritem xlink:href=".uno:Heading1ParaStyle" toolbar:text="H1"/>
 <toolbar:toolbaritem xlink:href=".uno:Heading2ParaStyle" toolbar:text="H2"/>
 <toolbar:toolbaritem xlink:href=".uno:Heading3ParaStyle" toolbar:text="H3"/>
 <toolbar:toolbaritem xlink:href=".uno:Heading4ParaStyle" toolbar:text="H4"
toolbar:visible="false"/>
 <toolbar:toolbaritem xlink:href=".uno:Heading5ParaStyle" toolbar:text="H5"
toolbar:visible="false"/>
 <toolbar:toolbaritem xlink:href=".uno:Heading6ParaStyle" toolbar:text="H6"
toolbar:visible="false"/>
 <toolbar:toolbaritem xlink:href=".uno:TextBodyParaStyle" toolbar:text="Text"/>
 <toolbar:toolbaritem xlink:href=".uno:QuoteParaStyle" toolbar:text="Quote"/>
 <toolbar:toolbaritem xlink:href=".uno:PreformattedParaStyle"
toolbar:text="Pre"/>
 <toolbar:toolbaritem xlink:href=".uno:StyleApply" toolbar:text="Character
Styles" toolbar:visible="false"/>
 <toolbar:toolbaritem xlink:href=".uno:SourceCharStyle" toolbar:text="Code"/>
 <toolbar:toolbaritem xlink:href=".uno:StyleApply?Style:string=User
Entry&amp;FamilyName:string=CharacterStyles" toolbar:text="User"
toolbar:visible="false"/>
 <toolbar:toolbaritem xlink:href=".uno:StyleApply" toolbar:text="List Styles"
toolbar:visible="false"/>

Which seems to correspond to the untranslatable character style in the
customize dialog.

Possibly, removing the attribute "toolbar:text" above, and the l10n cycle can
pick the right translation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to