small bug fixes

This commit is contained in:
2026-10-11 22:19:34 +02:00
parent c6391a384c
commit 4af7385804
36 changed files with 1558 additions and 399 deletions
+100 -86
View File
@@ -3,10 +3,11 @@
x:Name="RootPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:loc="clr-namespace:cfs_tracker.Helpers"
xmlns:views="clr-namespace:cfs_tracker.Views"
xmlns:viewModels="clr-namespace:cfs_tracker.ViewModels"
x:DataType="viewModels:OptionsViewModel"
Title="Optionen"
Title="{loc:Translate Tab_Options}"
BackgroundColor="{DynamicResource AppBackground}">
<ContentPage.Resources>
@@ -33,7 +34,7 @@
<Grid>
<ScrollView>
<VerticalStackLayout Padding="16" Spacing="16">
<Label Text="Optionen"
<Label Text="{loc:Translate Tab_Options}"
FontSize="28"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
@@ -48,7 +49,7 @@
Wrap="Wrap"
AlignItems="Start"
JustifyContent="Start">
<Button Text="Aussehen"
<Button Text="{loc:Translate Options_Tab_Appearance}"
Style="{StaticResource OptionsTabButtonStyle}"
Command="{Binding ShowAppearanceTabCommand}">
<Button.Triggers>
@@ -63,7 +64,7 @@
</Button.Triggers>
</Button>
<Button Text="Push-Nachrichten"
<Button Text="{loc:Translate Options_Tab_Notifications}"
Style="{StaticResource OptionsTabButtonStyle}"
Command="{Binding ShowNotificationsTabCommand}">
<Button.Triggers>
@@ -78,7 +79,7 @@
</Button.Triggers>
</Button>
<Button Text="Datenverwaltung"
<Button Text="{loc:Translate Options_Tab_Data}"
Style="{StaticResource OptionsTabButtonStyle}"
Command="{Binding ShowDataManagementTabCommand}">
<Button.Triggers>
@@ -93,7 +94,7 @@
</Button.Triggers>
</Button>
<Button Text="Export"
<Button Text="{loc:Translate Common_Export}"
Style="{StaticResource OptionsTabButtonStyle}"
Command="{Binding ShowExportTabCommand}">
<Button.Triggers>
@@ -108,7 +109,7 @@
</Button.Triggers>
</Button>
<Button Text="Rechtliches"
<Button Text="{loc:Translate Options_Tab_Legal}"
Style="{StaticResource OptionsTabButtonStyle}"
Command="{Binding ShowLegalTabCommand}">
<Button.Triggers>
@@ -131,16 +132,26 @@
Stroke="{DynamicResource Border}"
BackgroundColor="{DynamicResource SurfaceBackground}">
<VerticalStackLayout Spacing="12">
<Label Text="Aussehen"
<Label Text="{loc:Translate Options_Appearance_Title}"
FontSize="20"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Pro Farbe wird nur noch Vorschau und Dialog-Button angezeigt. Der eigentliche Farbwert wird erst im Farbdialog bearbeitet."
<Label Text="{loc:Translate Options_Appearance_Description}"
TextColor="{DynamicResource TextMuted}" />
<VerticalStackLayout x:Name="AppearanceColorsHost"
Spacing="10" />
<VerticalStackLayout Spacing="4"
Padding="0,6">
<Label Text="{loc:Translate Options_Appearance_LanguageLabel}"
TextColor="{DynamicResource TextPrimary}" />
<Picker Title="{loc:Translate Options_Appearance_LanguagePicker}"
ItemsSource="{Binding LanguageOptions}"
ItemDisplayBinding="{Binding DisplayName, x:DataType=viewModels:LanguageOptionItemViewModel}"
SelectedItem="{Binding SelectedLanguageOption}" />
<Label Text="{Binding SelectedLanguageDescription}"
FontSize="12"
TextColor="{DynamicResource TextMuted}" />
</VerticalStackLayout>
<VerticalStackLayout BindableLayout.ItemsSource="{Binding StatusTexts}"
Spacing="10">
@@ -156,13 +167,16 @@
</BindableLayout.ItemTemplate>
</VerticalStackLayout>
<VerticalStackLayout x:Name="AppearanceColorsHost"
Spacing="10" />
<Grid ColumnDefinitions="*,*"
ColumnSpacing="12">
<Button Text="Speichern"
<Button Text="{loc:Translate Common_Save}"
Style="{StaticResource PrimaryButtonStyle}"
Command="{Binding SaveAppearanceCommand}" />
<Button Grid.Column="1"
Text="Zurücksetzen"
Text="{loc:Translate Common_Reset}"
Style="{StaticResource SecondaryButtonStyle}"
Command="{Binding ResetAppearanceCommand}" />
</Grid>
@@ -176,12 +190,12 @@
Stroke="{DynamicResource Border}"
BackgroundColor="{DynamicResource SurfaceBackground}">
<VerticalStackLayout Spacing="12">
<Label Text="Push-Benachrichtigungen"
<Label Text="{loc:Translate Options_Notifications_Title}"
FontSize="20"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Ein Zeitblock kann auf mehreren Wochentagen aktiv sein."
<Label Text="{loc:Translate Options_Notifications_Description}"
TextColor="{DynamicResource TextMuted}" />
<Grid ColumnDefinitions="Auto,*"
@@ -204,16 +218,16 @@
<VerticalStackLayout Grid.Column="1"
Spacing="2">
<Label Text="Vibration für Push-Nachrichten"
<Label Text="{loc:Translate Options_Notifications_VibrationLabel}"
VerticalOptions="Center"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Auf Android wird dafür automatisch der passende Benachrichtigungskanal verwendet."
<Label Text="{loc:Translate Options_Notifications_VibrationHint}"
FontSize="12"
TextColor="{DynamicResource TextMuted}" />
</VerticalStackLayout>
</Grid>
<Button Text="Zeit hinzufügen"
<Button Text="{loc:Translate Options_Notifications_AddTime}"
Style="{StaticResource PrimaryButtonStyle}"
Command="{Binding AddScheduleCommand}" />
@@ -249,7 +263,7 @@
<Grid ColumnDefinitions="*,*,*,*,*,*,*"
ColumnSpacing="6">
<Button Text="Mo"
<Button Text="{loc:Translate Common_Weekday_Mon}"
Style="{StaticResource DayToggleButtonStyle}"
Command="{Binding ToggleMondayCommand}">
<Button.Triggers>
@@ -265,7 +279,7 @@
</Button>
<Button Grid.Column="1"
Text="Di"
Text="{loc:Translate Common_Weekday_Tue}"
Style="{StaticResource DayToggleButtonStyle}"
Command="{Binding ToggleTuesdayCommand}">
<Button.Triggers>
@@ -281,7 +295,7 @@
</Button>
<Button Grid.Column="2"
Text="Mi"
Text="{loc:Translate Common_Weekday_Wed}"
Style="{StaticResource DayToggleButtonStyle}"
Command="{Binding ToggleWednesdayCommand}">
<Button.Triggers>
@@ -297,7 +311,7 @@
</Button>
<Button Grid.Column="3"
Text="Do"
Text="{loc:Translate Common_Weekday_Thu}"
Style="{StaticResource DayToggleButtonStyle}"
Command="{Binding ToggleThursdayCommand}">
<Button.Triggers>
@@ -313,7 +327,7 @@
</Button>
<Button Grid.Column="4"
Text="Fr"
Text="{loc:Translate Common_Weekday_Fri}"
Style="{StaticResource DayToggleButtonStyle}"
Command="{Binding ToggleFridayCommand}">
<Button.Triggers>
@@ -329,7 +343,7 @@
</Button>
<Button Grid.Column="5"
Text="Sa"
Text="{loc:Translate Common_Weekday_Sat}"
Style="{StaticResource DayToggleButtonStyle}"
Command="{Binding ToggleSaturdayCommand}">
<Button.Triggers>
@@ -345,7 +359,7 @@
</Button>
<Button Grid.Column="6"
Text="So"
Text="{loc:Translate Common_Weekday_Sun}"
Style="{StaticResource DayToggleButtonStyle}"
Command="{Binding ToggleSundayCommand}">
<Button.Triggers>
@@ -361,7 +375,7 @@
</Button>
</Grid>
<Button Text="Entfernen"
<Button Text="{loc:Translate Common_Delete}"
Style="{StaticResource SecondaryButtonStyle}"
Command="{Binding Source={x:Reference RootPage}, Path=ViewModel.DeleteScheduleCommand, x:DataType=views:OptionsPage}"
CommandParameter="{Binding .}" />
@@ -371,7 +385,7 @@
</BindableLayout.ItemTemplate>
</VerticalStackLayout>
<Button Text="Benachrichtigungszeiten speichern"
<Button Text="{loc:Translate Options_Notifications_Save}"
Style="{StaticResource PrimaryButtonStyle}"
Command="{Binding SaveSchedulesCommand}" />
</VerticalStackLayout>
@@ -384,18 +398,18 @@
Stroke="{DynamicResource Border}"
BackgroundColor="{DynamicResource SurfaceBackground}">
<VerticalStackLayout Spacing="12">
<Label Text="Export"
<Label Text="{loc:Translate Options_Export_Title}"
FontSize="20"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Lege Zeitraum und Darstellung fest. Nach dem Erstellen kannst du den Export direkt öffnen oder teilen."
<Label Text="{loc:Translate Options_Export_Description}"
TextColor="{DynamicResource TextMuted}" />
<Grid ColumnDefinitions="*,*"
ColumnSpacing="12">
<VerticalStackLayout Spacing="4">
<Label Text="Von"
<Label Text="{loc:Translate Common_From}"
TextColor="{DynamicResource TextPrimary}" />
<DatePicker Date="{Binding ExportStartDate}"
MaximumDate="{Binding ExportEndDate}" />
@@ -403,7 +417,7 @@
<VerticalStackLayout Grid.Column="1"
Spacing="4">
<Label Text="Bis"
<Label Text="{loc:Translate Common_To}"
TextColor="{DynamicResource TextPrimary}" />
<DatePicker Date="{Binding ExportEndDate}"
MinimumDate="{Binding ExportStartDate}" />
@@ -413,12 +427,12 @@
<Label Text="{Binding ExportRangeSummary}"
TextColor="{DynamicResource TextMuted}" />
<Label Text="Filter (optional)"
<Label Text="{loc:Translate Options_Export_FilterTitle}"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
<VerticalStackLayout Spacing="4">
<Label Text="Tätigkeit"
<Label Text="{loc:Translate QuickEntry_ActivityLabel}"
TextColor="{DynamicResource TextPrimary}" />
<Picker ItemsSource="{Binding ExportActivities}"
ItemDisplayBinding="{Binding Name, x:DataType=viewModels:ActivityPickerItemViewModel}"
@@ -426,9 +440,9 @@
</VerticalStackLayout>
<VerticalStackLayout Spacing="6">
<Label Text="Symptome"
<Label Text="{loc:Translate QuickEntry_SymptomsLabel}"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Mehrfachauswahl möglich."
<Label Text="{loc:Translate Options_Export_SymptomsHint}"
FontSize="12"
TextColor="{DynamicResource TextMuted}" />
@@ -461,11 +475,11 @@
<Label Text="{Binding ExportFilterSummary}"
TextColor="{DynamicResource TextMuted}" />
<Button Text="Filter zurücksetzen"
<Button Text="{loc:Translate Options_Export_ResetFilters}"
Style="{StaticResource SecondaryButtonStyle}"
Command="{Binding ResetExportFiltersCommand}" />
<Label Text="Exportmodus"
<Label Text="{loc:Translate Options_Export_ModeTitle}"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
@@ -473,7 +487,7 @@
Wrap="Wrap"
AlignItems="Start"
JustifyContent="Start">
<Button Text="Tagesansicht"
<Button Text="{loc:Translate Options_Export_Mode_DayView}"
Style="{StaticResource DayToggleButtonStyle}"
Margin="0,0,10,10"
Command="{Binding SelectDayViewExportLayoutCommand}">
@@ -489,7 +503,7 @@
</Button.Triggers>
</Button>
<Button Text="Wochenblock"
<Button Text="{loc:Translate Options_Export_Mode_WeekBlock}"
Style="{StaticResource DayToggleButtonStyle}"
Margin="0,0,10,10"
Command="{Binding SelectWeekBlockExportLayoutCommand}">
@@ -505,7 +519,7 @@
</Button.Triggers>
</Button>
<Button Text="Tageszusammenfassung"
<Button Text="{loc:Translate Options_Export_Mode_DaySummary}"
Style="{StaticResource DayToggleButtonStyle}"
Margin="0,0,10,10"
Command="{Binding SelectDaySummaryExportLayoutCommand}">
@@ -525,11 +539,11 @@
<Label Text="{Binding SelectedExportLayoutDescription}"
TextColor="{DynamicResource TextMuted}" />
<Button Text="Export erstellen"
<Button Text="{loc:Translate Options_Export_Create}"
Style="{StaticResource PrimaryButtonStyle}"
Command="{Binding ExportSelectedRangeCommand}" />
<Button Text="Export entleeren"
<Button Text="{loc:Translate Options_Export_Clear}"
Style="{StaticResource SecondaryButtonStyle}"
Command="{Binding ClearExportsCommand}" />
</VerticalStackLayout>
@@ -542,7 +556,7 @@
Stroke="{DynamicResource Border}"
BackgroundColor="{DynamicResource SurfaceBackground}">
<VerticalStackLayout Spacing="12">
<Label Text="Tätigkeiten"
<Label Text="{loc:Translate Options_Data_ActivitiesTitle}"
FontSize="20"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
@@ -550,9 +564,9 @@
<Grid ColumnDefinitions="*,Auto"
ColumnSpacing="10">
<Entry Text="{Binding NewActivityName}"
Placeholder="Neue Tätigkeit" />
Placeholder="{loc:Translate Options_Data_NewActivityPlaceholder}" />
<Button Grid.Column="1"
Text="Hinzufügen"
Text="{loc:Translate Common_Add}"
Style="{StaticResource PrimaryButtonStyle}"
Command="{Binding AddActivityCommand}" />
</Grid>
@@ -571,17 +585,17 @@
TextColor="{DynamicResource TextMuted}" />
<Grid ColumnDefinitions="*,*,*"
ColumnSpacing="8">
<Button Text="Speichern"
<Button Text="{loc:Translate Common_Save}"
Style="{StaticResource PrimaryButtonStyle}"
Command="{Binding Source={x:Reference RootPage}, Path=ViewModel.SaveActivityCommand, x:DataType=views:OptionsPage}"
CommandParameter="{Binding .}" />
<Button Grid.Column="1"
Text="Aktiv/Inaktiv"
Text="{loc:Translate Options_Data_ToggleActive}"
Style="{StaticResource SecondaryButtonStyle}"
Command="{Binding Source={x:Reference RootPage}, Path=ViewModel.ToggleActivityActiveCommand, x:DataType=views:OptionsPage}"
CommandParameter="{Binding .}" />
<Button Grid.Column="2"
Text="Entfernen"
Text="{loc:Translate Common_Delete}"
Style="{StaticResource SecondaryButtonStyle}"
Command="{Binding Source={x:Reference RootPage}, Path=ViewModel.DeleteActivityCommand, x:DataType=views:OptionsPage}"
CommandParameter="{Binding .}" />
@@ -598,7 +612,7 @@
Stroke="{DynamicResource Border}"
BackgroundColor="{DynamicResource SurfaceBackground}">
<VerticalStackLayout Spacing="12">
<Label Text="Symptome"
<Label Text="{loc:Translate Options_Data_SymptomsTitle}"
FontSize="20"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
@@ -606,9 +620,9 @@
<Grid ColumnDefinitions="*,Auto"
ColumnSpacing="10">
<Entry Text="{Binding NewSymptomName}"
Placeholder="Neues Symptom" />
Placeholder="{loc:Translate Options_Data_NewSymptomPlaceholder}" />
<Button Grid.Column="1"
Text="Hinzufügen"
Text="{loc:Translate Common_Add}"
Style="{StaticResource PrimaryButtonStyle}"
Command="{Binding AddSymptomCommand}" />
</Grid>
@@ -627,17 +641,17 @@
TextColor="{DynamicResource TextMuted}" />
<Grid ColumnDefinitions="*,*,*"
ColumnSpacing="8">
<Button Text="Speichern"
<Button Text="{loc:Translate Common_Save}"
Style="{StaticResource PrimaryButtonStyle}"
Command="{Binding Source={x:Reference RootPage}, Path=ViewModel.SaveSymptomCommand, x:DataType=views:OptionsPage}"
CommandParameter="{Binding .}" />
<Button Grid.Column="1"
Text="Aktiv/Inaktiv"
Text="{loc:Translate Options_Data_ToggleActive}"
Style="{StaticResource SecondaryButtonStyle}"
Command="{Binding Source={x:Reference RootPage}, Path=ViewModel.ToggleSymptomActiveCommand, x:DataType=views:OptionsPage}"
CommandParameter="{Binding .}" />
<Button Grid.Column="2"
Text="Entfernen"
Text="{loc:Translate Common_Delete}"
Style="{StaticResource SecondaryButtonStyle}"
Command="{Binding Source={x:Reference RootPage}, Path=ViewModel.DeleteSymptomCommand, x:DataType=views:OptionsPage}"
CommandParameter="{Binding .}" />
@@ -654,30 +668,30 @@
Stroke="{DynamicResource Border}"
BackgroundColor="{DynamicResource SurfaceBackground}">
<VerticalStackLayout Spacing="12">
<Label Text="Datenbank"
<Label Text="{loc:Translate Options_Database_Title}"
FontSize="20"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="{Binding CurrentDatabasePath, StringFormat='Aktiver Pfad: {0}'}"
<Label Text="{Binding CurrentDatabasePathText}"
TextColor="{DynamicResource TextMuted}" />
<Grid ColumnDefinitions="Auto,*"
ColumnSpacing="8">
<CheckBox IsChecked="{Binding UseExternalDatabase}" />
<Label Grid.Column="1"
Text="Externe Datenbank verwenden"
Text="{loc:Translate Options_Database_UseExternal}"
VerticalOptions="Center"
TextColor="{DynamicResource TextPrimary}" />
</Grid>
<Entry Text="{Binding ExternalDatabasePath}"
Placeholder="Ordner oder Dateipfad für externe DB" />
Placeholder="{loc:Translate Options_Database_ExternalPathPlaceholder}" />
<Label Text="Für SQLite ist ein externer Dateipfad sinnvoll. Für echte Mehrbenutzer-Synchronisierung ist später eher ein eigener Server oder eine API-Schicht besser geeignet."
<Label Text="{loc:Translate Options_Database_Hint}"
TextColor="{DynamicResource TextMuted}" />
<Button Text="Datenbankpfad speichern"
<Button Text="{loc:Translate Options_Database_Save}"
Style="{StaticResource PrimaryButtonStyle}"
Command="{Binding SaveDatabaseLocationCommand}" />
</VerticalStackLayout>
@@ -687,49 +701,49 @@
Stroke="{DynamicResource Border}"
BackgroundColor="{DynamicResource SurfaceBackground}">
<VerticalStackLayout Spacing="12">
<Label Text="Alle Einträge löschen"
<Label Text="{loc:Translate Options_Data_DeleteAllTitle}"
FontSize="20"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Zum Bestätigen 'löschen' eingeben."
<Label Text="{loc:Translate Options_Data_DeleteAllDescription}"
TextColor="{DynamicResource TextMuted}" />
<Entry Text="{Binding DeleteConfirmationText}"
Placeholder="löschen" />
<Button Text="Alles löschen"
Placeholder="{loc:Translate Options_Data_DeleteConfirmationKeyword}" />
<Button Text="{loc:Translate Options_Data_DeleteAllButton}"
Style="{StaticResource SecondaryButtonStyle}"
Command="{Binding DeleteAllDataCommand}" />
</VerticalStackLayout>
</Border>
</VerticalStackLayout>
<VerticalStackLayout IsVisible="{Binding IsLegalTabSelected}"
Spacing="16">
<Border Padding="12"
Stroke="{DynamicResource Border}"
BackgroundColor="{DynamicResource SurfaceBackground}">
<VerticalStackLayout Spacing="12">
<Label Text="Datenschutzerklaerung"
<Label Text="{loc:Translate Options_Legal_PrivacyTitle}"
FontSize="20"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Stand: 03.04.2026"
<Label Text="{loc:Translate Options_Legal_PrivacyDate}"
TextColor="{DynamicResource TextMuted}" />
<Label Text="Diese App verarbeitet deine Angaben ausschliesslich fuer die Nutzung auf deinem Geraet. Es werden keine Nutzerdaten automatisch an mich oder an Dritte uebermittelt, verkauft oder fuer Werbezwecke weitergegeben."
<Label Text="{loc:Translate Options_Legal_PrivacyBody1}"
LineBreakMode="WordWrap"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Gespeichert werden Eintraege, Auswahllisten, Benachrichtigungszeiten, Darstellungseinstellungen und bei Bedarf lokal erzeugte Exportdateien. Eine Cloud-Synchronisierung oder ein automatischer Hintergrund-Upload findet durch diese App nicht statt."
<Label Text="{loc:Translate Options_Legal_PrivacyBody2}"
LineBreakMode="WordWrap"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Die Speicherung erfolgt lokal im internen App-Bereich beziehungsweise in einem von dir selbst gewaehlten Speicherort. Die Daten liegen dort in technischer App-Struktur und sind nicht fuer eine unmittelbar oeffentliche Darstellung bestimmt. Bei direktem technischem Zugriff auf das Geraet oder auf Dateien kann jedoch nicht vollstaendig ausgeschlossen werden, dass fachkundige Personen Rueckschluesse auf Art und Inhalt der gespeicherten Daten ziehen koennen."
<Label Text="{loc:Translate Options_Legal_PrivacyBody3}"
LineBreakMode="WordWrap"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Wenn du Exportdateien bewusst teilst oder einen externen Datenbankpfad verwendest, entscheidest du selbst ueber diesen Speicher- oder Weitergabeweg."
<Label Text="{loc:Translate Options_Legal_PrivacyBody4}"
LineBreakMode="WordWrap"
TextColor="{DynamicResource TextPrimary}" />
</VerticalStackLayout>
@@ -739,16 +753,16 @@
Stroke="{DynamicResource Border}"
BackgroundColor="{DynamicResource SurfaceBackground}">
<VerticalStackLayout Spacing="12">
<Label Text="Haftungshinweis"
<Label Text="{loc:Translate Options_Legal_DisclaimerTitle}"
FontSize="20"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Die Nutzung der App erfolgt auf eigenes Risiko. Soweit gesetzlich zulaessig, uebernehme ich keine Gewaehr oder Haftung fuer Aktualitaet, Richtigkeit, Vollstaendigkeit, technische Verfuegbarkeit, Datenverlust oder dafuer, dass die App fuer einen bestimmten Zweck geeignet ist."
<Label Text="{loc:Translate Options_Legal_DisclaimerBody1}"
LineBreakMode="WordWrap"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Die App ersetzt keine medizinische, therapeutische, pflegerische, rechtliche oder technische Fachberatung."
<Label Text="{loc:Translate Options_Legal_DisclaimerBody2}"
LineBreakMode="WordWrap"
TextColor="{DynamicResource TextPrimary}" />
</VerticalStackLayout>
@@ -758,16 +772,16 @@
Stroke="{DynamicResource Border}"
BackgroundColor="{DynamicResource SurfaceBackground}">
<VerticalStackLayout Spacing="12">
<Label Text="Persoenlicher Hinweis"
<Label Text="{loc:Translate Options_Legal_PersonalTitle}"
FontSize="20"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Diese App wurde nicht von einem Fachinformatiker entwickelt. Ich bin selbst Betroffener mit ME/CFS und habe die Anwendung aus eigener Perspektive und Erfahrung heraus erstellt."
<Label Text="{loc:Translate Options_Legal_PersonalBody1}"
LineBreakMode="WordWrap"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Gerade deshalb soll die App im Alltag helfen, sie ist aber ein persoenliches Projekt und kein professionell zertifiziertes Medizin- oder Softwareprodukt."
<Label Text="{loc:Translate Options_Legal_PersonalBody2}"
LineBreakMode="WordWrap"
TextColor="{DynamicResource TextPrimary}" />
</VerticalStackLayout>
@@ -789,7 +803,7 @@
MaximumWidthRequest="560">
<VerticalStackLayout Spacing="14">
<Label x:Name="ColorDialogTitleLabel"
Text="Farbe bearbeiten"
Text="{loc:Translate Options_ColorDialog_EditTitle}"
FontSize="22"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
@@ -818,7 +832,7 @@
<Grid ColumnDefinitions="80,*,56"
ColumnSpacing="10">
<Label Text="Rot"
<Label Text="{loc:Translate Options_ColorDialog_Red}"
VerticalOptions="Center"
TextColor="{DynamicResource TextPrimary}" />
<Slider x:Name="DialogRedSlider"
@@ -836,7 +850,7 @@
<Grid ColumnDefinitions="80,*,56"
ColumnSpacing="10">
<Label Text="Grün"
<Label Text="{loc:Translate Options_ColorDialog_Green}"
VerticalOptions="Center"
TextColor="{DynamicResource TextPrimary}" />
<Slider x:Name="DialogGreenSlider"
@@ -854,7 +868,7 @@
<Grid ColumnDefinitions="80,*,56"
ColumnSpacing="10">
<Label Text="Blau"
<Label Text="{loc:Translate Options_ColorDialog_Blue}"
VerticalOptions="Center"
TextColor="{DynamicResource TextPrimary}" />
<Slider x:Name="DialogBlueSlider"
@@ -872,7 +886,7 @@
<Grid ColumnDefinitions="80,*,56"
ColumnSpacing="10">
<Label Text="Hell"
<Label Text="{loc:Translate Options_ColorDialog_Brightness}"
VerticalOptions="Center"
TextColor="{DynamicResource TextPrimary}" />
<Slider x:Name="DialogBrightnessSlider"
@@ -889,21 +903,21 @@
TextColor="{DynamicResource TextMuted}" />
</Grid>
<Label Text="Zurücksetzen lädt nur den Standardwert in den Dialog. Erst Übernehmen speichert die Änderung. Abbrechen verwirft alles aus diesem Dialog wieder."
<Label Text="{loc:Translate Options_ColorDialog_Hint}"
FontSize="12"
TextColor="{DynamicResource TextMuted}" />
<Grid ColumnDefinitions="*,*,*"
ColumnSpacing="10">
<Button Text="Zurücksetzen"
<Button Text="{loc:Translate Common_Reset}"
Style="{StaticResource SecondaryButtonStyle}"
Clicked="OnResetColorDialogClicked" />
<Button Grid.Column="1"
Text="Abbrechen"
Text="{loc:Translate Common_Cancel}"
Style="{StaticResource SecondaryButtonStyle}"
Clicked="OnCancelColorDialogClicked" />
<Button Grid.Column="2"
Text="Übernehmen"
Text="{loc:Translate Common_Apply}"
Style="{StaticResource PrimaryButtonStyle}"
Clicked="OnApplyColorDialogClicked" />
</Grid>