Quickshell qstr seems not to be working, trying to implement custom translation

Add Chinese (zh_CN) translations for Quickshell interface and settings
This commit is contained in:
月月
2025-06-17 12:29:21 +08:00
parent 54dfad1d5b
commit b32734b9f5
50 changed files with 1324 additions and 187 deletions
@@ -141,7 +141,7 @@ Scope { // Scope
GlobalShortcut {
name: "oskToggle"
description: qsTr("Toggles on screen keyboard on press")
description: Translation.tr("Toggles on screen keyboard on press")
onPressed: {
oskLoader.active = !oskLoader.active;
@@ -150,7 +150,7 @@ Scope { // Scope
GlobalShortcut {
name: "oskOpen"
description: qsTr("Opens on screen keyboard on press")
description: Translation.tr("Opens on screen keyboard on press")
onPressed: {
oskLoader.active = true;
@@ -159,7 +159,7 @@ Scope { // Scope
GlobalShortcut {
name: "oskClose"
description: qsTr("Closes on screen keyboard on press")
description: Translation.tr("Closes on screen keyboard on press")
onPressed: {
oskLoader.active = false;