Translate the remaining shell text at display and keep translated values out of logic
This commit is contained in:
1 parent
e236713d9f
commit
2b2302a279
17 files changed
+112
-25
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user