Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 7614755f authored by Nate Graham's avatar Nate Graham 🔩

Make "Rename..." and "Delete" menu items' text better and more consistent

parent 75d55ab1
......@@ -92,7 +92,7 @@ KateFileTree::KateFileTree(QWidget *parent): QTreeView(parent)
connect(m_filelistCopyFilename, &QAction::triggered, this, &KateFileTree::slotCopyFilename);
m_filelistCopyFilename->setWhatsThis(i18n("Copy path and filename to the clipboard."));
m_filelistRenameFile = new QAction(QIcon::fromTheme(QStringLiteral("edit-rename")), i18nc("@action:inmenu", "Rename File"), this);
m_filelistRenameFile = new QAction(QIcon::fromTheme(QStringLiteral("edit-rename")), i18nc("@action:inmenu", "Rename..."), this);
connect(m_filelistRenameFile, &QAction::triggered, this, &KateFileTree::slotRenameFile);
m_filelistRenameFile->setWhatsThis(i18n("Rename the selected file."));
......@@ -102,7 +102,7 @@ KateFileTree::KateFileTree(QWidget *parent): QTreeView(parent)
m_filelistPrintDocumentPreview = KStandardAction::printPreview(this, SLOT(slotPrintDocumentPreview()), this);
m_filelistPrintDocumentPreview->setWhatsThis(i18n("Show print preview of current document"));
m_filelistDeleteDocument = new QAction(QIcon::fromTheme(QStringLiteral("edit-delete")), i18nc("@action:inmenu", "Delete Document"), this);
m_filelistDeleteDocument = new QAction(QIcon::fromTheme(QStringLiteral("edit-delete")), i18nc("@action:inmenu", "Delete"), this);
connect(m_filelistDeleteDocument, &QAction::triggered, this, &KateFileTree::slotDocumentDelete);
m_filelistDeleteDocument->setWhatsThis(i18n("Close and delete selected file from storage."));
......
......@@ -329,7 +329,7 @@ void KateMainWindow::setupActions()
a = actionCollection()->addAction(QStringLiteral("file_rename"));
a->setIcon(QIcon::fromTheme(QStringLiteral("edit-rename")));
a->setText(i18nc("@action:inmenu", "Rename File..."));
a->setText(i18nc("@action:inmenu", "Rename..."));
connect(a, &QAction::triggered, KateApp::self()->documentManager(),
[this]() {
auto&& view = viewManager()->activeView();
......@@ -339,7 +339,7 @@ void KateMainWindow::setupActions()
a = actionCollection()->addAction(QStringLiteral("file_delete"));
a->setIcon(QIcon::fromTheme(QStringLiteral("edit-delete")));
a->setText(i18nc("@action:inmenu", "Delete File"));
a->setText(i18nc("@action:inmenu", "Delete"));
connect(a, &QAction::triggered, KateApp::self()->documentManager(),
[this]() {
auto&& view = viewManager()->activeView();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment