tdf#173043 Fix translator comments in xcu files

The commit below tried to add translator comments to a bunch of strings
containing “outline”. This wasn’t done correctly for xcu files because
in that case XML comments are ignored and instead the comment can be
added with a pseudo-language tag called “x-comment”.

commit 9dd7345159
Author: Neil Roberts <nroberts@libreoffice.org>
Date:   Fri Aug 7 17:35:49 2026 +0200

    tdf#173043 Add translator comments to strings containing “outline”

Change-Id: I1a4e21b98ebbaba5072a8064b67d0ab8fe583e1a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209076
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
This commit is contained in:
Neil Roberts
2026-08-11 16:29:37 +02:00
parent 56dbcb043e
commit a3c8270e51
3 changed files with 7 additions and 7 deletions
@@ -2191,8 +2191,8 @@
</node>
<node oor:name=".uno:AutoOutline" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<!-- To translators: Outline refers to an automatic grouping of cells -->
<value xml:lang="en-US">~AutoOutline</value>
<value xml:lang="x-comment">Outline refers to an automatic grouping of cells</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>1</value>
@@ -2793,8 +2793,8 @@
</node>
<node oor:name=".uno:GroupOutlineMenu" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<!-- To translators: Outline refers to an automatic grouping of cells -->
<value xml:lang="en-US">~Group and Outline</value>
<value xml:lang="x-comment">Outline refers to an automatic grouping of cells</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>1</value>
@@ -827,8 +827,8 @@
</node>
<node oor:name=".uno:OutlineMode" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<!-- To translators: Outline refers to a mode that shows an overview of the slides -->
<value xml:lang="en-US">~Outline</value>
<value xml:lang="x-comment">Outline refers to a mode that shows an overview of the slides</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>1</value>
@@ -3104,16 +3104,16 @@ bit 3 (0x8): #define UICOMMANDDESCRIPTION_PROPERTIES_TOGGLEBUTTON 8
</node>
<node oor:name=".uno:SetOutline" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<!-- To translators: Outline as in the style of list -->
<value xml:lang="en-US">Outline Format</value>
<value xml:lang="x-comment">Outline as in the style of list</value>
</prop>
<prop oor:name="ContextLabel" oor:type="xs:string">
<!-- To translators: Outline as in the style of list -->
<value xml:lang="en-US">~Outline Format</value>
<value xml:lang="x-comment">Outline as in the style of list</value>
</prop>
<prop oor:name="TooltipLabel" oor:type="xs:string">
<!-- To translators: Outline as in the style of list -->
<value xml:lang="en-US">Select Outline Format</value>
<value xml:lang="x-comment">Outline as in the style of list</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>15</value>
@@ -4098,8 +4098,8 @@ bit 3 (0x8): #define UICOMMANDDESCRIPTION_PROPERTIES_TOGGLEBUTTON 8
</node>
<node oor:name=".uno:ClearOutline" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<!-- To translators: Outline refers to a group of cells -->
<value xml:lang="en-US">~Remove Outline</value>
<value xml:lang="x-comment">Outline refers to a group of cells</value>
</prop>
</node>
<node oor:name=".uno:HelplinesMove" oor:op="replace">