From 72246448f16ad7dc97bb03c71147f48dc640cdca Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 19 May 2023 09:55:04 +0200 Subject: [PATCH] Localizations fixes --- Shared/Settings/PlayerControlsSettings.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Shared/Settings/PlayerControlsSettings.swift b/Shared/Settings/PlayerControlsSettings.swift index 8c1579a6..020844fd 100644 --- a/Shared/Settings/PlayerControlsSettings.swift +++ b/Shared/Settings/PlayerControlsSettings.swift @@ -73,7 +73,7 @@ struct PlayerControlsSettings: View { } #endif - Section(header: SettingsHeader(text: "Seeking"), footer: seekingGestureSection) { + Section(header: SettingsHeader(text: "Seeking".localized()), footer: seekingGestureSection) { systemControlsCommandsPicker seekingSection @@ -103,13 +103,13 @@ struct PlayerControlsSettings: View { } var controlsButtonsSection: some View { - Section(header: SettingsHeader(text: "Controls Buttons")) { + Section(header: SettingsHeader(text: "Controls Buttons".localized())) { controlButtonToggles } } @ViewBuilder var actionsButtonsSection: some View { - Section(header: SettingsHeader(text: "Actions Buttons")) { + Section(header: SettingsHeader(text: "Actions Buttons".localized())) { actionButtonToggles } } @@ -206,7 +206,7 @@ struct PlayerControlsSettings: View { private func seekingDurationSetting(_ name: String, _ value: Binding) -> some View { HStack { - Text(name) + Text(name.localized()) .frame(minWidth: 140, alignment: .leading) Spacer()