mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-04 23:13:17 +02:00
Update PR
Update PR
This commit is contained in:
parent
74235b7239
commit
820e4b1e39
|
@ -51,14 +51,16 @@ final class ItemDatabase
|
|||
dbVersion = db.getVersion();
|
||||
} catch (SqliteException e) {
|
||||
// An error was generated - what was the error?
|
||||
log.error("\nAn internal database error occurred: " ~ e.msg ~ "\n");
|
||||
// "\nAn internal database error occurred: " ~ e.msg ~ "\n"
|
||||
log.error(provideLanguageTranslation(languageIdentifier,331) ~ e.msg ~ "\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
if (dbVersion == 0) {
|
||||
createTable();
|
||||
} else if (db.getVersion() != itemDatabaseVersion) {
|
||||
log.log("The item database is incompatible, re-creating database table structures");
|
||||
// "The item database is incompatible, re-creating database table structures"
|
||||
log.log(provideLanguageTranslation(languageIdentifier,332));
|
||||
db.exec("DROP TABLE item");
|
||||
createTable();
|
||||
}
|
||||
|
|
|
@ -482,6 +482,10 @@ void initialise_EN_AU(){
|
|||
JSONValue([ "328": "ERROR: inotify_add_watch failed: " ]),
|
||||
JSONValue([ "329": "Monitoring this directory for local changes: " ]),
|
||||
JSONValue([ "330": "Removed this directory from being monitored for local changes: " ]),
|
||||
JSONValue([ "331": "\nAn internal database error occurred: " ]),
|
||||
JSONValue([ "332": "The item database is incompatible, re-creating database table structures" ]),
|
||||
JSONValue([ "330": "Removed this directory from being monitored for local changes: " ]),
|
||||
|
||||
|
||||
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue