feat: Backup session and restore on database error

This commit is contained in:
krille-chan 2023-12-31 10:03:07 +01:00
commit 2a5c9d0a62
No known key found for this signature in database
5 changed files with 178 additions and 18 deletions

View file

@ -2386,11 +2386,28 @@
"decline": "Decline",
"thisDevice": "This device:",
"initAppError": "An error occured while init the app",
"databaseBuildErrorBody": "Unable to build the SQlite database. The app tries to use the legacy database for now. Please report this error to the developers at {url}",
"databaseBuildErrorBody": "Unable to build the SQlite database. The app tries to use the legacy database for now. Please report this error to the developers at {url}. The error message is: {error}",
"@databaseBuildErrorBody": {
"type": "text",
"placeholders": {
"url": {}
"url": {},
"error": {}
}
},
"sessionLostBody": "Your session is lost. Please report this error to the developers at {url}. The error message is: {error}",
"@sessionLostBody": {
"type": "text",
"placeholders": {
"url": {},
"error": {}
}
},
"restoreSessionBody": "The app now tries to restore your session from the backup. Please report this error to the developers at {url}. The error message is: {error}",
"@restoreSessionBody": {
"type": "text",
"placeholders": {
"url": {},
"error": {}
}
}
}