Witness editor fixes, documentation and translation list fixes
svn: r1363
This commit is contained in:
parent
4b40b015de
commit
c571927351
@ -23,15 +23,15 @@ import gtk.glade
|
||||
import gconf
|
||||
import Utils
|
||||
|
||||
_StartupEntry = "/gramps/config/startup"
|
||||
_StartupEntry = "/apps/gramps/startup"
|
||||
|
||||
def need_to_run():
|
||||
return 0
|
||||
client = gconf.client_get_default()
|
||||
client.add_dir("/apps/gramps",gconf.CLIENT_PRELOAD_NONE)
|
||||
if client.get_string(_StartupEntry) == None:
|
||||
val = client.get_int(_StartupEntry)
|
||||
if val == None:
|
||||
return 1
|
||||
val = client.set_int(_StartupEntry)
|
||||
if val < const.startup:
|
||||
return 1
|
||||
return 0
|
||||
@ -53,11 +53,11 @@ class StartupDialog:
|
||||
self.rlist = ['name','addr','city','state','country',
|
||||
'postal', 'phone', 'email']
|
||||
|
||||
self.client = gconf.client_get_default
|
||||
self.client = gconf.client_get_default()
|
||||
for tag in self.rlist:
|
||||
val = self.client.get_string("/gramps/researcher/%s" % tag)
|
||||
val = self.client.get_string("/apps/gramps/researcher-%s" % tag)
|
||||
if val != None:
|
||||
self.druid.get_widget(tag).set_text(val)()
|
||||
self.druid.get_widget(tag).set_text(val)
|
||||
|
||||
|
||||
def destroy(self,obj):
|
||||
@ -66,7 +66,7 @@ class StartupDialog:
|
||||
def on_finish(self,obj,b):
|
||||
for tag in self.rlist:
|
||||
val = self.druid.get_widget(tag).get_text()
|
||||
self.client.set_string("/gramps/researcher/%s" % tag,val)
|
||||
self.client.set_string("/apps/gramps/researcher-%s" % tag,val)
|
||||
|
||||
if self.druid.get_widget("num_us").get_active():
|
||||
dateFormat = 0
|
||||
@ -74,15 +74,14 @@ class StartupDialog:
|
||||
dateFormat = 1
|
||||
else:
|
||||
dateFormat = 2
|
||||
self.client.set_int("/gramps/config/dateEntry",dateFormat)
|
||||
self.client.set_int("/apps/gramps/dateEntry",dateFormat)
|
||||
|
||||
showcal = self.druid.get_widget("altcal").get_active()
|
||||
self.client.set_int("/gramps/config/ShowCalendar",showcal)
|
||||
self.client.set_int("/apps/gramps/ShowCalendar",showcal)
|
||||
|
||||
lds = self.druid.get_widget("enable_lds").get_active()
|
||||
self.client.set_int("/gramps/config/UseLDS",lds)
|
||||
self.client.set_int("/apps/gramps/UseLDS",lds)
|
||||
self.client.set_int(_StartupEntry,const.startup)
|
||||
self.client.sync()
|
||||
Utils.destroy_passed_object(obj)
|
||||
|
||||
def on_cancel_clicked(self,obj):
|
||||
|
@ -119,15 +119,23 @@ class WitnessEditor:
|
||||
"on_id_changed" : self.on_id_changed,
|
||||
"cancel_clicked" : self.cancel_clicked,
|
||||
})
|
||||
|
||||
self.name = self.show_witness.get_widget("name")
|
||||
self.id = self.show_witness.get_widget("id")
|
||||
self.ok = self.show_witness.get_widget("ok")
|
||||
self.in_db = self.show_witness.get_widget("in_db")
|
||||
self.comment = self.show_witness.get_widget("comment")
|
||||
|
||||
if self.ref:
|
||||
self.name.set_text(self.ref.get_value())
|
||||
if self.ref.get_type():
|
||||
self.id.set_text(self.ref.get_value())
|
||||
self.in_db.set_active(1)
|
||||
else:
|
||||
self.name.set_text(self.ref.get_value())
|
||||
self.in_db.set_active(0)
|
||||
self.comment.get_buffer().set_text(self.ref.get_comment())
|
||||
|
||||
self.on_toggled(None)
|
||||
Utils.set_titles(self.show_witness.get_widget('witness_edit'),
|
||||
self.show_witness.get_widget('title'),
|
||||
_('Witness Editor'))
|
||||
@ -136,19 +144,28 @@ class WitnessEditor:
|
||||
self.check_valid_id()
|
||||
|
||||
def check_valid_id(self):
|
||||
id = self.id.get_text()
|
||||
if self.db.getPersonMap().has_key(id):
|
||||
person = self.db.getPerson(id)
|
||||
self.name.set_text(person.getPrimaryName().getName())
|
||||
self.ok.set_sensitive(1)
|
||||
if self.in_db.get_active():
|
||||
id = self.id.get_text()
|
||||
if self.db.getPersonMap().has_key(id):
|
||||
person = self.db.getPerson(id)
|
||||
self.name.set_text(person.getPrimaryName().getName())
|
||||
self.ok.set_sensitive(1)
|
||||
else:
|
||||
self.ok.set_sensitive(0)
|
||||
else:
|
||||
self.ok.set_sensitive(0)
|
||||
self.ok.set_sensitive(1)
|
||||
|
||||
def on_toggled(self,obj):
|
||||
if self.in_db.get_active():
|
||||
self.name.set_editable(0)
|
||||
self.name.set_sensitive(0)
|
||||
self.id.set_editable(1)
|
||||
self.id.set_sensitive(1)
|
||||
else:
|
||||
self.name.set_editable(1)
|
||||
self.name.set_sensitive(1)
|
||||
self.id.set_editable(0)
|
||||
self.id.set_sensitive(0)
|
||||
self.check_valid_id()
|
||||
|
||||
def cancel_clicked(self,obj):
|
||||
|
843
src/config.glade
843
src/config.glade
@ -4,7 +4,7 @@
|
||||
<glade-interface>
|
||||
<requires lib="gnome"/>
|
||||
|
||||
<widget class="GtkWindow" id="initDruid">
|
||||
<widget class="GtkWindow" id="initDruid2">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Getting Started - GRAMPS</property>
|
||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||
@ -47,9 +47,9 @@ Preferences dialog under the Settings menu.</property>
|
||||
<widget class="GnomeDruidPageStandard" id="druidpagestandard1">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Researcher information</property>
|
||||
<property name="title_foreground">#53e00817c71b</property>
|
||||
<property name="background">#53e00817e118</property>
|
||||
<property name="logo_background">#d7a440c2e108</property>
|
||||
<property name="title_foreground">#53e00817a71b</property>
|
||||
<property name="background">#53e00817d488</property>
|
||||
<property name="logo_background">#b7a440c2d478</property>
|
||||
<property name="logo">gramps.png</property>
|
||||
|
||||
<child internal-child="vbox">
|
||||
@ -487,9 +487,9 @@ files, you may leave it blank.</property>
|
||||
<widget class="GnomeDruidPageStandard" id="druidpagestandard3">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Numerical date formats</property>
|
||||
<property name="title_foreground">#53e00817c71b</property>
|
||||
<property name="background">#53e00817e118</property>
|
||||
<property name="logo_background">#d7a440c2e108</property>
|
||||
<property name="title_foreground">#53e00817a71b</property>
|
||||
<property name="background">#53e00817d488</property>
|
||||
<property name="logo_background">#b7a440c2d478</property>
|
||||
<property name="logo">gramps.xpm</property>
|
||||
|
||||
<child internal-child="vbox">
|
||||
@ -635,9 +635,9 @@ numerical dates</property>
|
||||
<widget class="GnomeDruidPageStandard" id="druidpagestandard4">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Alternate calendar support</property>
|
||||
<property name="title_foreground">#53e00817c71b</property>
|
||||
<property name="background">#53e00817e118</property>
|
||||
<property name="logo_background">#d7a440c2e108</property>
|
||||
<property name="title_foreground">#53e00817a71b</property>
|
||||
<property name="background">#53e00817d488</property>
|
||||
<property name="logo_background">#b7a440c2d478</property>
|
||||
<property name="logo">gramps.xpm</property>
|
||||
|
||||
<child internal-child="vbox">
|
||||
@ -732,9 +732,9 @@ more of these alternate calendars, enable alternate calendar support.</property>
|
||||
<widget class="GnomeDruidPageStandard" id="druidpagestandard2">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">LDS extensions</property>
|
||||
<property name="title_foreground">#53e00817c71b</property>
|
||||
<property name="background">#53e00817e118</property>
|
||||
<property name="logo_background">#d7a440c2e108</property>
|
||||
<property name="title_foreground">#53e00817a71b</property>
|
||||
<property name="background">#53e00817d488</property>
|
||||
<property name="logo_background">#b7a440c2d478</property>
|
||||
<property name="logo">gramps.xpm</property>
|
||||
|
||||
<child internal-child="vbox">
|
||||
@ -850,4 +850,821 @@ Please enjoy using GRAMPS.</property>
|
||||
</child>
|
||||
</widget>
|
||||
|
||||
<widget class="GtkWindow" id="initDruid">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Getting Started - GRAMPS</property>
|
||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||
<property name="window_position">GTK_WIN_POS_NONE</property>
|
||||
<property name="modal">False</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="destroy_with_parent">False</property>
|
||||
|
||||
<child>
|
||||
<widget class="GnomeDruid" id="druid2">
|
||||
<property name="border_width">4</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="show_help">False</property>
|
||||
|
||||
<child>
|
||||
<widget class="GnomeDruidPageEdge" id="druidpagestart2">
|
||||
<property name="visible">True</property>
|
||||
<property name="position">GNOME_EDGE_START</property>
|
||||
<property name="title" translatable="yes">Getting Started with GRAMPS</property>
|
||||
<property name="text" translatable="yes">Welcome to GRAMPS, the Genealogical Research
|
||||
and Analysis Management Programming System.
|
||||
|
||||
Several options and information need to be gathered
|
||||
before GRAMPS is ready to be used. Any of this
|
||||
information can be changed in the future in the
|
||||
Preferences dialog under the Settings menu.</property>
|
||||
<property name="title_color">#7d7c68674a4a</property>
|
||||
<property name="text_color">#000000000000</property>
|
||||
<property name="background_color">#e2c2dcb6c68a</property>
|
||||
<property name="logo_background_color">#e2e1dcdcc6c6</property>
|
||||
<property name="logo">gramps.png</property>
|
||||
<property name="watermark">splash.jpg</property>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GnomeDruidPageStandard" id="druidpagestandard5">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Researcher Information</property>
|
||||
<property name="title_foreground">#53e00817a71b</property>
|
||||
<property name="background">#53e00817d488</property>
|
||||
<property name="contents_background">#e1e0dbdac5c5</property>
|
||||
<property name="logo">gramps.png</property>
|
||||
|
||||
<child internal-child="vbox">
|
||||
<widget class="GtkVBox" id="druid-vbox6">
|
||||
<property name="border_width">16</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">6</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="vbox28">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">6</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label145">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">In order to create valid GEDCOM files, the following information
|
||||
needs to be entered. If you do not plan to generate GEDCOM
|
||||
files, you may leave it blank.</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">5</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTable" id="table13">
|
||||
<property name="visible">True</property>
|
||||
<property name="n_rows">5</property>
|
||||
<property name="n_columns">4</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="row_spacing">6</property>
|
||||
<property name="column_spacing">12</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label146">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Name:</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="right_attach">1</property>
|
||||
<property name="top_attach">0</property>
|
||||
<property name="bottom_attach">1</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label147">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Address:</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="right_attach">1</property>
|
||||
<property name="top_attach">1</property>
|
||||
<property name="bottom_attach">2</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label148">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">City:</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="right_attach">1</property>
|
||||
<property name="top_attach">2</property>
|
||||
<property name="bottom_attach">3</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="city">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
<signal name="changed" handler="on_object_toggled"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="right_attach">2</property>
|
||||
<property name="top_attach">2</property>
|
||||
<property name="bottom_attach">3</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="state">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
<signal name="changed" handler="on_object_toggled"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">3</property>
|
||||
<property name="right_attach">4</property>
|
||||
<property name="top_attach">2</property>
|
||||
<property name="bottom_attach">3</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label149">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">State/Province:</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
<property name="right_attach">3</property>
|
||||
<property name="top_attach">2</property>
|
||||
<property name="bottom_attach">3</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="country">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
<signal name="changed" handler="on_object_toggled"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">3</property>
|
||||
<property name="right_attach">4</property>
|
||||
<property name="top_attach">3</property>
|
||||
<property name="bottom_attach">4</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label150">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Country:</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
<property name="right_attach">3</property>
|
||||
<property name="top_attach">3</property>
|
||||
<property name="bottom_attach">4</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label152">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">ZIP/Postal code:</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="right_attach">1</property>
|
||||
<property name="top_attach">3</property>
|
||||
<property name="bottom_attach">4</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="postal">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
<signal name="changed" handler="on_object_toggled"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="right_attach">2</property>
|
||||
<property name="top_attach">3</property>
|
||||
<property name="bottom_attach">4</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label153">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Phone:</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="right_attach">1</property>
|
||||
<property name="top_attach">4</property>
|
||||
<property name="bottom_attach">5</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="phone">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
<signal name="changed" handler="on_object_toggled"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="right_attach">2</property>
|
||||
<property name="top_attach">4</property>
|
||||
<property name="bottom_attach">5</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="email">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
<signal name="changed" handler="on_object_toggled"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">3</property>
|
||||
<property name="right_attach">4</property>
|
||||
<property name="top_attach">4</property>
|
||||
<property name="bottom_attach">5</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label151">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Email:</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
<property name="right_attach">3</property>
|
||||
<property name="top_attach">4</property>
|
||||
<property name="bottom_attach">5</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="name">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
<signal name="changed" handler="on_object_toggled"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="right_attach">4</property>
|
||||
<property name="top_attach">0</property>
|
||||
<property name="bottom_attach">1</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="addr">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char" translatable="yes">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
<signal name="changed" handler="on_object_toggled"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="right_attach">4</property>
|
||||
<property name="top_attach">1</property>
|
||||
<property name="bottom_attach">2</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GnomeDruidPageStandard" id="druidpagestandard6">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Numerical date formats</property>
|
||||
<property name="title_foreground">#53e00817a71b</property>
|
||||
<property name="background">#53e00817d488</property>
|
||||
<property name="contents_background">#e1e0dbdac5c5</property>
|
||||
<property name="logo">gramps.png</property>
|
||||
|
||||
<child internal-child="vbox">
|
||||
<widget class="GtkVBox" id="druid-vbox7">
|
||||
<property name="border_width">16</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">6</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="vbox29">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label154">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">There are three common formats for entering dates in a numerical format.
|
||||
Without some type of indication, GRAMPS cannot correctly tell what
|
||||
format you are using. Please indicate your preferred format for entering
|
||||
numerical dates</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">5</property>
|
||||
<property name="ypad">25</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkHBox" id="hbox4">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">True</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="vbox30">
|
||||
<property name="border_width">20</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkRadioButton" id="num_us">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">_MM/DD/YYYY (United States)</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="active">False</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkRadioButton" id="num_eu">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">_DD/MM/YYYY (European)</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="active">False</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<property name="group">num_us</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkRadioButton" id="num_iso">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">_YYYY-MM-DD (ISO)</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="active">False</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<property name="group">num_us</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GnomeDruidPageStandard" id="druidpagestandard7">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Alternate calendar support</property>
|
||||
<property name="title_foreground">#53e00817a71b</property>
|
||||
<property name="background">#53e00817d488</property>
|
||||
<property name="contents_background">#e1e0dbdac5c5</property>
|
||||
<property name="logo">gramps.png</property>
|
||||
|
||||
<child internal-child="vbox">
|
||||
<widget class="GtkVBox" id="druid-vbox8">
|
||||
<property name="border_width">16</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">6</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="vbox31">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label155">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">By default, all dates stored by GRAMPS use the Gregorian calendar. This
|
||||
is normally sufficient for most users. Support may be enabled for the Julian,
|
||||
French Republican, and Hebrew calendar. If you believe that you will need one or
|
||||
more of these alternate calendars, enable alternate calendar support.</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">25</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkHBox" id="hbox5">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkCheckButton" id="altcal">
|
||||
<property name="border_width">20</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">_Enable support for alternate calendars</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="active">False</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GnomeDruidPageStandard" id="druidpagestandard8">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">LDS extenstions</property>
|
||||
<property name="title_foreground">#53e00817a71b</property>
|
||||
<property name="background">#53e00817d488</property>
|
||||
<property name="contents_background">#e1e0dbdac5c5</property>
|
||||
<property name="logo">gramps.png</property>
|
||||
|
||||
<child internal-child="vbox">
|
||||
<widget class="GtkVBox" id="druid-vbox9">
|
||||
<property name="border_width">16</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">6</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="vbox32">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label156">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">GRAMPS has support for LDS Ordinances, which are special
|
||||
event types related to the Church of Jesus Christ of Latter Day Saints.
|
||||
|
||||
You may choose to either enable or disable this support. You may
|
||||
change this option in the future in the Preferences dialog.</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_FILL</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">5</property>
|
||||
<property name="ypad">25</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkHBox" id="hbox6">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkCheckButton" id="enable_lds">
|
||||
<property name="border_width">20</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">_Enable LDS ordinance support</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="active">False</property>
|
||||
<property name="inconsistent">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">50</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GnomeDruidPageEdge" id="druidpagefinish2">
|
||||
<property name="visible">True</property>
|
||||
<property name="position">GNOME_EDGE_FINISH</property>
|
||||
<property name="title" translatable="yes">Complete</property>
|
||||
<property name="text" translatable="yes">GRAMPS is an Open Source project. Its success
|
||||
depends on the users. User feedback is important.
|
||||
Please join the mailing lists, submit bug reports,
|
||||
suggest improvements, and see how you can
|
||||
contribute.
|
||||
|
||||
Please enjoy using GRAMPS.</property>
|
||||
<property name="title_color">#7d7c68674a4a</property>
|
||||
<property name="background_color">#e1e0dbdac5c5</property>
|
||||
<property name="logo_background_color">#e1e0dbdac5c5</property>
|
||||
<property name="logo">gramps.png</property>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
|
||||
</glade-interface>
|
||||
|
31
src/const.py
31
src/const.py
@ -107,29 +107,26 @@ comments = _("GRAMPS (Genealogical Research and Analysis "
|
||||
"Management Programming System) is a personal "
|
||||
"genealogy program.")
|
||||
authors = [
|
||||
"Donald N. Allingham <dallingham@users.sourceforge.net>",
|
||||
"Donald N. Allingham",
|
||||
"Donald A. Peterson"
|
||||
"David Hampton",
|
||||
"Donald A. Peterson <dpeterson@sigmaxi.org>"
|
||||
]
|
||||
|
||||
documenters = [
|
||||
'Donald N. Allingham <dallingham@users.sourceforge.net>',
|
||||
'Lawrence Allingham'
|
||||
'Alex Roitman',
|
||||
]
|
||||
|
||||
translators = u'Radek Malcic <malcic@atlas.cz> - Czech\n' \
|
||||
u'Lars Kristian Lundin <gramps@lklundin.dk> - Danish (Dansk)\n' \
|
||||
u'Bernd Schandl <schandl@gmx.net> - German (Deutsch)\n' \
|
||||
u'Andr\xe9s Sep\xfalveda <andres@ccpo.odu.edu> - Spanish (Espa\xf1ol)\n' \
|
||||
u'Laurent Protois <laurent.protois@free.fr> - French (Fran\xe7ais)\n' \
|
||||
u'Marco Molteni <molter@gufi.org> - Italian (Italiano)\n' \
|
||||
u'Marcos Bedinelli - Brazilian-Portuguese (Portugu\xeas do Brasil)\n' \
|
||||
u'Alex Roitman <shura@alex.neuro.umn.edu> - Russian\n' \
|
||||
u'Jens Arvidsson <arvid-jens@algonet.se> - Swedish (Svenska)\n' \
|
||||
u'Tino Meinen <a.t.meinen@chello.nl> - Dutch' \
|
||||
|
||||
|
||||
|
||||
translators = u'Radek Malcic - Czech\n' \
|
||||
u'Lars Kristian Lundin - Danish (Dansk)\n' \
|
||||
u'Bernd Schandl - German (Deutsch)\n' \
|
||||
u'Andr\xe9s Sep\xfalveda - Spanish (Espa\xf1ol)\n' \
|
||||
u'Laurent Protois - French (Fran\xe7ais)\n' \
|
||||
u'Marco Molteni - Italian (Italiano)\n' \
|
||||
u'Marcos Bedinelli - Brazilian-Portuguese\n' \
|
||||
u'Alex Roitman - Russian\n' \
|
||||
u'Jens Arvidsson - Swedish (Svenska)\n' \
|
||||
u'Radu Bogden Mare - Romanian\n' \
|
||||
u'Tino Meinen - Dutch' \
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -107,29 +107,26 @@ comments = _("GRAMPS (Genealogical Research and Analysis "
|
||||
"Management Programming System) is a personal "
|
||||
"genealogy program.")
|
||||
authors = [
|
||||
"Donald N. Allingham <dallingham@users.sourceforge.net>",
|
||||
"Donald N. Allingham",
|
||||
"Donald A. Peterson"
|
||||
"David Hampton",
|
||||
"Donald A. Peterson <dpeterson@sigmaxi.org>"
|
||||
]
|
||||
|
||||
documenters = [
|
||||
'Donald N. Allingham <dallingham@users.sourceforge.net>',
|
||||
'Lawrence Allingham'
|
||||
'Alex Roitman',
|
||||
]
|
||||
|
||||
translators = u'Radek Malcic <malcic@atlas.cz> - Czech\n' \
|
||||
u'Lars Kristian Lundin <gramps@lklundin.dk> - Danish (Dansk)\n' \
|
||||
u'Bernd Schandl <schandl@gmx.net> - German (Deutsch)\n' \
|
||||
u'Andr\xe9s Sep\xfalveda <andres@ccpo.odu.edu> - Spanish (Espa\xf1ol)\n' \
|
||||
u'Laurent Protois <laurent.protois@free.fr> - French (Fran\xe7ais)\n' \
|
||||
u'Marco Molteni <molter@gufi.org> - Italian (Italiano)\n' \
|
||||
u'Marcos Bedinelli - Brazilian-Portuguese (Portugu\xeas do Brasil)\n' \
|
||||
u'Alex Roitman <shura@alex.neuro.umn.edu> - Russian\n' \
|
||||
u'Jens Arvidsson <arvid-jens@algonet.se> - Swedish (Svenska)\n' \
|
||||
u'Tino Meinen <a.t.meinen@chello.nl> - Dutch' \
|
||||
|
||||
|
||||
|
||||
translators = u'Radek Malcic - Czech\n' \
|
||||
u'Lars Kristian Lundin - Danish (Dansk)\n' \
|
||||
u'Bernd Schandl - German (Deutsch)\n' \
|
||||
u'Andr\xe9s Sep\xfalveda - Spanish (Espa\xf1ol)\n' \
|
||||
u'Laurent Protois - French (Fran\xe7ais)\n' \
|
||||
u'Marco Molteni - Italian (Italiano)\n' \
|
||||
u'Marcos Bedinelli - Brazilian-Portuguese\n' \
|
||||
u'Alex Roitman - Russian\n' \
|
||||
u'Jens Arvidsson - Swedish (Svenska)\n' \
|
||||
u'Radu Bogden Mare - Romanian\n' \
|
||||
u'Tino Meinen - Dutch' \
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user