diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-03-16 08:27:33 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-03-16 08:42:06 +0000 |
commit | 7a7eb4aa21ca0c83db825fe8d5a5278611b391d8 (patch) | |
tree | cd4f50bea7a0aa150cc01fd3b9d5bd228bc10588 /sw/inc | |
parent | 1916d161902bdd52b8cfa5b29153c8f8c39fce52 (diff) |
sw: fix undo comment of FN_DELETE_BOOKMARKS
It's bookmarks, not bookmark. One has to dispatch .uno:DeleteBookmarks
to see this in action, which does something if the document already
contains at least one bookmark.
Change-Id: I7678f6bc6a00a95cfd4ecc87e97e8db6d469216d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148945
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/strings.hrc | 1 | ||||
-rw-r--r-- | sw/inc/swundo.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc index cca6a14cd1e4..57710c5a4524 100644 --- a/sw/inc/strings.hrc +++ b/sw/inc/strings.hrc @@ -437,6 +437,7 @@ #define STR_INSERT_DOC_UNDO NC_("STR_INSERT_DOC_UNDO", "Insert file") #define STR_INSERT_GLOSSARY NC_("STR_INSERT_GLOSSARY", "Insert AutoText") #define STR_DELBOOKMARK NC_("STR_DELBOOKMARK", "Delete bookmark: $1") +#define STR_DELETE_BOOKMARKS NC_("STR_DELETE_BOOKMARKS", "Delete bookmarks") #define STR_INSBOOKMARK NC_("STR_INSBOOKMARK", "Insert bookmark: $1") #define STR_UPDATE_BOOKMARK NC_("STR_UPDATE_BOOKMARK", "Update bookmark: $1") #define STR_UPDATE_BOOKMARKS NC_("STR_UPDATE_BOOKMARKS", "Update bookmarks") diff --git a/sw/inc/swundo.hxx b/sw/inc/swundo.hxx index efca97bc1b23..9728f96b93de 100644 --- a/sw/inc/swundo.hxx +++ b/sw/inc/swundo.hxx @@ -172,6 +172,7 @@ enum class SwUndoId DELETE_FORM_FIELDS, // 140 UPDATE_BOOKMARK, // 141 UPDATE_BOOKMARKS, // 142 + DELETE_BOOKMARKS, // 143 }; OUString GetUndoComment(SwUndoId eId); |