mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 01:39:46 +00:00
Fix locales
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user