Localizations fixes

This commit is contained in:
Arkadiusz Fal 2023-05-19 09:55:04 +02:00
parent 6617ad5fc6
commit 72246448f1

View File

@ -73,7 +73,7 @@ struct PlayerControlsSettings: View {
} }
#endif #endif
Section(header: SettingsHeader(text: "Seeking"), footer: seekingGestureSection) { Section(header: SettingsHeader(text: "Seeking".localized()), footer: seekingGestureSection) {
systemControlsCommandsPicker systemControlsCommandsPicker
seekingSection seekingSection
@ -103,13 +103,13 @@ struct PlayerControlsSettings: View {
} }
var controlsButtonsSection: some View { var controlsButtonsSection: some View {
Section(header: SettingsHeader(text: "Controls Buttons")) { Section(header: SettingsHeader(text: "Controls Buttons".localized())) {
controlButtonToggles controlButtonToggles
} }
} }
@ViewBuilder var actionsButtonsSection: some View { @ViewBuilder var actionsButtonsSection: some View {
Section(header: SettingsHeader(text: "Actions Buttons")) { Section(header: SettingsHeader(text: "Actions Buttons".localized())) {
actionButtonToggles actionButtonToggles
} }
} }
@ -206,7 +206,7 @@ struct PlayerControlsSettings: View {
private func seekingDurationSetting(_ name: String, _ value: Binding<String>) -> some View { private func seekingDurationSetting(_ name: String, _ value: Binding<String>) -> some View {
HStack { HStack {
Text(name) Text(name.localized())
.frame(minWidth: 140, alignment: .leading) .frame(minWidth: 140, alignment: .leading)
Spacer() Spacer()