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";
|
"name" = "Name";
|
||||||
"course" = "Kurs";
|
"course" = "Kurs";
|
||||||
"director" = "Studiengangsleiter";
|
"director" = "Studiengangsleiter";
|
||||||
|
"filledAuto" = "automatisch ausgefüllt";
|
||||||
|
"welcomeText" = "Bitte fülle die folgenden Felder aus:";
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
"course" = "Course";
|
"course" = "Course";
|
||||||
"director" = "Director";
|
"director" = "Director";
|
||||||
"filledAuto" = "filled automatically";
|
"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 {
|
struct ContentView_Previews: PreviewProvider {
|
||||||
|
|
||||||
static func getFirstOpening() -> LocalSettings {
|
|
||||||
let settings = LocalSettings();
|
|
||||||
settings.isFirstOpening = false;
|
|
||||||
return settings
|
|
||||||
}
|
|
||||||
|
|
||||||
static var previews: some View {
|
static var previews: some View {
|
||||||
ContentView()
|
ContentView()
|
||||||
.preferredColorScheme(.dark)
|
.preferredColorScheme(.dark)
|
||||||
.environmentObject(getFirstOpening())
|
.environmentObject(getFirstOpening())
|
||||||
.environment(\.managedObjectContext, PersistenceController.preview.container.viewContext)
|
.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