Added Esperanto translations

Added beginnings of feed parsing,
    may need to switch parser.

Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
This commit is contained in:
Louis Hollingworth 2023-05-28 19:43:37 +01:00
parent 058cf52926
commit 9345b91573
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B
13 changed files with 213 additions and 16 deletions

View file

@ -52,6 +52,7 @@ class DataController: ObservableObject {
init(inMemory: Bool = false) {
container = NSPersistentCloudKitContainer(name: "Leganto")
if inMemory {
container.persistentStoreDescriptions.first!.url = URL(fileURLWithPath: "/dev/null")
}
@ -72,7 +73,17 @@ class DataController: ObservableObject {
fatalError("Unresolved error \(error), \(error.userInfo)")
}
})
/*
#if DEBUG
do {
try container.initializeCloudKitSchema()
} catch {
let err = error as NSError
fatalError("Unresolved error \(err), \(err.userInfo)")
}
#endif
*/
container.viewContext.automaticallyMergesChangesFromParent = true
}
}