mirror of
https://github.com/yattee/yattee.git
synced 2025-04-27 07:20:32 +05:30
Fix localization
This commit is contained in:
parent
7573b0321c
commit
4082936475
@ -251,7 +251,7 @@ struct ControlsOverlay: View {
|
||||
Menu {
|
||||
qualityProfilePicker
|
||||
} label: {
|
||||
Text(player.qualityProfileSelection?.description ?? "Automatic")
|
||||
Text(player.qualityProfileSelection?.description ?? "Automatic".localized())
|
||||
.frame(maxWidth: 240)
|
||||
}
|
||||
.transaction { t in t.animation = .none }
|
||||
@ -263,7 +263,7 @@ struct ControlsOverlay: View {
|
||||
.mask(RoundedRectangle(cornerRadius: 3))
|
||||
#else
|
||||
ControlsOverlayButton(focusedField: $focusedField, field: .qualityProfile) {
|
||||
Text(player.qualityProfileSelection?.description ?? "Automatic")
|
||||
Text(player.qualityProfileSelection?.description ?? "Automatic".localized())
|
||||
.lineLimit(1)
|
||||
.frame(maxWidth: 320)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user