summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/runtests.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings/ppp/runtests.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/runtests.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/noncore/settings/networksettings/ppp/runtests.cpp b/noncore/settings/networksettings/ppp/runtests.cpp
index 83ef2ea..5548601 100644
--- a/noncore/settings/networksettings/ppp/runtests.cpp
+++ b/noncore/settings/networksettings/ppp/runtests.cpp
@@ -45,6 +45,4 @@
#endif
-//#include <klocale.h>
-#define i18n QObject::tr
#include "pppdata.h"
@@ -218,5 +216,5 @@ int runTests() {
if(!access) {
QMessageBox::warning(0,"error",
- i18n("You're not allowed to dial out with "
+ QObject::tr("You're not allowed to dial out with "
"kppp.\nContact your system administrator."));
return TEST_CRITICAL;
@@ -229,5 +227,5 @@ int runTests() {
if(!f) {
QMessageBox::warning(0,"error",
- i18n("Cannot find the PPP daemon!\n"
+ QObject::tr("Cannot find the PPP daemon!\n"
"Make sure that pppd is installed."));
warning++;
@@ -239,5 +237,5 @@ int runTests() {
if(access(f, X_OK) != 0 /* && geteuid() != 0 */) {
KMessageBox::warning(0,
- i18n("You do not have the permission "
+ QObject::tr("You do not have the permission "
"to start pppd!\n"
"Contact your system administrator "
@@ -252,5 +250,5 @@ int runTests() {
if(st.st_uid != 0 || (st.st_mode & S_ISUID) == 0) {
QMessageBox::warning(0,"error",
- i18n("You don't have sufficient permission to run\n"
+ QObject::tr("You don't have sufficient permission to run\n"
"%1\n"
"Please make sure that kppp is owned by root "
@@ -264,5 +262,5 @@ int runTests() {
if (access(_PATH_RESCONF, R_OK) != 0) {
QString file = _PATH_RESCONF" ";
- QString msgstr = i18n("%1 is missing or can't be read!\n"
+ QString msgstr = QObject::tr("%1 is missing or can't be read!\n"
"Ask your system administrator to create "
"this file (can be empty) with appropriate "