mirror of
https://github.com/yattee/yattee.git
synced 2026-02-21 10:19:46 +00:00
Migrate localization keys to dotted format
Remove 32 non-dotted keys (16 unused format specifiers, 16 word keys) and replace with properly namespaced dotted keys following the existing convention (common.*, player.*, search.*).
This commit is contained in:
@@ -75,10 +75,10 @@ struct TVSettingsTextField: View {
|
||||
} else {
|
||||
TextField(title, text: $editText)
|
||||
}
|
||||
Button("OK") {
|
||||
Button("common.ok") {
|
||||
text = editText
|
||||
}
|
||||
Button("Cancel", role: .cancel) { }
|
||||
Button("common.cancel", role: .cancel) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -136,7 +136,7 @@ struct TVSettingsToggle: View {
|
||||
HStack {
|
||||
Text(title)
|
||||
Spacer()
|
||||
Text(isOn ? "On" : "Off")
|
||||
Text(isOn ? "common.on" : "common.off")
|
||||
.foregroundStyle(.secondary)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user