Unverified Commit 52c40ed0 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Add additional doc actions for official secops

This links the official secops for Kleopatra in restricted
contexts if the documents are available.
parent 03d1ac36
Pipeline #134936 passed with stage
in 1 minute and 43 seconds
<!DOCTYPE gui >
<gui name="kleopatra" version="505" >
<gui name="kleopatra" version="506" >
<MenuBar>
<Menu name="file">
<text>&amp;File</text>
......@@ -91,6 +91,8 @@
<Action name="help_doc_quickguide"/>
<Action name="help_doc_compendium"/>
<Action name="help_doc_symenc"/>
<Action name="help_doc_vsa10573"/>
<Action name="help_doc_vsa10584"/>
<Separator/>
<Action name="help_check_updates"/>
</Menu>
......
......@@ -519,6 +519,18 @@ void MainWindow::Private::setupActions()
QStringLiteral("../share/doc/gnupg-vsd"));
coll->addAction(QStringLiteral("help_doc_quickguide"), quickguide);
const auto vsa10573 = new DocAction(QIcon::fromTheme(QStringLiteral("dvipdf")), i18n("SecOps VSA-10573"),
i18nc("Only available in German and English. Leave to English for other languages.",
"BSI-VSA-10573-ENG_secops-20220207.pdf"),
QStringLiteral("../share/doc/gnupg-vsd"));
coll->addAction(QStringLiteral("help_doc_vsa10573"), vsa10573);
const auto vsa10584 = new DocAction(QIcon::fromTheme(QStringLiteral("dvipdf")), i18n("SecOps VSA-10584"),
i18nc("Only available in German and English. Leave to English for other languages.",
"BSI-VSA-10584-ENG_secops-20220207.pdf"),
QStringLiteral("../share/doc/gnupg-vsd"));
coll->addAction(QStringLiteral("help_doc_vsa10584"), vsa10584);
const auto man_gpg = new DocAction(QIcon::fromTheme(QStringLiteral("help-contextual")), i18n("GnuPG Manual"),
QStringLiteral("gnupg.pdf"), QStringLiteral("../share/doc/gnupg"));
coll->addAction(QStringLiteral("help_doc_gnupg"), man_gpg);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment