mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-07 07:49:28 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user