author | cniehaus <cniehaus> | 2003-05-18 12:17:12 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2003-05-18 12:17:12 (UTC) |
commit | 76cc1bf740e9134f44a1341d8b01cc9f543a4cd4 (patch) (side-by-side diff) | |
tree | d44ebab74e1d0b59443cb9293d060f417ca8b65b /noncore | |
parent | 39860593d3de12f70a083cdb9b86adca7b98fdfb (diff) | |
download | opie-76cc1bf740e9134f44a1341d8b01cc9f543a4cd4.zip opie-76cc1bf740e9134f44a1341d8b01cc9f543a4cd4.tar.gz opie-76cc1bf740e9134f44a1341d8b01cc9f543a4cd4.tar.bz2 |
frontport to HEAD
-rw-r--r-- | noncore/settings/netsystemtime/mainwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/settings/netsystemtime/mainwindow.cpp b/noncore/settings/netsystemtime/mainwindow.cpp index ab71463..85a46b7 100644 --- a/noncore/settings/netsystemtime/mainwindow.cpp +++ b/noncore/settings/netsystemtime/mainwindow.cpp @@ -170,4 +170,6 @@ void MainWindow::runNTP() msg.append( QString::number( _lookupDiff / 60 ) ); msg.append( tr(" minutes elapsed since last lookup.<br>Continue?") ); + + QString msg = tr( "You asked for a delay of %1 minutes, but only %2 minutes elapsed since last lookup.<br>Continue?" ).arg( QString::number( ntpDelay ) ).arg( QString::number( _lookupDiff / 60 ) ); switch ( @@ -342,6 +344,5 @@ void MainWindow::slotNtpFinished( OProcess *p ) return; int secsSinceLast = time - lastLookup; - output = QString::number( timeShift ); - output.append( tr( " seconds" ) ); + output = tr( "%1 seconds").arg(QString::number( timeShift )); // Display information on time server tab |