Fix db corrupted error message to make it apply to all db types (#1189)

Fixes #12242
This commit is contained in:
Paul Culley 2021-05-06 10:21:16 -05:00 committed by GitHub
parent 249a3180f0
commit 0945f8908c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ class CLIDbLoader:
_("Low level database corruption detected")
+ '\n' +
_("Gramps has detected a problem in the underlying "
"Berkeley database. This can be repaired from "
"database. This can sometimes be repaired from "
"the Family Tree Manager. Select the database and "
'click on the Repair button'
) + '\n\n' + str(msg))

View File

@ -199,7 +199,7 @@ class User(user.UserBase):
self.notify_error(
_("Low level database corruption detected"),
_("Gramps has detected a problem in the underlying "
"Berkeley database. This can be repaired from "
"database. This can sometimes be repaired from "
"the Family Tree Manager. Select the database and "
'click on the Repair button') + '\n\n' + error)

View File

@ -294,7 +294,7 @@ class DBErrorDialog(ErrorDialog):
self,
_("Low level database corruption detected"),
_("Gramps has detected a problem in the underlying "
"Berkeley database. This can be repaired from "
"database. This can sometimes be repaired from "
"the Family Tree Manager. Select the database and "
'click on the Repair button') + '\n\n' + msg, parent)