diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-09-02 12:37:18 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-07 17:58:58 +0200 |
commit | ab9edc7394ad266f8810372901f411ba998f4290 (patch) | |
tree | c473d88ef5035470ecf1000546cfdeaadaa6703c /include | |
parent | 9bcb2e2f56d6a2fd9290300a0bb2d2f776780264 (diff) |
xmlsecurity: avoid saying OK when the signature is partial
That's reserved for valid signatures (digest match, certificate
validates and the signature covers the whole document).
Also avoid "invalid" in the dialog when the digest matches and the
signature is just incomplete.
This now uses wording which is closer to Acrobat and also uses the same
wording on the infobar and in the dialog.
(cherry picked from commit e76d021ac44e7bf4de05899dc2694a96470bc707)
Change-Id: I26e4781d555b65cf29aa8df2232e286917235dc1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102186
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/strings.hrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/strings.hrc b/include/sfx2/strings.hrc index d9f8289c12a5..d7c6635b793e 100644 --- a/include/sfx2/strings.hrc +++ b/include/sfx2/strings.hrc @@ -285,8 +285,8 @@ #define STR_READONLY_SIGN NC_("STR_READONLY_SIGN", "Sign Document") #define STR_SIGNATURE_BROKEN NC_("STR_SIGNATURE_BROKEN", "This document has an invalid signature.") #define STR_SIGNATURE_INVALID NC_("STR_SIGNATURE_INVALID", "The signature was valid, but the document has been modified") -#define STR_SIGNATURE_NOTVALIDATED NC_("STR_SIGNATURE_NOTVALIDATED", "The signature is OK, but the certificate could not be validated.") -#define STR_SIGNATURE_PARTIAL_OK NC_("STR_SIGNATURE_PARTIAL_OK", "The signature is OK, but the document is only partially signed.") +#define STR_SIGNATURE_NOTVALIDATED NC_("STR_SIGNATURE_NOTVALIDATED", "At least one signature has problems: the certificate could not be validated.") +#define STR_SIGNATURE_PARTIAL_OK NC_("STR_SIGNATURE_PARTIAL_OK", "At least one signature has problems: the document is only partially signed.") #define STR_SIGNATURE_NOTVALIDATED_PARTIAL_OK NC_("STR_SIGNATURE_NOTVALIDATED_PARTIAL_OK", "The certificate could not be validated and the document is only partially signed.") #define STR_SIGNATURE_OK NC_("STR_SIGNATURE_OK", "This document is digitally signed and the signature is valid.") #define STR_SIGNATURE_SHOW NC_("STR_SIGNATURE_SHOW", "Show Signatures") |