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
@@ -108,7 +108,7 @@ Scope {
icon: "light_mode"
rotateIcon: true
scaleIcon: true
name: qsTr("Brightness")
name: Translation.tr("Brightness")
}
}
}
@@ -134,7 +134,7 @@ Scope {
GlobalShortcut {
name: "osdBrightnessTrigger"
description: qsTr("Triggers brightness OSD on press")
description: Translation.tr("Triggers brightness OSD on press")
onPressed: {
root.triggerOsd()
@@ -142,7 +142,7 @@ Scope {
}
GlobalShortcut {
name: "osdBrightnessHide"
description: qsTr("Hides brightness OSD on press")
description: Translation.tr("Hides brightness OSD on press")
onPressed: {
root.showOsdValues = false