sw/uiconfig/swriter/ui/captionoptions.ui |    6 +++---
 sw/uiconfig/swriter/ui/optcaptionpage.ui |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit f5b7967b01e68a16ff2f9bc94afec7d405d03dbd
Author:     Seth Chaiklin <sdc.bla...@youmail.dk>
AuthorDate: Fri Mar 10 00:23:52 2023 +0000
Commit:     Seth Chaiklin <sdc.bla...@youmail.dk>
CommitDate: Fri Mar 10 08:46:51 2023 +0000

    tdf#153243 Make "level" label and tooltip correspond to actual behavior
    
       Decided (e.g., in tdf#147004, comment 20) to make UI reflect current
       actual behavior. Therefore, this patch changes "Outline level"
       to "Up to level" and its tooltip and extended tip are modified to
       reflect actual behavior.
    
    Change-Id: I6d7d14d6b6bc8f0000e748ddf15690474374e360
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148511
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.bla...@youmail.dk>

diff --git a/sw/uiconfig/swriter/ui/captionoptions.ui 
b/sw/uiconfig/swriter/ui/captionoptions.ui
index 48560c2ce6ba..9ea0823846c5 100644
--- a/sw/uiconfig/swriter/ui/captionoptions.ui
+++ b/sw/uiconfig/swriter/ui/captionoptions.ui
@@ -101,11 +101,11 @@
                       <object class="GtkComboBoxText" id="level">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
-                        <property name="tooltip-text" translatable="yes" 
context="captionoptions|tooltip_text|level">Prepend the heading number of the 
first prior heading with the selected outline level. If [None] is selected, no 
heading number is prepended.</property>
+                        <property name="tooltip-text" translatable="yes" 
context="captionoptions|tooltip_text|level">Prepend the heading number of 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 prepended.</property>
                         <property name="hexpand">True</property>
                         <child internal-child="accessible">
                           <object class="AtkObject" id="level-atkobject">
-                            <property name="AtkObject::accessible-description" 
translatable="yes" context="captionoptions|extended_tip|level">Prepend the 
heading number of the first prior heading with the selected outline level. For 
example, select “2” to display the heading number of the first prior heading 
with outline level 2. If [None] is selected, no heading number is 
displayed.</property>
+                            <property name="AtkObject::accessible-description" 
translatable="yes" context="captionoptions|extended_tip|level">Prepend the 
heading number of the first prior heading whose outline level is equal to or 
less than the selected outline level. For example, select “2” to display the 
heading number of the first prior heading with outline level 1 or outline level 
2. If [None] is selected, no heading number is displayed.</property>
                           </object>
                         </child>
                       </object>
@@ -137,7 +137,7 @@
                       <object class="GtkLabel" id="label5">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
-                        <property name="label" translatable="yes" 
context="captionoptions|label5">_Outline level:</property>
+                        <property name="label" translatable="yes" 
context="captionoptions|label5">_Up to level:</property>
                         <property name="use-underline">True</property>
                         <property name="mnemonic-widget">level</property>
                         <property name="xalign">1</property>
diff --git a/sw/uiconfig/swriter/ui/optcaptionpage.ui 
b/sw/uiconfig/swriter/ui/optcaptionpage.ui
index 6202d9d727c1..c6f4fdaf707d 100644
--- a/sw/uiconfig/swriter/ui/optcaptionpage.ui
+++ b/sw/uiconfig/swriter/ui/optcaptionpage.ui
@@ -266,7 +266,7 @@
                       <object class="GtkLabel" id="label4">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
-                        <property name="label" translatable="yes" 
context="optcaptionpage|label4">_Outline level:</property>
+                        <property name="label" translatable="yes" 
context="optcaptionpage|label4">_Up to level:</property>
                         <property name="use-underline">True</property>
                         <property name="mnemonic-widget">level</property>
                         <property name="xalign">0</property>
@@ -314,7 +314,7 @@
                       <object class="GtkComboBoxText" id="level">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
-                        <property name="tooltip-text" translatable="yes" 
context="optcaptionpage|tooltip_text|level">Display the heading number of the 
first prior heading with the selected outline level. If [None] is selected, no 
heading number is displayed.</property>
+                        <property name="tooltip-text" translatable="yes" 
context="optcaptionpage|tooltip_text|level">Display the heading number of 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>
                         <property name="valign">center</property>
                         <property name="hexpand">True</property>
                         <items>
@@ -322,7 +322,7 @@
                         </items>
                         <child internal-child="accessible">
                           <object class="AtkObject" id="level-atkobject">
-                            <property name="AtkObject::accessible-description" 
translatable="yes" context="optcaptionpage|extended_tip|level">The heading 
number of the first prior heading with the selected outline level is displayed 
before the caption number. For example, select “2” to use the heading number of 
the first prior heading with outline level 2. If [None] is selected, no heading 
number is displayed. Heading numbers must be enabled to use this option. Use 
“Tools - Heading Numbering.”</property>
+                            <property name="AtkObject::accessible-description" 
translatable="yes" context="optcaptionpage|extended_tip|level">The heading 
number of the first prior heading whose outline level is equal to or less than 
the selected outline level is displayed before the caption number. For example, 
select “2” to use the heading number of the first prior heading with outline 
level 1 or outline level 2. If [None] is selected, no heading number is 
displayed. Heading numbers must be enabled to use this option. Use “Tools - 
Heading Numbering.”</property>
                           </object>
                         </child>
                       </object>

Reply via email to