mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-21 17:30:15 +00:00
Use xi18n when text has markup
This commit is contained in:
parent
e242d9548d
commit
31230ccdb5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue