title fixes in dialog boxes
svn: r1326
This commit is contained in:
parent
09615b38a5
commit
23617c3a75
@ -95,9 +95,7 @@ class AddSpouse:
|
||||
|
||||
self.rel_combo.set_popdown_strings(const.familyRelations)
|
||||
title = _("Choose Spouse/Partner of %s") % GrampsCfg.nameof(person)
|
||||
spouse_title = self.glade.get_widget("spouseTitle")
|
||||
spouse_title.set_text('<span weight="bold" size="larger">%s</span>' % title)
|
||||
spouse_title.set_use_markup(gtk.TRUE)
|
||||
Utils.set_title_label(self.glade,title)
|
||||
|
||||
self.glade.signal_autoconnect({
|
||||
"on_select_spouse_clicked" : self.select_spouse_clicked,
|
||||
|
@ -77,7 +77,6 @@ class Marriage:
|
||||
self.pmap[p[0]] = key
|
||||
|
||||
self.top = gtk.glade.XML(const.marriageFile,"marriageEditor")
|
||||
|
||||
Utils.set_title_label(self.top,_('Marriage/Relationship Editor'))
|
||||
|
||||
top_window = self.get_widget("marriageEditor")
|
||||
@ -103,12 +102,10 @@ class Marriage:
|
||||
"on_marriageDeleteBtn_clicked" : self.on_delete_clicked,
|
||||
})
|
||||
|
||||
text_win = self.get_widget("marriageTitle")
|
||||
title = _("%s and %s") % (GrampsCfg.nameof(family.getFather()),
|
||||
GrampsCfg.nameof(family.getMother()))
|
||||
|
||||
text_win.set_text('<span weight="bold" size="larger">%s</span>' % title)
|
||||
text_win.set_use_markup(gtk.TRUE)
|
||||
Utils.set_title_label(self.top,title)
|
||||
|
||||
self.event_list = self.get_widget("marriageEventList")
|
||||
|
||||
|
@ -2847,7 +2847,7 @@
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label180">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">_Given:</property>
|
||||
<property name="label" translatable="yes">_Given name:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
@ -2875,7 +2875,7 @@
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label181">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">_Last:</property>
|
||||
<property name="label" translatable="yes">_Family Name:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
@ -2903,7 +2903,7 @@
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label186">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">_Suffix:</property>
|
||||
<property name="label" translatable="yes">Suffi_x:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
@ -3008,7 +3008,7 @@
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label290">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">_Prefix:</property>
|
||||
<property name="label" translatable="yes">Family _Prefix:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
|
@ -127,7 +127,7 @@
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label21">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">_Given:</property>
|
||||
<property name="label" translatable="yes">_Given name:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
@ -152,7 +152,7 @@
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label22">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">_Last:</property>
|
||||
<property name="label" translatable="yes">_Family name:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
@ -177,7 +177,7 @@
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label293">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">_Prefix:</property>
|
||||
<property name="label" translatable="yes">Family _prefix:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
@ -277,7 +277,7 @@
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label269">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">T_ype:</property>
|
||||
<property name="label" translatable="yes">T_ype</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
@ -737,7 +737,7 @@
|
||||
<widget class="GtkRadioButton" id="genderFemale">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">_female</property>
|
||||
<property name="label" translatable="yes">fema_le</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="active">False</property>
|
||||
|
Loading…
Reference in New Issue
Block a user