Wording cleanup

svn: r1520
This commit is contained in:
Alex Roitman 2003-05-13 04:47:54 +00:00
parent c8a527db21
commit d31fc89494
2 changed files with 12 additions and 7 deletions

View File

@ -191,8 +191,12 @@ def importData(database, filename, callback):
shutil.copy2(oldfile,newfile) shutil.copy2(oldfile,newfile)
except: except:
# File is lost => ask what to do # File is lost => ask what to do
MissingMediaDialog(_("The file %s is not found") % oldfile, MissingMediaDialog(_("Media object could not be found"),
_("Please choose what you want to do.\n"), _("%(file_name)s was references 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' : oldfile },
remove_clicked, leave_clicked, select_clicked) remove_clicked, leave_clicked, select_clicked)
del parser del parser

View File

@ -2,6 +2,7 @@
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
<glade-interface> <glade-interface>
<requires lib="gnome"/>
<widget class="GtkDialog" id="errdialog"> <widget class="GtkDialog" id="errdialog">
<property name="title" translatable="yes"></property> <property name="title" translatable="yes"></property>
@ -887,7 +888,7 @@
<child> <child>
<widget class="GtkLabel" id="label8"> <widget class="GtkLabel" id="label8">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">_Remove object</property> <property name="label" translatable="yes">_Remove Object</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="justify">GTK_JUSTIFY_LEFT</property>
@ -914,10 +915,10 @@
<child> <child>
<widget class="GtkButton" id="button9"> <widget class="GtkButton" id="button9">
<property name="visible">True</property> <property name="visible">True</property>
<property name="tooltip" translatable="yes">Leave database as is (missing the file)</property> <property name="tooltip" translatable="yes">Keep reference to the missing file</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="label" translatable="yes">_Leave as is</property> <property name="label" translatable="yes">_Keep Reference</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">2</property> <property name="response_id">2</property>
@ -927,7 +928,7 @@
<child> <child>
<widget class="GtkButton" id="button11"> <widget class="GtkButton" id="button11">
<property name="visible">True</property> <property name="visible">True</property>
<property name="tooltip" translatable="yes">Select missing file now</property> <property name="tooltip" translatable="yes">Select replacement for the missing file</property>
<property name="can_default">True</property> <property name="can_default">True</property>
<property name="has_default">True</property> <property name="has_default">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
@ -969,7 +970,7 @@
<child> <child>
<widget class="GtkLabel" id="label7"> <widget class="GtkLabel" id="label7">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">_Select file</property> <property name="label" translatable="yes">_Select File</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="justify">GTK_JUSTIFY_LEFT</property>