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