forked from Shinonome/dots-hyprland
use qsTr (for translations later)
This commit is contained in:
@@ -39,7 +39,7 @@ QuickToggleButton {
|
||||
}
|
||||
StyledToolTip {
|
||||
content: `${(Bluetooth.bluetoothEnabled && Bluetooth.bluetoothDeviceName.length > 0) ?
|
||||
Bluetooth.bluetoothDeviceName : "Bluetooth"} | Right-click to configure`
|
||||
Bluetooth.bluetoothDeviceName : "Bluetooth"} | ${qsTr("Right-click to configure")}`
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,6 @@ QuickToggleButton {
|
||||
command: ['bash', '-c', `hyprctl reload`]
|
||||
}
|
||||
StyledToolTip {
|
||||
content: "Game mode"
|
||||
content: qsTr("Game mode")
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,6 @@ QuickToggleButton {
|
||||
command: ["bash", "-c", "${XDG_CONFIG_HOME:-$HOME/.config}/quickshell/scripts/wayland-idle-inhibitor.py"]
|
||||
}
|
||||
StyledToolTip {
|
||||
content: "Keep system awake"
|
||||
content: qsTr("Keep system awake")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +37,6 @@ QuickToggleButton {
|
||||
}
|
||||
}
|
||||
StyledToolTip {
|
||||
content: "Night Light"
|
||||
content: qsTr("Night Light")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user