iOS: month-switching setting as a named dropdown (parity with web)
Replace the boolean "month view as pages" toggle with a Monatswechsel dropdown: Continuous scroll vs. Page by page — same names/format as the web client. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -137,6 +137,9 @@ private let strings: [String: [String: String]] = [
|
||||
"settings.sunday": "Sonntag",
|
||||
"settings.dimpast": "Vergangene Termine ausgrauen",
|
||||
"settings.month_paged": "Monatsansicht seitenweise wischen",
|
||||
"settings.month_mode": "Monatswechsel",
|
||||
"settings.month_mode.scroll": "Fortlaufend scrollen",
|
||||
"settings.month_mode.paged": "Seitenweise blättern",
|
||||
"settings.default_duration": "Standard-Termindauer",
|
||||
"settings.nav.profile": "Profil",
|
||||
"settings.privacy": "Privatsphäre",
|
||||
@@ -505,6 +508,9 @@ private let strings: [String: [String: String]] = [
|
||||
"settings.sunday": "Sunday",
|
||||
"settings.dimpast": "Dim past events",
|
||||
"settings.month_paged": "Swipe month view as pages",
|
||||
"settings.month_mode": "Month switching",
|
||||
"settings.month_mode.scroll": "Continuous scroll",
|
||||
"settings.month_mode.paged": "Page by page",
|
||||
"settings.default_duration": "Default event duration",
|
||||
"settings.nav.profile": "Profile",
|
||||
"settings.privacy": "Privacy",
|
||||
|
||||
@@ -309,7 +309,13 @@ struct SettingsView: View {
|
||||
}
|
||||
HStack(spacing: 12) {
|
||||
syncIcon("month_view_paged")
|
||||
Toggle(L10n.t("settings.month_paged", appLang), isOn: $monthViewPaged).tint(Color.accentColor)
|
||||
Text(L10n.t("settings.month_mode", appLang))
|
||||
Spacer()
|
||||
Picker("", selection: $monthViewPaged) {
|
||||
Text(L10n.t("settings.month_mode.scroll", appLang)).tag(false)
|
||||
Text(L10n.t("settings.month_mode.paged", appLang)).tag(true)
|
||||
}
|
||||
.pickerStyle(.menu).labelsHidden()
|
||||
}
|
||||
HStack(spacing: 12) {
|
||||
syncIcon("hour_height")
|
||||
|
||||
Reference in New Issue
Block a user