mirror of
https://github.com/yattee/yattee.git
synced 2025-01-09 22:37:09 +00:00
Localizations fixes
This commit is contained in:
parent
6617ad5fc6
commit
72246448f1
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user