Localizations fixes

This commit is contained in:
Arkadiusz Fal
2022-11-19 00:06:13 +01:00
parent be2af82300
commit 780b7ab130
13 changed files with 18 additions and 19 deletions

View File

@@ -76,8 +76,8 @@ struct BrowsingSettings: View {
#endif
Toggle("Show Open Videos quick actions", isOn: $showOpenActionsInHome)
HStack {
Text("Recent history")
TextField("Recent history", text: $homeHistoryItemsText)
Text("Recent History")
TextField("Recent History", text: $homeHistoryItemsText)
.labelsHidden()
#if !os(macOS)
.keyboardType(.numberPad)
@@ -92,8 +92,8 @@ struct BrowsingSettings: View {
.multilineTextAlignment(.trailing)
HStack {
Text("Recent documents")
TextField("Recent documents", text: $homeRecentDocumentsItemsText)
Text("Recent Documents")
TextField("Recent Documents", text: $homeRecentDocumentsItemsText)
.labelsHidden()
#if !os(macOS)
.keyboardType(.numberPad)
@@ -131,7 +131,7 @@ struct BrowsingSettings: View {
}
#else
NavigationLink(destination: LazyView(EditFavorites())) {
Text("Edit Favorites...")
Text("Edit Favorites")
}
#endif
}

View File

@@ -237,7 +237,7 @@ struct PlayerSettings: View {
private var detailsToolbarPositionPicker: some View {
Picker("Pages toolbar position", selection: $detailsToolbarPosition) {
ForEach(DetailsToolbarPositionSetting.allCases, id: \.self) { setting in
Text(setting.rawValue.capitalized).tag(setting)
Text(setting.rawValue.capitalized.localized()).tag(setting)
}
}
.modifier(SettingsPickerModifier())