m_fileName=KInputDialog::getText(i18n("Enter Filename"),i18n("<qt>The file that you are sending to <i>%1</i> does not have a filename.<br>Please enter a filename to be presented to the receiver, or cancel the dcc transfer</qt>").tqarg(getPartnerNick()),"unknown",&pressedOk,NULL);
m_fileName=KInputDialog::getText(i18n("Enter Filename"),i18n("<qt>The file that you are sending to <i>%1</i> does not have a filename.<br>Please enter a filename to be presented to the receiver, or cancel the dcc transfer</qt>").arg(getPartnerNick()),"unknown",&pressedOk,NULL);
server->appendMessageToFrontmost(i18n("TOPIC"),i18n("The channel %1 has no topic set.").tqarg(parameterList[1])/*.tqarg(parameterList[2])*/);//FIXME ok, whats the second parameter supposed to be?
server->appendMessageToFrontmost(i18n("TOPIC"),i18n("The channel %1 has no topic set.").arg(parameterList[1])/*.arg(parameterList[2])*/);//FIXME ok, whats the second parameter supposed to be?
server->appendMessageToFrontmost(i18n("BanList:%1").tqarg(parameterList[1]),i18n("BanList message: e.g. *!*@aol.com set by MrGrim on <date>","%1 set by %2 on %3").tqarg(parameterList[2]).tqarg(parameterList[3].section('!',0,0)).tqarg(when.toString(Qt::LocalDate)));
server->appendMessageToFrontmost(i18n("BanList:%1").arg(parameterList[1]),i18n("BanList message: e.g. *!*@aol.com set by MrGrim on <date>","%1 set by %2 on %3").arg(parameterList[2]).arg(parameterList[3].section('!',0,0)).arg(when.toString(Qt::LocalDate)));
lagString=i18n("%1 = name of server, %2 = (x days), %3 = (x hours), %4 = (x minutes), %5 = (x seconds)","No answer from server %1 for more than %2, %3, %4, and %5.").tqarg(lagServer->getServerName())
lagString=i18n("%1 = name of server, %2 = (x days), %3 = (x hours), %4 = (x minutes), %5 = (x seconds)","No answer from server %1 for more than %2, %3, %4, and %5.").arg(lagServer->getServerName())
lagString=i18n("%1 = name of server, %2 = (x hours), %3 = (x minutes), %4 = (x seconds)","No answer from server %1 for more than %2, %3, and %4.").tqarg(lagServer->getServerName())
lagString=i18n("%1 = name of server, %2 = (x hours), %3 = (x minutes), %4 = (x seconds)","No answer from server %1 for more than %2, %3, and %4.").arg(lagServer->getServerName())
lagString=i18n("%1 = name of server, %2 = (x minutes), %3 = (x seconds)","No answer from server %1 for more than %2 and %3.").tqarg(lagServer->getServerName())
lagString=i18n("%1 = name of server, %2 = (x minutes), %3 = (x seconds)","No answer from server %1 for more than %2 and %3.").arg(lagServer->getServerName())
.tqarg(minutesString).tqarg(secondsString);
.arg(minutesString).arg(secondsString);
// or just some seconds
// or just some seconds
}
}
else
else
{
{
lagString=i18n("No answer from server %1 for more than 1 second.","No answer from server %1 for more than %n seconds.",seconds).tqarg(lagServer->getServerName());
lagString=i18n("No answer from server %1 for more than 1 second.","No answer from server %1 for more than %n seconds.",seconds).arg(lagServer->getServerName());
}
}
setMainLabelText(lagString);
setMainLabelText(lagString);
@ -211,7 +211,7 @@ void KonversationStatusBar::setTooLongLag(Server* lagServer, int msec)
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation for instant messaging, but the requested user%1 is not online.").tqarg(user));
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation for instant messaging, but the requested user%1 is not online.").arg(user));
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation to send a file to a contact, but the requested user%1 is not currently online.").tqarg(user));
focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation to send a file to a contact, but the requested user%1 is not currently online.").arg(user));
message=i18n("Some of the contacts (%1) that you have selected are not associated with addressbook contacts. ").tqarg(nicksWithoutAddressee.join(", "));
message=i18n("Some of the contacts (%1) that you have selected are not associated with addressbook contacts. ").arg(nicksWithoutAddressee.join(", "));
else
else
message=i18n("One of the contacts (%1) that you have selected is not associated with an addressbook contact. ").tqarg(nicksWithoutAddressee.join(", "));
message=i18n("One of the contacts (%1) that you have selected is not associated with an addressbook contact. ").arg(nicksWithoutAddressee.join(", "));
}
}
message+=i18n("You can right click on a contact, and choose to edit the Addressbook Associations to link them to a contact in your addressbook.");
message+=i18n("You can right click on a contact, and choose to edit the Addressbook Associations to link them to a contact in your addressbook.");
}
}
@ -481,15 +481,15 @@ namespace Konversation
else
else
{
{
if(nicksWithoutEmails.count()>1)
if(nicksWithoutEmails.count()>1)
message=i18n("Some of the contacts (%1) that you have selected do not have an email address associated with them. ").tqarg(nicksWithoutEmails.join(", "));
message=i18n("Some of the contacts (%1) that you have selected do not have an email address associated with them. ").arg(nicksWithoutEmails.join(", "));
else
else
message=i18n("One of the contacts (%1) that you have selected does not have an email address associated with them. ").tqarg(nicksWithoutEmails.join(", "));
message=i18n("One of the contacts (%1) that you have selected does not have an email address associated with them. ").arg(nicksWithoutEmails.join(", "));
}
}
message+=i18n("You can right click on a contact, and choose to edit the addressbook contact, adding an email for them.");
message+=i18n("You can right click on a contact, and choose to edit the addressbook contact, adding an email for them.");
}
}
else
else
{
{
message=i18n("Some of the contacts (%1) that you have selected are not associated with addressbook contacts, and some of the contacts (%2) do not have an email address associated with them. ").tqarg(nicksWithoutAddressee.join(", ").tqarg(nicksWithoutEmails.join(", ")));
message=i18n("Some of the contacts (%1) that you have selected are not associated with addressbook contacts, and some of the contacts (%2) do not have an email address associated with them. ").arg(nicksWithoutAddressee.join(", ").arg(nicksWithoutEmails.join(", ")));
message+=i18n("You can right click on a contact, and choose to edit the Addressbook Associations to link them to a contact in your addressbook, and choose to edit the addressbook contact, adding an email for them.");
message+=i18n("You can right click on a contact, and choose to edit the Addressbook Associations to link them to a contact in your addressbook, and choose to edit the addressbook contact, adding an email for them.");
m_mainWidget->lblHeader->setText(i18n("Currently '%1' is associated with contact '%2'.").tqarg(m_ircnick).tqarg(realname));
m_mainWidget->lblHeader->setText(i18n("Currently '%1' is associated with contact '%2'.").arg(m_ircnick).arg(realname));
else
else
m_mainWidget->lblHeader->setText(i18n("<qt><b>Warning:</b> '%1' is currently being listed as belonging to multiple contacts. Please select the correct contact.</qt>").tqarg(m_ircnick));
m_mainWidget->lblHeader->setText(i18n("<qt><b>Warning:</b> '%1' is currently being listed as belonging to multiple contacts. Please select the correct contact.</qt>").arg(m_ircnick));
returnusage(i18n("Usage: %1setkey [<nick|channel>] <key> sets the encryption key for nick or channel. %2setkey <key> when in a channel or query tab to set the key for it.").tqarg(commandChar).tqarg(commandChar));
returnusage(i18n("Usage: %1setkey [<nick|channel>] <key> sets the encryption key for nick or channel. %2setkey <key> when in a channel or query tab to set the key for it.").arg(commandChar).arg(commandChar));
result=KMessageBox::warningContinueCancel(this,i18n("Do you want to close your query with %1?").tqarg(getName()),i18n("Close Query"),i18n("Close"),"QuitQueryTab");
result=KMessageBox::warningContinueCancel(this,i18n("Do you want to close your query with %1?").arg(getName()),i18n("Close Query"),i18n("Close"),"QuitQueryTab");
TQStringinputText=i18n("No nicknames from the \"%1\" identity were accepted by the connection \"%2\".\nPlease enter a new one or press Cancel to disconnect:").tqarg(getIdentity()->getName()).tqarg(getDisplayName());
TQStringinputText=i18n("No nicknames from the \"%1\" identity were accepted by the connection \"%2\".\nPlease enter a new one or press Cancel to disconnect:").arg(getIdentity()->getName()).arg(getDisplayName());
result=KMessageBox::warningContinueCancel(this,i18n("Do you really want to close '%1'?\n\n All associated tabs will be closed as well.").tqarg(getName()),
result=KMessageBox::warningContinueCancel(this,i18n("Do you really want to close '%1'?\n\n All associated tabs will be closed as well.").arg(getName()),
i18n("Close Tab"),i18n("Close"),"QuitServerTab");
i18n("Close Tab"),i18n("Close"),"QuitServerTab");
}
}
else
else
{
{
result=KMessageBox::warningContinueCancel(
result=KMessageBox::warningContinueCancel(
this,
this,
i18n("Do you want to disconnect from '%1'?\n\n All associated tabs will be closed as well.").tqarg(m_server->getServerName()),
i18n("Do you want to disconnect from '%1'?\n\n All associated tabs will be closed as well.").arg(m_server->getServerName()),