i18n: add brightness tooltip translation

This commit is contained in:
Ly-sec
2025-10-27 13:11:24 +01:00
parent ba5f24191f
commit 01657ee545
7 changed files with 9 additions and 1 deletions
+3 -1
View File
@@ -91,7 +91,9 @@ Item {
var monitor = getMonitor()
if (!monitor)
return ""
return "Brightness: " + Math.round(monitor.brightness * 100) + "%\nRight click for settings.\nScroll to modify brightness."
return I18n.tr("tooltips.brightness-at", {
"brightness": Math.round(monitor.brightness * 100)
})
}
onWheel: function (angle) {