summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/main.cpp
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/net/wellenreiter/gui/main.cpp b/noncore/net/wellenreiter/gui/main.cpp
index 03da135..96ebb3f 100644
--- a/noncore/net/wellenreiter/gui/main.cpp
+++ b/noncore/net/wellenreiter/gui/main.cpp
@@ -55,9 +55,9 @@ int main( int argc, char **argv )
55 // root check 55 // root check
56 if ( getuid() ) 56 if ( getuid() )
57 { 57 {
58 qWarning( "Wellenreiter: trying to run as non-root!" ); 58 qWarning( QObject::tr( "Wellenreiter: trying to run as non-root!" ) );
59 result = QMessageBox::warning( w, " - Wellenreiter II - (non-root)", "You have started Wellenreiter II\n" 59 result = QMessageBox::warning( w, " - Wellenreiter II - (non-root)", QObject::tr( "You have started Wellenreiter II\n"
60 "as non-root. You will have\nonly limited functionality.\nProceed anyway?", 60 "as non-root. You will have\nonly limited functionality.\nProceed anyway?" ),
61 QMessageBox::Yes, QMessageBox::No ); 61 QMessageBox::Yes, QMessageBox::No );
62 if ( result == QMessageBox::No ) return -1; 62 if ( result == QMessageBox::No ) return -1;
63 } 63 }
@@ -83,8 +83,8 @@ int main( int argc, char **argv )
83 if ( line.contains( "dhcp" ) ) 83 if ( line.contains( "dhcp" ) )
84 { 84 {
85 qWarning( "Wellenreiter: found dhcp process #%d", (*it).toInt() ); 85 qWarning( "Wellenreiter: found dhcp process #%d", (*it).toInt() );
86 result = QMessageBox::warning( w, " - Wellenreiter II - (dhcp)", "You have a dhcp client running.\n" 86 result = QMessageBox::warning( w, " - Wellenreiter II - (dhcp)", QObject::tr( "You have a dhcp client running.\n"
87 "This can severly limit scanning!\nShould I kill it for you?", 87 "This can severly limit scanning!\nShould I kill it for you?" ),
88 QMessageBox::Yes, QMessageBox::No ); 88 QMessageBox::Yes, QMessageBox::No );
89 if ( result == QMessageBox::Yes ) 89 if ( result == QMessageBox::Yes )
90 { 90 {