Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Change VS- to VS-NfD in strings

parent 6eeccad1
......@@ -155,7 +155,7 @@ public:
}
};
/* This filter selects only VS-compliant keys if Kleopatra is used in
/* This filter selects only VS-NfD-compliant keys if Kleopatra is used in
* CO_DE_VS mode. */
class DeVsCompliantKeyFilter : public DefaultKeyFilter
{
......@@ -163,7 +163,7 @@ public:
DeVsCompliantKeyFilter()
: DefaultKeyFilter()
{
setName(i18n("VS-compliant Certificates"));
setName(i18n("VS-NfD-compliant Certificates"));
setId(QStringLiteral("vs-compliant-certificates"));
setSpecificity(UINT_MAX - 5); // overly high for ordering
}
......
......@@ -871,11 +871,11 @@ QString Formatting::complianceStringForKey(const GpgME::Key &key)
// for now we only have DE-VS
if (complianceMode() == QStringLiteral("de-vs")) {
if (uidsHaveFullValidity(key) && isKeyDeVs(key)) {
return i18nc("VS-conforming is a German standard for restricted documents. For which special restrictions about algorithms apply. The string describes if a key is compliant with that..",
"May be used for VS-compliant communication.");
return i18nc("VS-NfD conforming is a German standard for restricted documents. For which special restrictions about algorithms apply. The string describes if a key is compliant with that..",
"May be used for VS-NfD-compliant communication.");
} else {
return i18nc("VS-conforming is a German standard for restricted documents. For which special restrictions about algorithms apply. The string describes if a key is compliant to that..",
"May <b>not</b> be used for VS-compliant communication.");
return i18nc("VS-NfD-conforming is a German standard for restricted documents. For which special restrictions about algorithms apply. The string describes if a key is compliant to that..",
"May <b>not</b> be used for VS-NfD-compliant communication.");
}
}
return QString();
......@@ -887,8 +887,8 @@ QString Formatting::complianceStringShort(const GpgME::Key &key)
if (complianceMode() == QStringLiteral("de-vs")
&& Formatting::isKeyDeVs(key)) {
return QStringLiteral("★ ") +
i18nc("VS-conforming is a German standard for restricted documents for which special restrictions about algorithms apply. The string states that a key is compliant with that.",
"VS-compliant");
i18nc("VS-NfD-conforming is a German standard for restricted documents for which special restrictions about algorithms apply. The string states that a key is compliant with that.",
"VS-NfD-compliant");
}
return i18nc("As in all user IDs are valid.", "certified");
}
......
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