Changeset View
Changeset View
Standalone View
Standalone View
src/dialogs/ownertrustdialog.cpp
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Line(s) | |||||
118 | OwnerTrustDialog::~OwnerTrustDialog() {} | 118 | OwnerTrustDialog::~OwnerTrustDialog() {} | ||
119 | 119 | | |||
120 | void OwnerTrustDialog::setFormattedCertificateName(const QString &formatted) | 120 | void OwnerTrustDialog::setFormattedCertificateName(const QString &formatted) | ||
121 | { | 121 | { | ||
122 | if (formatted.isEmpty()) { | 122 | if (formatted.isEmpty()) { | ||
123 | return; | 123 | return; | ||
124 | } | 124 | } | ||
125 | d->formattedCertificateName = formatted; | 125 | d->formattedCertificateName = formatted; | ||
126 | setWindowTitle(i18nc("@title", "Change Trust Level of %1", formatted)); | 126 | setWindowTitle(i18nc("@title:window", "Change Trust Level of %1", formatted)); | ||
127 | d->ui.label->setText(i18nc("@info", "How much do you trust certifications made by <b>%1</b> to correctly verify authenticity of certificates?", formatted)); | 127 | d->ui.label->setText(i18nc("@info", "How much do you trust certifications made by <b>%1</b> to correctly verify authenticity of certificates?", formatted)); | ||
128 | } | 128 | } | ||
129 | 129 | | |||
130 | QString OwnerTrustDialog::formattedCertificateName() const | 130 | QString OwnerTrustDialog::formattedCertificateName() const | ||
131 | { | 131 | { | ||
132 | return d->formattedCertificateName; | 132 | return d->formattedCertificateName; | ||
133 | } | 133 | } | ||
134 | 134 | | |||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |