diff options
author | Jim Raykowski <raykowj@gmail.com> | 2022-11-22 17:57:15 -0900 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-24 08:09:42 +0100 |
commit | 8ba1c4e27376cbd73892768d1e741067918eb897 (patch) | |
tree | 76089bd4497aa862d6ed776040b0b59a3e9f6487 /sw/inc | |
parent | b1fad7043a7286d5d9bb33c9ed9235f044d92aed (diff) |
tdf#152165 Improve the 'Read-only Content' dialog message
This patch implements user j.a.swami's suggested improvement of the
messages shown in the 'Read-only Content' dialog when trying to
delete a selection in the document that has folded content. In doing
so, repeated code to create and run the dialog at each place it is
used is replaced by a single function call.
Change-Id: If79298e0ee920e60620934f1eacc98c776e5d33e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143132
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/strings.hrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc index 7cf98621de2e..afd0c2873fad 100644 --- a/sw/inc/strings.hrc +++ b/sw/inc/strings.hrc @@ -1452,6 +1452,9 @@ #define STR_MARK_COPY NC_("STR_MARK_COPY", "%1 Copy ") +#define STR_INFORODLG_FOLDED_PRIMARY NC_("STR_INFORODLG_FOLDED_PRIMARY", "You are trying to delete folded (hidden) content.") +#define STR_INFORODLG_FOLDED_SECONDARY NC_("STR_INFORODLG_FOLDED_SECONDARY", "To delete this content, first unfold it so you can see what you intend to delete.") + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |