From a89f43b5a8fe0ad4563b1e613abc1bf002b110da Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 27 Feb 2003 00:37:46 +0000 Subject: [PATCH] Dialog improvements svn: r1320 --- gramps2/src/Marriage.py | 5 +++-- gramps2/src/ReadXML.py | 11 +++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gramps2/src/Marriage.py b/gramps2/src/Marriage.py index cbea2c936..914eae1b2 100644 --- a/gramps2/src/Marriage.py +++ b/gramps2/src/Marriage.py @@ -423,8 +423,9 @@ class Marriage: family.setId(idval) Utils.modified() else: - msg1 = _("GRAMPS ID value was not changed.") - WarningDialog("%s" % msg1) + WarningDialog(_("GRAMPS ID value was not changed."), + _('The GRAMPS ID that you chose for this ' + 'relationship is already being used.')) relation = self.type_field.entry.get_text() father = self.family.getFather() diff --git a/gramps2/src/ReadXML.py b/gramps2/src/ReadXML.py index 189d3b2a6..6d63bf4c7 100644 --- a/gramps2/src/ReadXML.py +++ b/gramps2/src/ReadXML.py @@ -100,10 +100,13 @@ def importData(database, filename, callback): return 0 except ValueError, msg: if str(msg)[0:16] == "Incorrect length": - WarningDialog(_("Your database has encountered an error in the library " - "that compresses the data.\nYour data should be okay, but " - "you may want to consider disabling compression.\n" - "This can be disabled in the Properties dialog.")) + WarningDialog(_("A Data Compression Problem Was Encountered"), + _("Your database has encountered an error in the library " + "that compresses the data. Your data should be okay, but " + "you may want to consider disabling compression. " + "This can be disabled in the Properties dialog. Once you " + "have disabled compression, this error will go away after " + "the next time you save the database.")) else: import DisplayTrace DisplayTrace.DisplayTrace()