diff options
Diffstat (limited to 'src/kvpnc.cpp')
-rw-r--r-- | src/kvpnc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kvpnc.cpp b/src/kvpnc.cpp index 84d1541..21bf2b9 100644 --- a/src/kvpnc.cpp +++ b/src/kvpnc.cpp @@ -20000,7 +20000,7 @@ void KVpnc::setGuiStatus ( int status ) ConnectMsg = i18n("Connected: %2@%1, %3").arg(GlobalConfig->currentProfile->getGateway()).arg(Username).arg(durationString); - TQString TypeString2 = " [" + i18n("%1" , PrettyTypeString) + TQString("]"); + TQString TypeString2 = " [" + PrettyTypeString + TQString("]"); LogMsg = i18n("Successful connected to server \"%1\"\nuser: \"%2\" at %3").arg(GlobalConfig->currentProfile->getGateway()).arg(Username).arg(TQString(TQDateTime::currentDateTime().toString(Qt::TextDate)) + TypeString2); } else if (GlobalConfig->currentProfile->getConnectionType() == VpnAccountData::racoon || GlobalConfig->currentProfile->getConnectionType() == VpnAccountData::l2tpd_racoon || GlobalConfig->currentProfile->getConnectionType() == VpnAccountData::freeswan || GlobalConfig->currentProfile->getConnectionType() == VpnAccountData::l2tpd_freeswan) @@ -22881,7 +22881,7 @@ void KVpnc::doQuickConnect ( int id ) if ( itemtext != GlobalConfig->currentProfile->getName() ) { if ( GlobalConfig->KvpncDebugLevel > 3 ) - GlobalConfig->appendLogEntry ( i18n ( "Switching to %1" , TQString ( itemtext ) ), GlobalConfig->debug ); + GlobalConfig->appendLogEntry ( i18n("Switching to %1").arg(itemtext), GlobalConfig->debug ); bool profileInList = false; for ( uint i = 0; i < GlobalConfig->AccountList->count();i++ ) { |