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:
Arkadiusz Fal
2026-02-20 20:29:55 +01:00
parent 4f5781bc20
commit ac0df38191
8 changed files with 132 additions and 63 deletions

View File

@@ -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)
}
}