- QLatin1StringView{"<p><strong>"} + i18nc("@info", "Result of update from keyserver, LDAP server, or Active Directory") + QLatin1String{"</strong></p>"};
- if (receiveKeysResult.error()) {
- if (receiveKeysResult.error().code() == GPG_ERR_USER_1) {
- text += xi18nc("@info", "<para>The update was skipped because no keyserver is configured.</para>");
- } else {
- text += xi18nc("@info", "<para>The update failed: <message>%1</message></para>", Formatting::errorAsString(receiveKeysResult.error()));
- }
- } else {
- text += informationOnChanges(receiveKeysResult);
- }
-
- text += QLatin1StringView{"<p><strong>"} + i18nc("@info", "Result of update via Web Key Directory") + QLatin1String{"</strong></p>"};
- if (wkdRefreshResult.error()) {
- text += xi18nc("@info", "<para>The update failed: <message>%1</message></para>", Formatting::errorAsString(wkdRefreshResult.error()));