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:
Scarriffle
2026-07-15 06:45:22 +02:00
parent e008d5d98a
commit 108503ad53
2 changed files with 13 additions and 1 deletions

View File

@@ -137,6 +137,9 @@ private let strings: [String: [String: String]] = [
"settings.sunday": "Sonntag", "settings.sunday": "Sonntag",
"settings.dimpast": "Vergangene Termine ausgrauen", "settings.dimpast": "Vergangene Termine ausgrauen",
"settings.month_paged": "Monatsansicht seitenweise wischen", "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.default_duration": "Standard-Termindauer",
"settings.nav.profile": "Profil", "settings.nav.profile": "Profil",
"settings.privacy": "Privatsphäre", "settings.privacy": "Privatsphäre",
@@ -505,6 +508,9 @@ private let strings: [String: [String: String]] = [
"settings.sunday": "Sunday", "settings.sunday": "Sunday",
"settings.dimpast": "Dim past events", "settings.dimpast": "Dim past events",
"settings.month_paged": "Swipe month view as pages", "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.default_duration": "Default event duration",
"settings.nav.profile": "Profile", "settings.nav.profile": "Profile",
"settings.privacy": "Privacy", "settings.privacy": "Privacy",

View File

@@ -309,7 +309,13 @@ struct SettingsView: View {
} }
HStack(spacing: 12) { HStack(spacing: 12) {
syncIcon("month_view_paged") 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) { HStack(spacing: 12) {
syncIcon("hour_height") syncIcon("hour_height")