- <string><h3>Activating the Add-In</h3>
-<p>Before the first use, the add-in has to be activated in Outlook:</p><p>
-<ul><li>1. Go to the <a href="https://outlook.office.com/mail/jsmvvmdeeplink/?path=/options/manageapps&amp;bO=4">Outlook Extension Manager</a> (you may be prompted to log in).</li>
-<li>2. Copy the file-name below, register it via<br><tt>My Add-Ins -&gt; Custom Add-Ins -&gt; Add a custom Add-In</tt>.</li></ul></p></string>
-<li>3. In your mail account, click on any e-mail and then activate the add-in by clicking on the GnuPG icon shown about the email header. (Icon not visible? See troubleshooting below)</li>
-<li>4. You will be prompted for a pairing code. Click the button below to obtain the code, and paste it to the input field.</li></ul></p>
i18nc("Debug message. %1 is a filename. %2 is a path", "No permission to write: %1 in %2", rootCaPub.fileName(), dir.absolutePath()));
setError(UserDefinedError);
emitResult();
return;
}
}
// Install for gpgol-server
{
auto certPath = QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation).chopped(QStringLiteral(u"gpgol-client").length()).append(u"gpgol-server");
Q_EMIT debutOutput(i18nc("Debug message. %1 is a path", "Installing certificate for gpgol-server in %1", certPath));
QDir dir;
if (!dir.mkpath(certPath)) {
Q_EMIT debutOutput(i18nc("Debug message. %1 is a path", "Unable to create the following path: %1", certPath));
+ //m_generateButton->setToolTip(i18n("Re-generates and installs a TLS certificate for a secure connection to the local proxy server. It is not usually necessary to repeat this step."));
+ } else {
+ m_label->setText(i18n("A TLS certificate is needed for the secure connection to the proxy."));
+ m_generateButton->setText(i18n("Generate and install certificate"));
+ if (m_dialog) {
+ m_label->setText(i18n("A TLS certificate is needed for the secure connection to the proxy. This will be generated in the next step."));
+ addGridRow(grid, false, i18n("Before the first use, the add-in has to be activated in Outlook:"), nullptr);
+ auto extMgrButton = new QPushButton(i18nc("@button", "Outlook Extension Manager"));
+ extMgrButton->setToolTip(i18n("Click to open the Outlook Extension Manager in your web browser. You may be prompted to log in. Please allow a few seconds for the page to load."));
+ addGridRow(grid, true, i18n("Open the Outlook Extension Manager (you may be prompted to log in):"), extMgrButton);
+ auto generateManifestButton = new QPushButton(i18nc("@button", "Generate Manifest"));
+ addGridRow(grid, true, i18n("Generate a manifest file (the filename will be copied to the clipboard):"), generateManifestButton);
+ addGridRow(grid, true, i18n("In Outlook, register this via <tt>My Add-Ins -> Custom Add-Ins -> Add a custom Add-In</tt>"), nullptr);
+ addGridRow(grid, true, i18n("In Outlook, select any e-mail, and activate the add-in by clicking the GnuPG icon <nobr>( %1 )</nobr> shown above the email header.",
+ addGridRow(grid, false, i18n("Test for problems with the TLS-certificate installation, by opening this test page in your browser:"), testPageButton);
+/* grid->addWidget(makeLabel(i18n("Sometimes the add-in icon is not immediately visible in Outlook's menu ribbon. Make sure to select an existing message in Outlook. "
+ "You may also have to click on the \"Apps\" icon.")), 2, 0, 1, 2);
+ grid->addWidget(makeLabel(i18n("Once you see the add-in, you may want to \"pin\" it for easier access.")), 3, 0, 1, 2);
+ grid->addWidget(makeLabel(i18n("If you have just added the manifest, it may be necessary to reload / restart Outlook.")), 4, 0, 1, 2);
+ grid->addWidget(makeLabel(i18n("If your account is organization managed, your administrator may have to allow usage of the GPGOL/Web add-in, manually.")), 5, 0, 1, 2); */
// add a short timeout, when showing status change messages, such as not to spam the user with "not connnected", "connected to proxy", "connected to client"