summaryrefslogtreecommitdiff
path: root/include/sfx2/strings.hrc
diff options
context:
space:
mode:
authorSarper Akdemir <sarper.akdemir@allotropia.de>2024-09-10 11:19:08 +0200
committerSarper Akdemir <sarper.akdemir@allotropia.de>2024-09-12 16:42:20 +0200
commit4b399dbfc4c3081174be1703a0c98fec1afd761f (patch)
treeade6f4e19c6df00c2af4d25e6c36920214e52e4a /include/sfx2/strings.hrc
parentd4c0bb0ce626fa24eddb886e3bf6444da292df25 (diff)
tdf#162405: check if there's a matching singing cert only when saving
previously Save as dialog's "Sign with default certificate" checkbox's senstivity was decided depending on if there was a matching key. Doing that forces a dialog pop-up for password protected NSS databases. Now if there's a value in "/org.openoffice.UserProfile/Data/signingkey", the checkbox is sensitive. Matching key is checked during save, and reported if it isn't found & signing failed. Change-Id: Ia714b70ce6456752200088cc5382ab6374af9587 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173129 Reviewed-by: Sarper Akdemir <sarper.akdemir@allotropia.de> Tested-by: Jenkins
Diffstat (limited to 'include/sfx2/strings.hrc')
-rw-r--r--include/sfx2/strings.hrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sfx2/strings.hrc b/include/sfx2/strings.hrc
index d8e1de9ae66c..d44b05bd2049 100644
--- a/include/sfx2/strings.hrc
+++ b/include/sfx2/strings.hrc
@@ -143,6 +143,7 @@
#define RID_SVXSTR_XMLSEC_QUERY_SAVEBEFORESIGN NC_("RID_SVXSTR_XMLSEC_QUERY_SAVEBEFORESIGN", "The document has to be saved before it can be signed.\nDo you want to save the document?")
#define STR_QUERY_CANCELCHECKOUT NC_("STR_QUERY_CANCELCHECKOUT", "This will discard all changes on the server since check-out.\nDo you want to proceed?")
#define STR_QUERY_REMEMBERSIGNATURE NC_("STR_QUERY_REMEMBERSIGNATURE", "Do you want to remember that signature for each save?")
+#define STR_ERROR_NOMATCHINGDEFUALTCERT NC_("STR_ERROR_NOMATCHINGDEFUALTCERT", "Couldn't find a matching signing key. The document won't be signed.\nPlease update the signing key in Options.")
#define STR_INFO_WRONGDOCFORMAT NC_("STR_INFO_WRONGDOCFORMAT", "This document must be saved in OpenDocument file format before it can be digitally signed.")
#define RID_XMLSEC_DOCUMENTSIGNED NC_("RID_XMLSEC_DOCUMENTSIGNED", " (Signed)")
#define STR_EMBEDDED_TITLE NC_("STR_EMBEDDED_TITLE", " (Embedded document)")