mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2024-11-01 00:43:58 +00:00
i18n and reformatting
This commit is contained in:
parent
1d209aae42
commit
5bd5743d8b
|
@ -8,3 +8,5 @@
|
|||
"name" = "Name";
|
||||
"course" = "Kurs";
|
||||
"director" = "Studiengangsleiter";
|
||||
"filledAuto" = "automatisch ausgefüllt";
|
||||
"welcomeText" = "Bitte fülle die folgenden Felder aus:";
|
||||
|
|
|
@ -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:";
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user