summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sfx2/sfx.hrc1
-rw-r--r--sfx2/source/view/view.src5
-rw-r--r--sfx2/source/view/viewfrm.cxx4
3 files changed, 10 insertions, 0 deletions
diff --git a/include/sfx2/sfx.hrc b/include/sfx2/sfx.hrc
index abb0606ffd19..139a34f3e2bd 100644
--- a/include/sfx2/sfx.hrc
+++ b/include/sfx2/sfx.hrc
@@ -124,6 +124,7 @@
#define STR_SIGNATURE_SHOW (RID_SFX_START+140)
#define STR_SIGNATURE_NOTVALIDATED (RID_SFX_START+141)
#define STR_SIGNATURE_PARTIAL_OK (RID_SFX_START+142)
+#define STR_SIGNATURE_OK (RID_SFX_START+143)
#define STR_ACCTITLE_PRODUCTIVITYTOOLS (RID_SFX_START+157)
#define SFX_THUMBNAIL_TEXT (RID_SFX_START+158)
diff --git a/sfx2/source/view/view.src b/sfx2/source/view/view.src
index 5d95e92d69a2..ad83dfe5719b 100644
--- a/sfx2/source/view/view.src
+++ b/sfx2/source/view/view.src
@@ -155,6 +155,11 @@ String STR_SIGNATURE_PARTIAL_OK
Text[ en-US ] = "The signature is OK, but the document is only partially signed.";
};
+String STR_SIGNATURE_OK
+{
+ Text[ en-US ] = "This document is digitally signed and the signature is valid.";
+};
+
String STR_SIGNATURE_SHOW
{
Text[ en-US ] = "Show Signatures";
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 008cd1043ddf..1e9ec49cebf4 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1195,6 +1195,10 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
sMessage = SfxResId(STR_SIGNATURE_PARTIAL_OK);
aInfoBarType = InfoBarType::Warning;
break;
+ case SignatureState::OK:
+ sMessage = SfxResId(STR_SIGNATURE_OK);
+ aInfoBarType = InfoBarType::Info;
+ break;
default:
break;
}