From: Montel Laurent Date: Wed, 16 Jul 2014 11:26:38 +0000 (+0200) Subject: Use xi18n when text has markup X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/31230ccdb561c1088824796a4429b363c8616237?hp=-c Use xi18n when text has markup --- 31230ccdb561c1088824796a4429b363c8616237 diff --git a/src/views/draganddrophelper.cpp b/src/views/draganddrophelper.cpp index f8ae0ad03..5bae50ef7 100644 --- a/src/views/draganddrophelper.cpp +++ b/src/views/draganddrophelper.cpp @@ -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 %1", destUrl.pathOrUrl()); + error = xi18nc("@info:status", "Access denied. Could not write to %1", destUrl.pathOrUrl()); return 0; } diff --git a/src/views/renamedialog.cpp b/src/views/renamedialog.cpp index bd0a31d11..5b20942d5 100644 --- a/src/views/renamedialog.cpp +++ b/src/views/renamedialog.cpp @@ -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 %1 to:", m_newName), + editLabel = new QLabel(xi18nc("@label:textbox", "Rename the item %1 to:", m_newName), page); editLabel->setTextFormat(Qt::PlainText); } else {