slight MissingMediaDialog improvement

This commit is contained in:
Paul Franklin 2014-06-17 17:24:10 -07:00
parent a95cbc624f
commit 546a53e6f2
2 changed files with 12 additions and 6 deletions

View File

@ -253,6 +253,7 @@
</object>
<object class="GtkDialog" id="missmediadialog">
<property name="can_focus">False</property>
<property name="default_width">600</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="vbox5">

View File

@ -717,11 +717,16 @@ class CheckIntegrity(object):
'found' %
{'desc' : photo_desc,
'name' : photo_name})
mmd = MissingMediaDialog(_("Media object could not be found"),
_("The file:\n %(file_name)s \nis referenced in the database, but no longer exists. "
"The file may have been deleted or moved to a different location. "
"You may choose to either remove the reference from the database, "
"keep the reference to the missing file, or select a new file."
mmd = MissingMediaDialog(
_("Media object could not be found"),
_("The file:\n%(file_name)s\nis referenced in "
"the database, but no longer exists.\n"
"The file may have been deleted or moved to "
"a different location.\n"
"You may choose to either remove the "
"reference from the database,\n"
"keep the reference to the missing file, "
"or select a new file."
) % {'file_name' : '<b>%s</b>' % photo_name},
remove_clicked, leave_clicked, select_clicked)
missmedia_action = mmd.default_action