diff --git a/DHBW-Service/Supporting Files/l10n/de.lproj/General.strings b/DHBW-Service/Supporting Files/l10n/de.lproj/General.strings index b75ca20..40f514b 100644 --- a/DHBW-Service/Supporting Files/l10n/de.lproj/General.strings +++ b/DHBW-Service/Supporting Files/l10n/de.lproj/General.strings @@ -8,3 +8,5 @@ "name" = "Name"; "course" = "Kurs"; "director" = "Studiengangsleiter"; +"filledAuto" = "automatisch ausgefüllt"; +"welcomeText" = "Bitte fülle die folgenden Felder aus:"; diff --git a/DHBW-Service/Supporting Files/l10n/en.lproj/General.strings b/DHBW-Service/Supporting Files/l10n/en.lproj/General.strings index 3e95653..bf48c16 100644 --- a/DHBW-Service/Supporting Files/l10n/en.lproj/General.strings +++ b/DHBW-Service/Supporting Files/l10n/en.lproj/General.strings @@ -9,4 +9,4 @@ "course" = "Course"; "director" = "Director"; "filledAuto" = "filled automatically"; -"welcomeText" = "Please enter your data in the following fields."; +"welcomeText" = "Please enter your data in the following fields:"; diff --git a/DHBW-Service/Views/ContentView.swift b/DHBW-Service/Views/ContentView.swift index 7f2f875..53f80c5 100644 --- a/DHBW-Service/Views/ContentView.swift +++ b/DHBW-Service/Views/ContentView.swift @@ -44,17 +44,16 @@ extension ContentView{ } struct ContentView_Previews: PreviewProvider { - - static func getFirstOpening() -> LocalSettings { - let settings = LocalSettings(); - settings.isFirstOpening = false; - return settings - } - static var previews: some View { ContentView() .preferredColorScheme(.dark) .environmentObject(getFirstOpening()) .environment(\.managedObjectContext, PersistenceController.preview.container.viewContext) } + + static func getFirstOpening() -> LocalSettings { + let settings = LocalSettings(); + settings.isFirstOpening = false; + return settings + } }