slight MissingMediaDialog improvement
This commit is contained in:
parent
a95cbc624f
commit
546a53e6f2
@ -253,6 +253,7 @@
|
|||||||
</object>
|
</object>
|
||||||
<object class="GtkDialog" id="missmediadialog">
|
<object class="GtkDialog" id="missmediadialog">
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
<property name="default_width">600</property>
|
||||||
<property name="type_hint">dialog</property>
|
<property name="type_hint">dialog</property>
|
||||||
<child internal-child="vbox">
|
<child internal-child="vbox">
|
||||||
<object class="GtkBox" id="vbox5">
|
<object class="GtkBox" id="vbox5">
|
||||||
|
@ -717,12 +717,17 @@ class CheckIntegrity(object):
|
|||||||
'found' %
|
'found' %
|
||||||
{'desc' : photo_desc,
|
{'desc' : photo_desc,
|
||||||
'name' : photo_name})
|
'name' : photo_name})
|
||||||
mmd = MissingMediaDialog(_("Media object could not be found"),
|
mmd = MissingMediaDialog(
|
||||||
_("The file:\n %(file_name)s \nis referenced in the database, but no longer exists. "
|
_("Media object could not be found"),
|
||||||
"The file may have been deleted or moved to a different location. "
|
_("The file:\n%(file_name)s\nis referenced in "
|
||||||
"You may choose to either remove the reference from the database, "
|
"the database, but no longer exists.\n"
|
||||||
"keep the reference to the missing file, or select a new file."
|
"The file may have been deleted or moved to "
|
||||||
) % {'file_name' : '<b>%s</b>' % photo_name},
|
"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)
|
remove_clicked, leave_clicked, select_clicked)
|
||||||
missmedia_action = mmd.default_action
|
missmedia_action = mmd.default_action
|
||||||
elif missmedia_action == 1:
|
elif missmedia_action == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user