// config->appendLogEntry( i18n( "OpenVPN import: pre shared key file %1 copied to %2." ).arg( PreSharedKeyFileSrc.name() ).arg( PreSharedKeyFileDst.name() ), config->debug );
// config->appendLogEntry( i18n( "OpenVPN import: pre shared key file %1 copied to %2." ).tqarg( PreSharedKeyFileSrc.name() ).tqarg( PreSharedKeyFileDst.name() ), config->debug );
// } else {
// if ( config->KvpncDebugLevel > 2 )
// config->appendLogEntry( i18n( "OpenVPN import: pre shared key file %1 could not open for writing." ).arg( PreSharedKeyFileDst.name() ), config->debug );
// config->appendLogEntry( i18n( "OpenVPN import: pre shared key file %1 could not open for writing." ).tqarg( PreSharedKeyFileDst.name() ), config->debug );
//
// // return;
// }
// PreSharedKeyFileDst.close();
// } else {
// if ( config->KvpncDebugLevel > 2 )
// config->appendLogEntry( i18n( "OpenVPN import: pre shared key file %1 could not open for reading." ).arg( PreSharedKeyFileSrc.name() ), config->debug );
// config->appendLogEntry( i18n( "OpenVPN import: pre shared key file %1 could not open for reading." ).tqarg( PreSharedKeyFileSrc.name() ), config->debug );
GlobalConfig->appendLogEntry(i18n("PCF import: certificate should be stored into cisco cert store: %1").arg(TQString().setNum(int(useCertStore))),GlobalConfig->debug);
GlobalConfig->appendLogEntry(i18n("PCF import: certificate should be stored into cisco cert store: %1").tqarg(TQString().setNum(int(useCertStore))),GlobalConfig->debug);
KMessageBox::error(0,i18n("The appdir for kvpnc could not be created. Be sure that you have write permission of \"%1\".").arg(dirs->saveLocation("data")));
appendLogEntry(i18n("The appdir for kvpnc could not be created. Be sure that you have write permission of \"%1\".").arg(dirs->saveLocation("data")),error);
KMessageBox::error(0,i18n("The appdir for kvpnc could not be created. Be sure that you have write permission of \"%1\".").tqarg(dirs->saveLocation("data")));
appendLogEntry(i18n("The appdir for kvpnc could not be created. Be sure that you have write permission of \"%1\".").tqarg(dirs->saveLocation("data")),error);
// KMessageBox::information ( this, i18n( "Profile name exists!\n It will be renamed to \"%1\"." ).arg( account->getName() ), i18n( "Name exist, renamed" ) );
// KMessageBox::information ( this, i18n( "Profile name exists!\n It will be renamed to \"%1\"." ).tqarg( account->getName() ), i18n( "Name exist, renamed" ) );
KMessageBox::error(0,i18n("Profile name exists!"),i18n("Name Exists"));
nameOk=false;
TQStringnewName=KInputDialog::getText(i18n("New Name"),i18n("New name for profile:"),TQString(data->getName()+"_2"),&ok);
// KMessageBox::information ( this, i18n( "Profile name exists!\n It will be renamed to \"%1\"." ).arg( account->getName() ), i18n( "Name exist, renamed" ) );
// KMessageBox::information ( this, i18n( "Profile name exists!\n It will be renamed to \"%1\"." ).tqarg( account->getName() ), i18n( "Name exist, renamed" ) );
KMessageBox::error(0,i18n("Profile name exists!"),i18n("Name Exists"));
nameOk=false;
TQStringnewName=KInputDialog::getText(i18n("New Name"),i18n("New name for profile:"),TQString(profiledata->getName()+"_2"),&ok);
intresult=KMessageBox::questionYesNo(this,i18n("Do you really want to delete the cert \"%1\" (type: %2) from cert store?").arg(item->text(1).arg(item->text(2))),i18n("Delete certificate?"));
intresult=KMessageBox::questionYesNo(this,i18n("Do you really want to delete the cert \"%1\" (type: %2) from cert store?").tqarg(item->text(1).tqarg(item->text(2))),i18n("Delete certificate?"));
// KMessageBox::information ( this, i18n( "Profile name exists!\n It will be renamed to \"%1\"." ).arg( account->getName() ), i18n( "Name exist, renamed" ) );
// KMessageBox::information ( this, i18n( "Profile name exists!\n It will be renamed to \"%1\"." ).tqarg( account->getName() ), i18n( "Name exist, renamed" ) );
KMessageBox::error(this,i18n("Profile name exists!"),i18n("Name Exists"));
TQStringnewName=KInputDialog::getText(i18n("New Name"),i18n("New name for profile:"),TQString(Name+="_2"),&ok);
GlobalConfig->appendLogEntry(i18n("SSH: use autotected key: %1").arg(newprofilewizardsshpagecontent->SshKeyComboBox->currentText()),KVpncConfig::debug);
GlobalConfig->appendLogEntry(i18n("SSH: use autotected key: %1").tqarg(newprofilewizardsshpagecontent->SshKeyComboBox->currentText()),KVpncConfig::debug);
// if (IpsecToolInfo.Version.contains("Openswan") || IpsecToolInfo.Version.contains("Free"))
// KMessageBox::information(0,i18n("%1 (IPSec) currently has no working smartcard support (pkcs11). Please use strongSwan instead with enabled smartcard support.").arg(IpsecToolInfo.Version.section(' ',0,0)),i18n("Unsupported IPSec version"));
// KMessageBox::information(0,i18n("%1 (IPSec) currently has no working smartcard support (pkcs11). Please use strongSwan instead with enabled smartcard support.").tqarg(IpsecToolInfo.Version.section(' ',0,0)),i18n("Unsupported IPSec version"));
// if (IpsecToolInfo.Version.contains("Openswan") || IpsecToolInfo.Version.contains("Free"))
// KMessageBox::information(0,i18n("%1 (IPSec) currently has no working smartcard support (pkcs11). Please use strongSwan instead with enabled smartcard support.").arg(IpsecToolInfo.Version.section(' ',0,0)),i18n("Unsupported IPSec version"));
// KMessageBox::information(0,i18n("%1 (IPSec) currently has no working smartcard support (pkcs11). Please use strongSwan instead with enabled smartcard support.").tqarg(IpsecToolInfo.Version.section(' ',0,0)),i18n("Unsupported IPSec version"));
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Disconnected to the OpenVPN manage port (%1).").arg(TQString().setNum(GlobalConfig->OpenvpnManagementPort)),GlobalConfig->debug);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Disconnected to the OpenVPN manage port (%1).").tqarg(TQString().setNum(GlobalConfig->OpenvpnManagementPort)),GlobalConfig->debug);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Socket to the OpenVPN manage port (%1) closed.").arg(TQString().setNum(GlobalConfig->OpenvpnManagementPort)),GlobalConfig->debug);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Socket to the OpenVPN manage port (%1) closed.").tqarg(TQString().setNum(GlobalConfig->OpenvpnManagementPort)),GlobalConfig->debug);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Connected to the OpenVPN manage port (%1).").arg(TQString().setNum(GlobalConfig->OpenvpnManagementPort)),GlobalConfig->debug);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Connected to the OpenVPN manage port (%1).").tqarg(TQString().setNum(GlobalConfig->OpenvpnManagementPort)),GlobalConfig->debug);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Got no greeting within %1 seconds from management interface, retrying.").arg("3"),GlobalConfig->error);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Got no greeting within %1 seconds from management interface, retrying.").tqarg("3"),GlobalConfig->error);
GlobalConfig->appendLogEntry(i18n("OpenvpnManagementHandler: CA certifcate file could not be loaded! Please check your CA certificate file."),GlobalConfig->error);
GlobalConfig->appendLogEntry(i18n("OpenvpnManagementHandler: Hash algorithm %1 could not found! Please check your OpenVPN settings.").arg(line.section('',3,3).remove('\'')),GlobalConfig->error);
GlobalConfig->appendLogEntry(i18n("OpenvpnManagementHandler: Hash algorithm %1 could not found! Please check your OpenVPN settings.").tqarg(line.section('',3,3).remove('\'')),GlobalConfig->error);
GlobalConfig->appendLogEntry(i18n("Hash algorithm not found (%1)!").arg(line.section('',3,3).remove('\'')),GlobalConfig->error);
GlobalConfig->appendLogEntry(i18n("Hash algorithm not found (%1)!").tqarg(line.section('',3,3).remove('\'')),GlobalConfig->error);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Socket state is strange: %1").arg(TQString().setNum(socket->state())),GlobalConfig->debug);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Socket state is strange: %1").tqarg(TQString().setNum(socket->state())),GlobalConfig->debug);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Connecting to the OpenVPN manage port (%1)...").arg(TQString().setNum(GlobalConfig->OpenvpnManagementPort)),GlobalConfig->debug);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Connecting to the OpenVPN manage port (%1)...").tqarg(TQString().setNum(GlobalConfig->OpenvpnManagementPort)),GlobalConfig->debug);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Connecting to the OpenVPN manage port (%1)... host found").arg(TQString().setNum(GlobalConfig->OpenvpnManagementPort)),GlobalConfig->debug);
GlobalConfig->appendLogEntry("OpenvpnManagementHandler: "+i18n("Connecting to the OpenVPN manage port (%1)... host found").tqarg(TQString().setNum(GlobalConfig->OpenvpnManagementPort)),GlobalConfig->debug);
GlobalConfig->appendLogEntry(i18n("%1 is too old. Minimum requirement is %2, disabling Xauth interactive option.").arg("vpnc").arg("0.3.x"),GlobalConfig->error);
GlobalConfig->appendLogEntry(i18n("%1 is too old. Minimum requirement is %2, disabling Xauth interactive option.").tqarg("vpnc").tqarg("0.3.x"),GlobalConfig->error);
// KMessageBox::information ( this, i18n( "Profile name exists!\n It will be renamed to \"%1\"." ).arg( account->getName() ), i18n( "Name exist, renamed" ) );
// KMessageBox::information ( this, i18n( "Profile name exists!\n It will be renamed to \"%1\"." ).tqarg( account->getName() ), i18n( "Name exist, renamed" ) );
KMessageBox::error(this,i18n("Profile name exists!"),i18n("Name Exists"));
newName=KInputDialog::getText(i18n("New Name"),i18n("New name for profile:"),TQString(Oldname+"_2"),&ok);
KMessageBox::information(this,i18n("Profile \"%1\" added.\nNow set the right type,\n fill in the fields\nand press \"Save\" to complete the profile.").arg(newName),i18n("Complete Profile"));
KMessageBox::information(this,i18n("Profile \"%1\" added.\nNow set the right type,\n fill in the fields\nand press \"Save\" to complete the profile.").tqarg(newName),i18n("Complete Profile"));
KMessageBox::information(0,i18n("Rename of \"%1\" to \"%2\" was successful.").arg(oldName).arg(GlobalConfig->currentProfile->getName()));
GlobalConfig->appendLogEntry(i18n("Rename of \"%1\" to \"%2\" was successful.").arg(oldName).arg(GlobalConfig->currentProfile->getName()),GlobalConfig->info);
KMessageBox::information(0,i18n("Rename of \"%1\" to \"%2\" was successful.").arg(oldName).tqarg(GlobalConfig->currentProfile->getName()));
GlobalConfig->appendLogEntry(i18n("Rename of \"%1\" to \"%2\" was successful.").arg(oldName).tqarg(GlobalConfig->currentProfile->getName()),GlobalConfig->info);