Fix db corrupted error message to make it apply to all db types (#1189)
Fixes #12242
This commit is contained in:
parent
249a3180f0
commit
0945f8908c
@ -102,7 +102,7 @@ class CLIDbLoader:
|
|||||||
_("Low level database corruption detected")
|
_("Low level database corruption detected")
|
||||||
+ '\n' +
|
+ '\n' +
|
||||||
_("Gramps has detected a problem in the underlying "
|
_("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 "
|
"the Family Tree Manager. Select the database and "
|
||||||
'click on the Repair button'
|
'click on the Repair button'
|
||||||
) + '\n\n' + str(msg))
|
) + '\n\n' + str(msg))
|
||||||
|
@ -199,7 +199,7 @@ class User(user.UserBase):
|
|||||||
self.notify_error(
|
self.notify_error(
|
||||||
_("Low level database corruption detected"),
|
_("Low level database corruption detected"),
|
||||||
_("Gramps has detected a problem in the underlying "
|
_("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 "
|
"the Family Tree Manager. Select the database and "
|
||||||
'click on the Repair button') + '\n\n' + error)
|
'click on the Repair button') + '\n\n' + error)
|
||||||
|
|
||||||
|
@ -294,7 +294,7 @@ class DBErrorDialog(ErrorDialog):
|
|||||||
self,
|
self,
|
||||||
_("Low level database corruption detected"),
|
_("Low level database corruption detected"),
|
||||||
_("Gramps has detected a problem in the underlying "
|
_("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 "
|
"the Family Tree Manager. Select the database and "
|
||||||
'click on the Repair button') + '\n\n' + msg, parent)
|
'click on the Repair button') + '\n\n' + msg, parent)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user