From 9eeadca8926d2934bacc5bd1b21775c5cf10af22 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 00c11d32f..d7f7e8660 100644 --- a/gramps/gui/editors/editcitation.py +++ b/gramps/gui/editors/editcitation.py @@ -272,8 +272,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')