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 -2
View File
@@ -16,9 +16,9 @@ Column {
// Zone id -> offset text; read inside a binding, so its dependencies track.
property var offsetLabel: function(zoneId) { return "" }
property bool loading: false
property string buttonText: "+ Add a city"
property string buttonText: "+ " + I18n.tr("Add a city")
property string placeholderText: I18n.tr("Search cities…")
property string loadingText: "Loading zones\u2026"
property string loadingText: I18n.tr("Loading zones…")
property real fontSize: Style.font.bodySmall
property color foreground: Color.foreground
property color dim: Qt.darker(foreground, 1.55)