Fix locales

This commit is contained in:
Arkadiusz Fal
2026-02-09 00:13:46 +01:00
parent 05f921d605
commit 8464464199
55 changed files with 644 additions and 548 deletions

View File

@@ -580,7 +580,7 @@ struct DownloadQualitySheet: View {
if showAdvancedStreamDetails {
if stream.isMuxed {
Text("MUXED")
Text(String(localized: "stream.badge.muxed"))
.font(.caption2)
.padding(.horizontal, 6)
.padding(.vertical, 2)
@@ -666,7 +666,7 @@ struct DownloadQualitySheet: View {
if showAdvancedStreamDetails {
HStack(spacing: 4) {
if stream.isOriginalAudio {
Text("ORIGINAL")
Text(String(localized: "stream.audio.original"))
.font(.caption2)
.foregroundStyle(.secondary)
}
@@ -719,7 +719,7 @@ struct DownloadQualitySheet: View {
.font(.headline)
if let caption, caption.isAutoGenerated {
Text("AUTO")
Text(String(localized: "stream.subtitle.auto"))
.font(.caption2)
.padding(.horizontal, 6)
.padding(.vertical, 2)

View File

@@ -87,7 +87,7 @@ struct PlaylistSelectorSheet: View {
Button(role: .cancel) {
dismiss()
} label: {
Label("Close", systemImage: "xmark")
Label(String(localized: "common.close"), systemImage: "xmark")
.labelStyle(.iconOnly)
}
}

View File

@@ -1596,7 +1596,7 @@ struct VideoInfoView: View {
Button(role: .cancel) {
showingCommentsSheet = false
} label: {
Label("Close", systemImage: "xmark")
Label(String(localized: "common.close"), systemImage: "xmark")
.labelStyle(.iconOnly)
}
}