forked from Shinonome/dots-hyprland
change qsTr to Translation.tr. support translation
This commit is contained in:
@@ -391,13 +391,13 @@ Variants {
|
|||||||
id: safetyStatusText
|
id: safetyStatusText
|
||||||
shown: bgRoot.wallpaperSafetyTriggered
|
shown: bgRoot.wallpaperSafetyTriggered
|
||||||
statusIcon: "hide_image"
|
statusIcon: "hide_image"
|
||||||
statusText: qsTr("Wallpaper safety enforced")
|
statusText: Translation.tr("Wallpaper safety enforced")
|
||||||
}
|
}
|
||||||
ClockStatusText {
|
ClockStatusText {
|
||||||
id: lockStatusText
|
id: lockStatusText
|
||||||
shown: GlobalStates.screenLocked && Config.options.lock.showLockedText
|
shown: GlobalStates.screenLocked && Config.options.lock.showLockedText
|
||||||
statusIcon: "lock"
|
statusIcon: "lock"
|
||||||
statusText: qsTr("Locked")
|
statusText: Translation.tr("Locked")
|
||||||
}
|
}
|
||||||
Item {
|
Item {
|
||||||
Layout.fillWidth: bgRoot.textHorizontalAlignment !== Text.AlignRight
|
Layout.fillWidth: bgRoot.textHorizontalAlignment !== Text.AlignRight
|
||||||
|
|||||||
Reference in New Issue
Block a user