if (destExists) {
delete progressIndicator;
progressIndicator = 0;
- view->statusBar()->setMessage(i18n("Renaming failed (item '%1' already exists).").arg(name),
+ view->statusBar()->setMessage(i18n("Renaming failed (item '%1' already exists).",name),
DolphinStatusBar::Error);
break;
}
}
if (ok) {
- m_statusBar->setMessage(i18n("Renamed file '%1' to '%2'.").arg(source.fileName(), dest.fileName()),
+ m_statusBar->setMessage(i18n("Renamed file '%1' to '%2'.",source.fileName(), dest.fileName()),
DolphinStatusBar::OperationCompleted);
DolphinCommand command(DolphinCommand::Rename, source, dest);
UndoManager::instance().addCommand(command);
}
else {
- m_statusBar->setMessage(i18n("Renaming of file '%1' to '%2' failed.").arg(source.fileName(), dest.fileName()),
+ m_statusBar->setMessage(i18n("Renaming of file '%1' to '%2' failed.",source.fileName(), dest.fileName()),
DolphinStatusBar::Error);
reload();
}
m_statusBar->setMessage(i18n("The location is empty."), DolphinStatusBar::Error);
}
else {
- m_statusBar->setMessage(i18n("The location '%1' is invalid.").arg(location),
+ m_statusBar->setMessage(i18n("The location '%1' is invalid.",location),
DolphinStatusBar::Error);
}
return;
text = i18n("1 Item");
}
else {
- text = i18n("%1 Items").arg(itemCount);
+ text = i18n("%1 Items",itemCount);
}
text += " (";
text += i18n("1 Folder");
}
else {
- text += i18n("%1 Folders").arg(m_folderCount);
+ text += i18n("%1 Folders",m_folderCount);
}
text += ", ";
text += i18n("1 File");
}
else {
- text += i18n("%1 Files").arg(m_fileCount);
+ text += i18n("%1 Files",m_fileCount);
}
text += ")";
text = i18n("1 Folder selected");
}
else if (folderCount > 1) {
- text = i18n("%1 Folders selected").arg(folderCount);
+ text = i18n("%1 Folders selected",folderCount);
}
if ((fileCount > 0) && (folderCount > 0)) {
const QString sizeText(KIO::convertSize(byteSize));
if (fileCount == 1) {
- text += i18n("1 File selected (%1)").arg(sizeText);
+ text += i18n("1 File selected (%1)",sizeText);
}
else if (fileCount > 1) {
- text += i18n("%1 Files selected (%1)").arg(fileCount).arg(sizeText);
+ text += i18n("%1 Files selected (%1)",fileCount,sizeText);
}
return text;