slight MissingMediaDialog improvement
This commit is contained in:
parent
a95cbc624f
commit
546a53e6f2
@ -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">
|
||||
|
@ -717,12 +717,17 @@ 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."
|
||||
) % {'file_name' : '<b>%s</b>' % 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.\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
|
||||
elif missmedia_action == 1:
|
||||
|
Loading…
Reference in New Issue
Block a user