Sisyphus repository
Last update: 4 december 2020 | SRPMs: 17764 | Visits: 19752074
en ru br
ALT Linux repos
S:5.20.2-alt1

Group :: Graphical desktop/KDE
RPM: plasma5-nm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and 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("For accessing the wireless network %1 you need to provide a password below:", ssid));
+            m_ui->labelText->setText(error + " " + i18n("For accessing the wireless network %1 you need to provide a password below:", ssid));
         } else {
-            m_ui->labelText->setText(i18n("Please provide the password for activating connection %1:", m_connectionSettings->id()));
+            m_ui->labelText->setText(error + " " + i18n("Please provide the password for activating connection %1:", m_connectionSettings->id()));
         }
 
         QString connectionLabel;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin