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:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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?()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user