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
+2 -1
View File
@@ -1,4 +1,5 @@
import "root:/modules/common/"
import "root:/services/"
import QtQuick
import Quickshell
import Quickshell.Hyprland
@@ -31,7 +32,7 @@ Singleton {
GlobalShortcut {
name: "workspaceNumber"
description: qsTr("Hold to show workspace numbers, release to show icons")
description: Translation.tr("Hold to show workspace numbers, release to show icons")
onPressed: {
workspaceShowNumbersTimer.start()