mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Fix Refresh tooltip text and add Refresh whatsThis text
BUG: 469263
This commit is contained in:
parent
efd4d76a3a
commit
b92bb43e9d
|
@ -1766,7 +1766,14 @@ void DolphinMainWindow::setupActions()
|
||||||
stashSplit->setVisible(sessionInterface && sessionInterface->isServiceRegistered(QStringLiteral("org.kde.kio.StashNotifier")));
|
stashSplit->setVisible(sessionInterface && sessionInterface->isServiceRegistered(QStringLiteral("org.kde.kio.StashNotifier")));
|
||||||
connect(stashSplit, &QAction::triggered, this, &DolphinMainWindow::toggleSplitStash);
|
connect(stashSplit, &QAction::triggered, this, &DolphinMainWindow::toggleSplitStash);
|
||||||
|
|
||||||
KStandardAction::redisplay(this, &DolphinMainWindow::reloadView, actionCollection());
|
QAction *redisplay = KStandardAction::redisplay(this, &DolphinMainWindow::reloadView, actionCollection());
|
||||||
|
redisplay->setToolTip(i18nc("@info:tooltip", "Refresh view"));
|
||||||
|
redisplay->setWhatsThis(xi18nc("@info:whatsthis refresh",
|
||||||
|
"<para>This refreshes "
|
||||||
|
"the folder view.</para>"
|
||||||
|
"<para>If the contents of this folder have changed, refreshing will re-scan this folder "
|
||||||
|
"and show you a newly-updated view of the files and folders contained here.</para>"
|
||||||
|
"<para>If the view is split, this refreshes the one that is currently in focus.</para>"));
|
||||||
|
|
||||||
QAction *stop = actionCollection()->addAction(QStringLiteral("stop"));
|
QAction *stop = actionCollection()->addAction(QStringLiteral("stop"));
|
||||||
stop->setText(i18nc("@action:inmenu View", "Stop"));
|
stop->setText(i18nc("@action:inmenu View", "Stop"));
|
||||||
|
|
Loading…
Reference in a new issue