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

@@ -88,7 +88,7 @@ struct BookmarksListView: View {
VStack(spacing: 0) {
// tvOS: Inline search field and action button for better focus navigation
HStack(spacing: 24) {
TextField("Search bookmarks", text: $searchText)
TextField("search.bookmarks.placeholder", text: $searchText)
.textFieldStyle(.plain)
Button {

View File

@@ -85,7 +85,7 @@ struct HistoryListView: View {
VStack(spacing: 0) {
// tvOS: Inline search field and action button for better focus navigation
HStack(spacing: 24) {
TextField("Search history", text: $searchText)
TextField("search.history.placeholder", text: $searchText)
.textFieldStyle(.plain)
Button {

View File

@@ -739,7 +739,7 @@ private struct TVHomeItemRow: View {
.buttonStyle(TVCompactButtonStyle())
.alert(String(localized: "home.removeConfirmation.title"), isPresented: $showingDeleteConfirmation) {
Button(String(localized: "common.cancel"), role: .cancel) { }
Button("Remove", role: .destructive) {
Button("common.remove", role: .destructive) {
onDelete?()
}
}