From 4082936475de745b4db65970f7badd9143394728 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Tue, 27 Sep 2022 15:27:30 +0200 Subject: [PATCH] Fix localization --- Shared/Player/Controls/ControlsOverlay.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shared/Player/Controls/ControlsOverlay.swift b/Shared/Player/Controls/ControlsOverlay.swift index 43ec6acc..da0c728a 100644 --- a/Shared/Player/Controls/ControlsOverlay.swift +++ b/Shared/Player/Controls/ControlsOverlay.swift @@ -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) }