tdf#141102 friendlier naming for outline content visibility feature

relabeled as outline folding

Change-Id: I36b2dbe4eeee27abdf486e81db00d33e81c41679
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113005
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
index ad6175d..1b0c477 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
@@ -399,10 +399,10 @@
      </node>
      <node oor:name=".uno:ShowOutlineContentVisibilityButton" oor:op="replace">
        <prop oor:name="Label" oor:type="xs:string">
          <value xml:lang="en-US">Show outline content visibility button</value>
          <value xml:lang="en-US">Show outline-folding buttons</value>
        </prop>
        <prop oor:name="TooltipLabel" oor:type="xs:string">
          <value xml:lang="en-US">Show outline content visibility button</value>
          <value xml:lang="en-US">Shows a button next to headings and subheadings to help with outline folding. Even without the button, you can do outline folding with the Navigator.</value>
        </prop>
        <prop oor:name="Properties" oor:type="xs:int">
          <value>1</value>
@@ -3800,7 +3800,7 @@
      </node>
      <node oor:name=".uno:ToggleOutlineContentVisibility" oor:op="replace">
        <prop oor:name="Label" oor:type="xs:string">
          <value xml:lang="en-US">Toggle Outline Content Visibility</value>
          <value xml:lang="en-US">Toggle Outline Folding</value>
        </prop>
        <prop oor:name="TooltipLabel" oor:type="xs:string">
          <value xml:lang="en-US">Fold or unfold outline content in document</value>
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc
index f9914ef..3d28229 100644
--- a/sw/inc/strings.hrc
+++ b/sw/inc/strings.hrc
@@ -655,14 +655,14 @@
#define STR_OUTLINE_TRACKING_DEFAULT            NC_("STR_OUTLINE_TRACKING_DEFAULT", "Default")
#define STR_OUTLINE_TRACKING_FOCUS              NC_("STR_OUTLINE_TRACKING_FOCUS", "Focus")
#define STR_OUTLINE_TRACKING_OFF                NC_("STR_OUTLINE_TRACKING_OFF", "Off")
#define STR_OUTLINE_CONTENT_TOGGLE_VISIBILITY       NC_("STR_OUTLINE_CONTENT_TOGGLE_VISIBILITY", "Click to toggle content visibility")
#define STR_OUTLINE_CONTENT_TOGGLE_VISIBILITY       NC_("STR_OUTLINE_CONTENT_TOGGLE_VISIBILITY", "Click to toggle outline folding")
#define STR_OUTLINE_CONTENT_TOGGLE_VISIBILITY_EXT   NC_("STR_OUTLINE_CONTENT_TOGGLE_VISIBILITY_EXT", "right-click to include sub levels")
#define STR_CLICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY NC_("STR_CLICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY", "Click to toggle content visibility")
#define STR_CLICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY NC_("STR_CLICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY", "Click to toggle outline folding")
#define STR_CLICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY_EXT NC_("STR_CLICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY_EXT", "right-click to include sub levels")
#define STR_OUTLINE_CONTENT_VISIBILITY          NC_("STR_OUTLINE_CONTENT", "Outline Content Visibility")
#define STR_OUTLINE_CONTENT_VISIBILITY          NC_("STR_OUTLINE_CONTENT", "Outline Folding")
#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", "Show All")
#define STR_OUTLINE_CONTENT_VISIBILITY_HIDE_ALL NC_("STR_OUTLINE_CONTENT_VISIBILITY_HIDE_ALL", "Hide All")
#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_EXPANDALL                           NC_("STR_EXPANDALL", "Expand All")
#define STR_COLLAPSEALL                         NC_("STR_COLLAPSEALL", "Collapse All")
diff --git a/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui b/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui
index 0eb4c71..8c27c7e 100644
--- a/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui
+++ b/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui
@@ -186,7 +186,7 @@
      <object class="GtkMenuItem" id="5">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="label" translatable="yes" context="navigatorcontextmenu|STR_OUTLINE_CONTENT">Outline Content Visibility</property>
        <property name="label" translatable="yes" context="navigatorcontextmenu|STR_OUTLINE_CONTENT">Outline Folding</property>
        <property name="use_underline">True</property>
        <child type="submenu">
          <object class="GtkMenu" id="outlinecontent">
diff --git a/sw/uiconfig/swriter/ui/viewoptionspage.ui b/sw/uiconfig/swriter/ui/viewoptionspage.ui
index ace6740..1157a23 100644
--- a/sw/uiconfig/swriter/ui/viewoptionspage.ui
+++ b/sw/uiconfig/swriter/ui/viewoptionspage.ui
@@ -583,7 +583,7 @@
                    <property name="margin-top">6</property>
                    <child>
                      <object class="GtkCheckButton" id="outlinecontentvisibilitybutton">
                        <property name="label" translatable="yes" context="viewoptionspage|outlinecontentvisibilitybutton">_Show outline content visibility button</property>
                        <property name="label" translatable="yes" context="viewoptionspage|outlinecontentvisibilitybutton">_Show outline-folding buttons</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">False</property>
@@ -616,7 +616,7 @@
                  <object class="GtkLabel" id="outlinelabel">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="label" translatable="yes" context="viewoptionspage|outlinelabel">Outline mode</property>
                    <property name="label" translatable="yes" context="viewoptionspage|outlinelabel">Outline Folding</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>