summaryrefslogtreecommitdiffstats
path: root/opensuse/tdebase/less_verbal_kdesu.patch
blob: fd5375836a9c039f822b9eaf0a14d892aa52b938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: kdesu/kdesu/sudlg.cpp
===================================================================
--- kdesu/kdesu/sudlg.cpp.orig
+++ kdesu/kdesu/sudlg.cpp
@@ -29,18 +29,10 @@ KDEsuDialog::KDEsuDialog(QCString user,
     setCaption(i18n("Run as %1").arg(user));
 
     QString prompt;
-    if (superUserCommand == "sudo" && m_User == "root") {
-	    prompt = i18n("Please enter your password." );
+    if (m_User == "root") {
+        prompt = i18n("Please enter the Administrator (root) password to continue.");
     } else {
-        if (m_User == "root") {
-	    prompt = i18n("The action you requested needs root privileges. "
-	    "Please enter root's password below or click "
-	    "Ignore to continue with your current privileges.");
-        } else {
-	    prompt = i18n("The action you requested needs additional privileges. "
-		"Please enter the password for \"%1\" below or click "
-		"Ignore to continue with your current privileges.").arg(m_User);
-	}
+        prompt = i18n("Please enter password for \"%1\" to continue.").arg(m_User);
     }
     setPrompt(prompt);