Translate the remaining shell text at display and keep translated values out of logic

This commit is contained in:
ZacharyZhang-NY committed 2026-10-06 21:50:11 -04:00
1 parent e236713d9f
commit 2b2302a279
17 files changed
+112 -25

No files matched your search

+2 -1
View File
@@ -555,6 +555,7 @@ Panel {
spacing: Style.space(2)
Text {
textFormat: Text.PlainText
text: I18n.tr("Display")
color: root.bar.foreground
font.family: root.bar.fontFamily
@@ -899,7 +900,7 @@ Panel {
Text {
textFormat: Text.PlainText
text: monitorRow.display.name + (monitorRow.display.focused ? " · focused" : "")
text: monitorRow.display.name + (monitorRow.display.focused ? " · " + I18n.tr("focused") : "")
color: root.bar.foreground
font.family: root.bar.fontFamily
font.pixelSize: Style.font.body