mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Localizations fixes
This commit is contained in:
parent
6617ad5fc6
commit
72246448f1
@ -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<String>) -> some View {
|
||||
HStack {
|
||||
Text(name)
|
||||
Text(name.localized())
|
||||
.frame(minWidth: 140, alignment: .leading)
|
||||
Spacer()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user