sw/uiconfig/swriter/ui/fldvarpage.ui |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit ee5dbd193fa24b46fb980ddd8a6c39ca349d0d01
Author:     Seth Chaiklin <sdc.bla...@youmail.dk>
AuthorDate: Thu Mar 9 14:06:23 2023 +0000
Commit:     Seth Chaiklin <sdc.bla...@youmail.dk>
CommitDate: Fri Mar 10 23:04:29 2023 +0000

    tdf#153243 adjust label/tooltip/extended tip for "level" option
    
       3b995c0a73215b974437f63c1081daebf7ecec48 was created
       on the assumption that the current implementation was a bug
       and the UI should reflect the intended behavior. Subsequently,
       it was decided (e.g., tdf#147004, comment 20) to make UI reflect
       current behavior. Therefore, this patch changes "Outline level"
       to "Up to level" and the tooltip and extended tip are modified to
       reflect actual behavior. Also: simplify section heading because
       tooltip can indicate that the heading number is prepended.
    
    Change-Id: Ic4d308db5ca5abd02e70f8e61456c42e62ddcb0d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148504
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.bla...@youmail.dk>

diff --git a/sw/uiconfig/swriter/ui/fldvarpage.ui 
b/sw/uiconfig/swriter/ui/fldvarpage.ui
index 16346835da59..d484e7bc16bd 100644
--- a/sw/uiconfig/swriter/ui/fldvarpage.ui
+++ b/sw/uiconfig/swriter/ui/fldvarpage.ui
@@ -402,7 +402,7 @@
                       <object class="GtkLabel" id="label5">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
-                        <property name="label" translatable="yes" 
context="fldvarpage|label5">_Outline level:</property>
+                        <property name="label" translatable="yes" 
context="fldvarpage|label5">_Up to level:</property>
                         <property name="use-underline">True</property>
                         <property name="xalign">0</property>
                       </object>
@@ -429,13 +429,13 @@
                       <object class="GtkComboBoxText" id="level">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
-                        <property name="tooltip-text" translatable="yes" 
context="fldvarpage|level|tooltip_text">Choose the heading number to prepend to 
the displayed field, where the number comes from the first prior heading with 
the selected outline level. If “None” is selected, then no heading number is 
displayed.</property>
+                        <property name="tooltip-text" translatable="yes" 
context="fldvarpage|level|tooltip_text">Choose heading number to prepend to 
displayed field, where the number comes from the first prior heading whose 
outline level is equal to or less than the selected outline level. If “None” is 
selected, no heading number is displayed.</property>
                         <items>
                           <item translatable="yes" 
context="fldvarpage|level">None</item>
                         </items>
                         <child internal-child="accessible">
                           <object class="AtkObject" id="level-atkobject">
-                            <property name="AtkObject::accessible-description" 
translatable="yes" context="fldvarpage|extended_tip|level">Choose the heading 
number to prepend to the displayed field. The number comes from the first prior 
heading with the selected outline level. For example, select “2” to use the 
heading number of the first prior heading with outline level 2. If “None” is 
selected, then no heading number is displayed. To use this option, heading 
numbers must be enabled. Use “Tools - Heading Numbering”.</property>
+                            <property name="AtkObject::accessible-description" 
translatable="yes" context="fldvarpage|extended_tip|level">Choose heading 
number to prepend to displayed field, where the number comes from the first 
prior heading whose outline level is equal to or less than the selected outline 
level. For example, select “2” to use the heading number of the first prior 
heading that has outline level 2 or less. If “None” is selected, no heading 
number is displayed. To use this option, heading numbers must be enabled. Use 
“Tools - Heading Numbering”.</property>
                           </object>
                         </child>
                       </object>
@@ -470,7 +470,7 @@
                   <object class="GtkLabel" id="label4">
                     <property name="visible">True</property>
                     <property name="can-focus">False</property>
-                    <property name="label" translatable="yes" 
context="fldvarpage|label4">With Heading Number Before</property>
+                    <property name="label" translatable="yes" 
context="fldvarpage|label4">With Heading Number</property>
                     <property name="use-underline">True</property>
                     <property name="xalign">0</property>
                     <attributes>

Reply via email to