Commit 00f4b7e1 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

Revert "applets/{showdesktop,minimizeall}: update tooltip to match the status"

This reverts commit 0aa9b7da
parent 34d13392
Pipeline #205982 canceled with stage
in 4 seconds
......@@ -29,24 +29,16 @@ MouseArea {
Plasmoid.icon: Plasmoid.configuration.icon
Plasmoid.title: {
if (isMinimizeAll) {
return minimizeAllComponent.item.active ? i18nc("@action:button", "Restore All Minimized Windows") : i18n("Minimize all Windows");
return i18n("Minimize all Windows");
}
return showdesktop.showingDesktop ? i18nc("@action:button", "Hide Desktop") : i18n("Peek at Desktop");
return i18n("Peek at Desktop");
}
Plasmoid.toolTipSubText: {
if (isMinimizeAll) {
if (minimizeAllComponent.item.active) {
return i18nc("@info:tooltip", "Restore the previous minimized windows");
}
return i18n("Show the desktop by minimizing all windows");
}
if (showdesktop.showingDesktop) {
return i18nc("@info:tooltip", "Show open windows that are moved aside by Peek at Desktop");
}
return i18n("Temporarily reveals the Desktop by moving open windows into screen corners");
}
......
Supports Markdown
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