summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorSeth Chaiklin <sdc.blanco@youmail.dk>2023-02-17 20:48:02 +0000
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2023-02-21 07:48:39 +0000
commit3ae7bd3345e2f356b52ba7b8160dbcbdc4967e89 (patch)
tree442cc268a461c5a363cad309f032e0035928c456 /sw
parent0fa6932e26ca197cb1134c1edf8e026536f87ec8 (diff)
tdf#153485 align command names to show headings by outline level
There are three different places where a command can be given to select the maximum allowed outline level for a displayed heading in Navigator. This patch changes all these command labels to be identical, so that users can recognize them as identical. "Outline Level" -> "Show to Outline Level" in Navigator context menu "Heading Levels Shown" -> "Show to Outline Level" in Navigator panel "Show Outline Content to Level" -> "Show to Outline Level" in .uno:OutlineLevelsShown and its popup dialog box. Change-Id: I7b1eac8067251a0e2faf38f2747dcfcf1993cebb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147247 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/strings.hrc2
-rw-r--r--sw/uiconfig/swriter/ui/navigatorcontextmenu.ui2
-rw-r--r--sw/uiconfig/swriter/ui/navigatorpanel.ui4
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc
index 476df842a9f1..454df50b1284 100644
--- a/sw/inc/strings.hrc
+++ b/sw/inc/strings.hrc
@@ -682,7 +682,7 @@
#define STR_OUTLINE_CONTENT_VISIBILITY_TOGGLE NC_("STR_OUTLINE_CONTENT_VISIBILITY_TOGGLE", "Toggle")
#define STR_OUTLINE_CONTENT_VISIBILITY_SHOW_ALL NC_("STR_OUTLINE_CONTENT_VISIBILITY_SHOW_ALL", "Unfold All")
#define STR_OUTLINE_CONTENT_VISIBILITY_HIDE_ALL NC_("STR_OUTLINE_CONTENT_VISIBILITY_HIDE_ALL", "Fold All")
-#define STR_OUTLINE_LEVELS_SHOWN_TITLE NC_("STR_OUTLINE_LEVELS_SHOWN_TITLE", "Show Outline Content to Level")
+#define STR_OUTLINE_LEVELS_SHOWN_TITLE NC_("STR_OUTLINE_LEVELS_SHOWN_TITLE", "Show Up to Outline Level")
#define STR_OUTLINE_LEVELS_SHOWN_SPIN_LABEL NC_("STR_OUTLINE_LEVELS_SHOWN_SPIN_LABEL", "Level (1–10):")
#define STR_OUTLINE_LEVELS_SHOWN_HELP_LABEL NC_("STR_OUTLINE_LEVELS_SHOWN_HELP_LABEL", "Enter maximum outline level allowed for a displayed heading.")
diff --git a/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui b/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui
index 519104ba5fdb..9ef3a5bbc6d3 100644
--- a/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui
+++ b/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui
@@ -438,7 +438,7 @@
<object class="GtkMenuItem" id="1">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes" context="navigatorcontextmenu|STR_OUTLINE_LEVEL">Outline Level</property>
+ <property name="label" translatable="yes" context="navigatorcontextmenu|STR_OUTLINE_LEVEL">Show Up to Outline Level</property>
<property name="use-underline">True</property>
<child type="submenu">
<object class="GtkMenu" id="outlinelevel">
diff --git a/sw/uiconfig/swriter/ui/navigatorpanel.ui b/sw/uiconfig/swriter/ui/navigatorpanel.ui
index f38518649c9a..7c3fd820e2d3 100644
--- a/sw/uiconfig/swriter/ui/navigatorpanel.ui
+++ b/sw/uiconfig/swriter/ui/navigatorpanel.ui
@@ -513,11 +513,11 @@
<child>
<object class="GtkMenuToolButton" id="headings">
<property name="visible">True</property>
- <property name="tooltip-text" translatable="yes" context="navigatorpanel|headings|tooltip_text">Heading Levels Shown</property>
+ <property name="tooltip-text" translatable="yes" context="navigatorpanel|headings|tooltip_text">Show Up to Outline Level</property>
<property name="icon-name">sw/res/sc20236.png</property>
<child internal-child="accessible">
<object class="AtkObject" id="headings-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes" context="navigatorpanel|extended_tip|headings">Click this icon, and then choose the number of heading outline levels that you want to view in the Navigator window.</property>
+ <property name="AtkObject::accessible-description" translatable="yes" context="navigatorpanel|extended_tip|headings">Use this option to control what headings in the document structure are displayed in the Navigator window. Click the icon, and choose an outline level number. Any heading with an outline number less than or equal to the selected number will be displayed.</property>
</object>
</child>
</object>