[Libreoffice-commits] core.git: sw/inc sw/source

Seth Chaiklin (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 6 07:47:07 UTC 2020


 sw/inc/strings.hrc                |    6 +++---
 sw/source/uibase/docvw/edtwin.cxx |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 538a3463f424adae8b48db50ca11f27704fe0be2
Author:     Seth Chaiklin <sdc.blanco at youmail.dk>
AuthorDate: Thu Nov 5 01:55:42 2020 +0200
Commit:     Jim Raykowski <raykowj at gmail.com>
CommitDate: Fri Nov 6 08:46:32 2020 +0100

    Adjust tooltip for Outline Content Visibility
    
       Make tooltips identical for "Ctrl over heading" or
       "mouse over left margin arrow", because identical
       functionality and action.
    
       typo repair:
    
       STR_ClICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY -->
           STR_CLICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY
    
    Change-Id: Ica6508140fe91423f25368aaca6302008756f905
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105224
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco at youmail.dk>
    Reviewed-by: Jim Raykowski <raykowj at gmail.com>

diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc
index a1ba8778b14d..e5f20d867d2d 100644
--- a/sw/inc/strings.hrc
+++ b/sw/inc/strings.hrc
@@ -643,9 +643,9 @@
 #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", "Toggle Outline Content Visibility")
-#define STR_OUTLINE_CONTENT_TOGGLE_VISIBILITY_EXT   NC_("STR_OUTLINE_CONTENT_TOGGLE_VISIBILITY_EXT", "hold Ctrl or right-click to include sub levels")
-#define STR_ClICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY     NC_("STR_CLICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY", "Click to Toggle Outline Content Visibility")
+#define STR_OUTLINE_CONTENT_TOGGLE_VISIBILITY       NC_("STR_OUTLINE_CONTENT_TOGGLE_VISIBILITY", "Click to toggle content visibility")
+#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_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_TOGGLE   NC_("STR_OUTLINE_CONTENT_VISIBILITY_TOGGLE", "Toggle")
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index f28f7088d798..50e0694471ca 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -577,7 +577,7 @@ void SwEditWin::UpdatePointer(const Point &rLPt, sal_uInt16 nModifier )
                                 SwOutlineNodes::size_type nOutlineNodesCount
                                         = rSh.getIDocumentOutlineNodesAccess()->getOutlineNodesCount();
                                 int nLevel = rSh.getIDocumentOutlineNodesAccess()->getOutlineLevel(nPos);
-                                OUString sQuickHelp(SwResId(STR_ClICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY));
+                                OUString sQuickHelp(SwResId(STR_CLICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY));
                                 if (nPos + 1 < nOutlineNodesCount
                                         && rSh.getIDocumentOutlineNodesAccess()->getOutlineLevel(nPos + 1) > nLevel)
                                     sQuickHelp += " (" + SwResId(STR_CLICK_OUTLINE_CONTENT_TOGGLE_VISIBILITY_EXT) + ")";


More information about the Libreoffice-commits mailing list