not attempt to show translated globalshortcut description cuz they can't be changed

This commit is contained in:
end-4
2025-07-17 15:28:31 +07:00
parent 8a4f2f2851
commit 158428e63e
14 changed files with 38 additions and 37 deletions
@@ -170,7 +170,7 @@ Scope { // Scope
GlobalShortcut {
name: "sidebarLeftToggle"
description: Translation.tr("Toggles left sidebar on press")
description: "Toggles left sidebar on press"
onPressed: {
GlobalStates.sidebarLeftOpen = !GlobalStates.sidebarLeftOpen;
@@ -179,7 +179,7 @@ Scope { // Scope
GlobalShortcut {
name: "sidebarLeftOpen"
description: Translation.tr("Opens left sidebar on press")
description: "Opens left sidebar on press"
onPressed: {
GlobalStates.sidebarLeftOpen = true;
@@ -188,7 +188,7 @@ Scope { // Scope
GlobalShortcut {
name: "sidebarLeftClose"
description: Translation.tr("Closes left sidebar on press")
description: "Closes left sidebar on press"
onPressed: {
GlobalStates.sidebarLeftOpen = false;
@@ -197,7 +197,7 @@ Scope { // Scope
GlobalShortcut {
name: "sidebarLeftToggleDetach"
description: Translation.tr("Detach left sidebar into a window/Attach it back")
description: "Detach left sidebar into a window/Attach it back"
onPressed: {
root.detach = !root.detach;