From 80f9a3a5c8484247edff5a38f067a30c05fa5591 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Thu, 3 Apr 2014 18:41:22 +0100 Subject: [PATCH] More informative messages in citation editor --- gramps/gui/editors/editcitation.py | 10 ++++++++-- gramps/gui/editors/objectentries.py | 5 ++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gramps/gui/editors/editcitation.py b/gramps/gui/editors/editcitation.py index d11de0549..c5816b4dd 100644 --- a/gramps/gui/editors/editcitation.py +++ b/gramps/gui/editors/editcitation.py @@ -262,8 +262,14 @@ class EditCitation(EditPrimary): """ self.ok_button.set_sensitive(False) if not self.obj.get_reference_handle(): - ErrorDialog(_("Cannot save citation. No source selected."), - _("Please select a source or cancel the edit.")) + ErrorDialog(_("No source selected"), + _("A source is anything (personal testimony, " + "video recording, photograph, newspaper column, " + "gravestone...) from which information can be " + "derived. To create a citation, first select the " + "required source, and then record the location of " + "the information referenced within the source in the " + "'Volume/Page' field.")) self.ok_button.set_sensitive(True) return diff --git a/gramps/gui/editors/objectentries.py b/gramps/gui/editors/objectentries.py index b0ae66d13..ed6f47ac5 100644 --- a/gramps/gui/editors/objectentries.py +++ b/gramps/gui/editors/objectentries.py @@ -315,9 +315,8 @@ class SourceEntry(ObjEntry): Handles the selection of a existing or new Source. Supports Drag and Drop to select a source. """ - EMPTY_TEXT = "%s" % _('To select a source, use drag-and-drop ' - 'or use the buttons') - EMPTY_TEXT_RED = "%s" % _('No place given, click button to select one') + EMPTY_TEXT = "%s" % _('First add a source using the buttons') + EMPTY_TEXT_RED = "%s" % _('First add a source using the button') EDIT_STR = _('Edit source') SHARE_STR = _('Select an existing source') ADD_STR = _('Add a new source')