Commit 6673ce68 authored by Gregor Mi's avatar Gregor Mi

Use 'Copy File Path' instead of 'Copy Filename' consistently

Summary:
In the context menus of the Document Tree View plugin, the Project plugin,
and the Tabbar, use the term Use 'Copy File Path' consistently.

Reviewers: #kate, cullmann

Reviewed By: #kate, cullmann

Subscribers: kfunk, cullmann, ngraham, kwrite-devel

Tags: #kate

Differential Revision: https://phabricator.kde.org/D16819
parent 5850022c
......@@ -83,9 +83,9 @@ KateFileTree::KateFileTree(QWidget *parent): QTreeView(parent)
connect(m_filelistCloseOtherDocument, &QAction::triggered, this, &KateFileTree::slotDocumentCloseOther);
m_filelistCloseOtherDocument->setWhatsThis(i18n("Close other documents in this folder."));
m_filelistCopyFilename = new QAction(QIcon::fromTheme(QLatin1String("edit-copy")), i18nc("@action:inmenu", "Copy Filename"), this);
m_filelistCopyFilename = new QAction(QIcon::fromTheme(QLatin1String("edit-copy")), i18nc("@action:inmenu", "Copy File Path"), this);
connect(m_filelistCopyFilename, &QAction::triggered, this, &KateFileTree::slotCopyFilename);
m_filelistCopyFilename->setWhatsThis(i18n("Copy the filename of the file."));
m_filelistCopyFilename->setWhatsThis(i18n("Copy path and filename to the clipboard."));
m_filelistRenameFile = new QAction(QIcon::fromTheme(QLatin1String("edit-rename")), i18nc("@action:inmenu", "Rename File"), this);
connect(m_filelistRenameFile, &QAction::triggered, this, &KateFileTree::slotRenameFile);
......
......@@ -69,7 +69,7 @@ void KateProjectTreeViewContextMenu::exec(const QString &filename, const QPoint
*/
QMenu menu;
QAction *copyAction = menu.addAction(QIcon::fromTheme(QStringLiteral("edit-copy")), i18n("Copy Filename"));
QAction *copyAction = menu.addAction(QIcon::fromTheme(QStringLiteral("edit-copy")), i18n("Copy File Path"));
/**
* handle "open with"
......
......@@ -593,7 +593,7 @@ void KateViewSpace::showContextMenu(int id, const QPoint & globalPos)
QAction *aCloseTab = menu.addAction(QIcon::fromTheme(QStringLiteral("tab-close")), i18n("&Close Document"));
QAction *aCloseOthers = menu.addAction(QIcon::fromTheme(QStringLiteral("tab-close-other")), i18n("Close Other &Documents"));
menu.addSeparator();
QAction *aCopyPath = menu.addAction(QIcon::fromTheme(QStringLiteral("edit-copy")), i18n("Copy &Path"));
QAction *aCopyPath = menu.addAction(QIcon::fromTheme(QStringLiteral("edit-copy")), i18n("Copy File &Path"));
QAction *aOpenFolder = menu.addAction(QIcon::fromTheme(QStringLiteral("document-open-folder")), i18n("&Open Containing Folder"));
if (KateApp::self()->documentManager()->documentList().count() < 2) {
......
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