From 7b22553f09e430907763af829db6757a5dc1e0f0 Mon Sep 17 00:00:00 2001 From: woozepao Date: Sat, 4 Oct 2025 17:51:24 -0500 Subject: [PATCH] change qsTr to Translation.tr. support translation --- .config/quickshell/ii/modules/background/Background.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/ii/modules/background/Background.qml b/.config/quickshell/ii/modules/background/Background.qml index 19fd60690..f354cf6b9 100644 --- a/.config/quickshell/ii/modules/background/Background.qml +++ b/.config/quickshell/ii/modules/background/Background.qml @@ -391,13 +391,13 @@ Variants { id: safetyStatusText shown: bgRoot.wallpaperSafetyTriggered statusIcon: "hide_image" - statusText: qsTr("Wallpaper safety enforced") + statusText: Translation.tr("Wallpaper safety enforced") } ClockStatusText { id: lockStatusText shown: GlobalStates.screenLocked && Config.options.lock.showLockedText statusIcon: "lock" - statusText: qsTr("Locked") + statusText: Translation.tr("Locked") } Item { Layout.fillWidth: bgRoot.textHorizontalAlignment !== Text.AlignRight