More informative messages in citation editor
This commit is contained in:
parent
863e4bd72a
commit
9eeadca892
@ -272,8 +272,14 @@ class EditCitation(EditPrimary):
|
|||||||
"""
|
"""
|
||||||
self.ok_button.set_sensitive(False)
|
self.ok_button.set_sensitive(False)
|
||||||
if not self.obj.get_reference_handle():
|
if not self.obj.get_reference_handle():
|
||||||
ErrorDialog(_("Cannot save citation. No source selected."),
|
ErrorDialog(_("No source selected"),
|
||||||
_("Please select a source or cancel the edit."))
|
_("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)
|
self.ok_button.set_sensitive(True)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -315,9 +315,8 @@ class SourceEntry(ObjEntry):
|
|||||||
Handles the selection of a existing or new Source. Supports Drag and Drop
|
Handles the selection of a existing or new Source. Supports Drag and Drop
|
||||||
to select a source.
|
to select a source.
|
||||||
"""
|
"""
|
||||||
EMPTY_TEXT = "<i>%s</i>" % _('To select a source, use drag-and-drop '
|
EMPTY_TEXT = "<i>%s</i>" % _('First add a source using the buttons')
|
||||||
'or use the buttons')
|
EMPTY_TEXT_RED = "<i>%s</i>" % _('First add a source using the button')
|
||||||
EMPTY_TEXT_RED = "<i>%s</i>" % _('No place given, click button to select one')
|
|
||||||
EDIT_STR = _('Edit source')
|
EDIT_STR = _('Edit source')
|
||||||
SHARE_STR = _('Select an existing source')
|
SHARE_STR = _('Select an existing source')
|
||||||
ADD_STR = _('Add a new source')
|
ADD_STR = _('Add a new source')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user