Commit 5ec65a07 authored by Nate Graham's avatar Nate Graham 🔩

Rename "Recent Documents" to "Recent Files" everywhere

This is a more generic term that's less likely to be inappropriate
(every document is a file, but not every file is a document) and using
"Recent Files" brings Plasma into consistency with what KIO and Dolphin
call it.

BUG: 424007
FIXED-IN: 5.20
parent aa84d6c2
......@@ -58,7 +58,7 @@
<default>true</default>
</entry>
<entry name="showRecentDocs" type="Bool">
<label>Whether to show the "Recent Documents" category.</label>
<label>Whether to show the "Recent Files" category.</label>
<default>true</default>
</entry>
<entry name="showRecentContacts" type="Bool">
......
......@@ -210,8 +210,8 @@ Kirigami.FormLayout {
id: showRecentDocs
text: recentOrdering.currentIndex == 0
? i18n("Recent documents")
: i18n("Often used documents")
? i18n("Recent files")
: i18n("Often used files")
}
CheckBox {
......
......@@ -30,7 +30,7 @@ Detailed goals:
-> Whether to use Plasma applets and widgets or Qt's widgets and
QAbstractItemView as the base for the view classes.
-> Provision of Plasma data engines for applets to use to query
applications, recent documents, favorites etc.
applications, recent files, favorites etc.
-> Should facilities be provided for distributions to replace
Strigi with their choice of search engine?
......
......@@ -101,7 +101,7 @@ PlasmaComponents.ContextMenu {
actions: backend.placesActions(launcherUrl, showAllPlaces, menu)
},
{
title: i18n("Recent Documents"),
title: i18n("Recent Files"),
group: "recents",
actions: backend.recentDocumentActions(launcherUrl, menu)
},
......
......@@ -350,7 +350,7 @@ QVariantList Backend::recentDocumentActions(const QUrl &launcherUrl, QObject *pa
if (actionCount > 0) {
QAction *action = new QAction(parent);
action->setText(i18n("Forget Recent Documents"));
action->setText(i18n("Forget Recent Files"));
action->setIcon(QIcon::fromTheme(QStringLiteral("edit-clear-history")));
action->setProperty("agent", storageId);
connect(action, &QAction::triggered, this, &Backend::handleRecentDocumentAction);
......
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