Use xi18n when text has markup

This commit is contained in:
Montel Laurent 2014-07-16 13:26:38 +02:00
parent e242d9548d
commit 31230ccdb5
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ KonqOperations* DragAndDropHelper::dropUrls(const KFileItem& destItem, const KUr
error.clear();
if (!destItem.isNull() && !destItem.isWritable()) {
error = i18nc("@info:status", "Access denied. Could not write to <filename>%1</filename>", destUrl.pathOrUrl());
error = xi18nc("@info:status", "Access denied. Could not write to <filename>%1</filename>", destUrl.pathOrUrl());
return 0;
}

View file

@ -63,7 +63,7 @@ RenameDialog::RenameDialog(QWidget *parent, const KFileItemList& items) :
QLabel* editLabel = 0;
if (m_renameOneItem) {
m_newName = items.first().name();
editLabel = new QLabel(i18nc("@label:textbox", "Rename the item <filename>%1</filename> to:", m_newName),
editLabel = new QLabel(xi18nc("@label:textbox", "Rename the item <filename>%1</filename> to:", m_newName),
page);
editLabel->setTextFormat(Qt::PlainText);
} else {