From 0945f8908c17b1cd4a73c14b3b8f4ff9aaee59f6 Mon Sep 17 00:00:00 2001 From: Paul Culley Date: Thu, 6 May 2021 10:21:16 -0500 Subject: [PATCH] Fix db corrupted error message to make it apply to all db types (#1189) Fixes #12242 --- gramps/cli/grampscli.py | 2 +- gramps/cli/user.py | 2 +- gramps/gui/dialog.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps/cli/grampscli.py b/gramps/cli/grampscli.py index 03565f3d2..7106eba61 100644 --- a/gramps/cli/grampscli.py +++ b/gramps/cli/grampscli.py @@ -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)) diff --git a/gramps/cli/user.py b/gramps/cli/user.py index 72ee54f86..2f07baaf1 100644 --- a/gramps/cli/user.py +++ b/gramps/cli/user.py @@ -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) diff --git a/gramps/gui/dialog.py b/gramps/gui/dialog.py index ec2596e3f..638e11245 100644 --- a/gramps/gui/dialog.py +++ b/gramps/gui/dialog.py @@ -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)