Sisyphus repositório
Última atualização: 30 novembro 2021 | SRPMs: 17427 | Visitas: 22418460
en ru br
ALT Linux repositórios
S:5.23.3-alt1

Group :: Desktop gráfico/KDE
RPM: plasma5-nm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: alt-explain-password-request.patch
Download


--- a/kded/passworddialog.cpp
+++ b/kded/passworddialog.cpp
@@ -106,13 +106,18 @@ void PasswordDialog::initializeUi()
             return;
         }
 
+        QString error;
+        if (m_flags & SecretAgent::RequestNew) {
+            error = i18n("<b>Invalid password.</b>");
+        }
+
         WirelessSetting::Ptr wifi = m_connectionSettings->setting(Setting::Wireless).dynamicCast<WirelessSetting>();
         Setting::SettingType connectionType = setting->type();
         if (wifi && (connectionType == Setting::WirelessSecurity || connectionType == Setting::Security8021x)) {
             const QString ssid = QString::fromUtf8(wifi->ssid());
-            m_ui->labelText->setText(i18n("Provide the password for the wireless network '%1':", ssid));
+            m_ui->labelText->setText(error + " " + i18n("Provide the password for the wireless network '%1':", ssid));
         } else {
-            m_ui->labelText->setText(i18n("Provide the password for the connection '%1':", m_connectionSettings->id()));
+            m_ui->labelText->setText(error + " " + i18n("Provide the password for the connection '%1':", m_connectionSettings->id()));
         }
 
         QString connectionLabel;
diff --git a/kded/passworddialog.ui b/kded/passworddialog.ui
index 3efa85e8..26b651b9 100644
--- a/kded/passworddialog.ui
+++ b/kded/passworddialog.ui
@@ -75,7 +75,7 @@
         <string notr="true">TextLabel</string>
        </property>
        <property name="textFormat">
-        <enum>Qt::PlainText</enum>
+        <enum>Qt::RichText</enum>
        </property>
        <property name="wordWrap">
         <bool>true</bool>
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009