GTK translation updates
svn: r1155
This commit is contained in:
@@ -95,25 +95,25 @@ class GraphVizDialog(ReportDialog):
|
||||
return [all,des,ans]
|
||||
|
||||
def add_user_options(self):
|
||||
self.arrowstyle_optionmenu = gtk.GtkOptionMenu()
|
||||
menu = gtk.GtkMenu()
|
||||
self.arrowstyle_optionmenu = gtk.OptionMenu()
|
||||
menu = gtk.Menu()
|
||||
|
||||
menuitem = gtk.GtkMenuItem(_("Descendants <- Ancestors"))
|
||||
menuitem = gtk.MenuItem(_("Descendants <- Ancestors"))
|
||||
menuitem.set_data('t', ('none', 'normal'))
|
||||
menuitem.show()
|
||||
menu.append(menuitem)
|
||||
|
||||
menuitem = gtk.GtkMenuItem(_("Descendants -> Ancestors"))
|
||||
menuitem = gtk.MenuItem(_("Descendants -> Ancestors"))
|
||||
menuitem.set_data('t', ('normal', 'none'))
|
||||
menuitem.show()
|
||||
menu.append(menuitem)
|
||||
|
||||
menuitem = gtk.GtkMenuItem(_("Descendants <-> Ancestors"))
|
||||
menuitem = gtk.MenuItem(_("Descendants <-> Ancestors"))
|
||||
menuitem.set_data('t', ('normal', 'normal'))
|
||||
menuitem.show()
|
||||
menu.append(menuitem)
|
||||
|
||||
menuitem = gtk.GtkMenuItem(_("Descendants - Ancestors"))
|
||||
menuitem = gtk.MenuItem(_("Descendants - Ancestors"))
|
||||
menuitem.set_data('t', ('none', 'none'))
|
||||
menuitem.show()
|
||||
menu.append(menuitem)
|
||||
@@ -128,7 +128,7 @@ class GraphVizDialog(ReportDialog):
|
||||
_("Choose the direction that the arrows point."))
|
||||
|
||||
msg = _("Include Birth and Death Dates")
|
||||
self.includedates_cb = gtk.GtkCheckButton(msg)
|
||||
self.includedates_cb = gtk.CheckButton(msg)
|
||||
self.includedates_cb.set_active(1)
|
||||
self.add_frame_option(_("GraphViz Options"), '',
|
||||
self.includedates_cb,
|
||||
@@ -136,7 +136,7 @@ class GraphVizDialog(ReportDialog):
|
||||
"was born and/or died in the graph node "
|
||||
"labels."))
|
||||
|
||||
self.includeurl_cb = gtk.GtkCheckButton(_("Include URLs"))
|
||||
self.includeurl_cb = gtk.CheckButton(_("Include URLs"))
|
||||
self.includeurl_cb.set_active(1)
|
||||
self.add_frame_option(_("GraphViz Options"), '',
|
||||
self.includeurl_cb,
|
||||
@@ -146,7 +146,7 @@ class GraphVizDialog(ReportDialog):
|
||||
"to the files generated by the 'Generate "
|
||||
"Web Site' report."))
|
||||
|
||||
self.colorize_cb = gtk.GtkCheckButton(_("Colorize Graph"))
|
||||
self.colorize_cb = gtk.CheckButton(_("Colorize Graph"))
|
||||
self.colorize_cb.set_active(1)
|
||||
self.add_frame_option(_("GraphViz Options"),
|
||||
'',
|
||||
@@ -156,7 +156,7 @@ class GraphVizDialog(ReportDialog):
|
||||
"an individual is unknown it will be "
|
||||
"outlined in black."))
|
||||
|
||||
self.adoptionsdashed_cb = gtk.GtkCheckButton(_("Indicate non-birth relationships with dashed lines"))
|
||||
self.adoptionsdashed_cb = gtk.CheckButton(_("Indicate non-birth relationships with dashed lines"))
|
||||
self.adoptionsdashed_cb.set_active(1)
|
||||
self.add_frame_option(_("GraphViz Options"),
|
||||
'',
|
||||
@@ -164,13 +164,13 @@ class GraphVizDialog(ReportDialog):
|
||||
_("Non-birth relationships will show up "
|
||||
"as dashed lines in the graph."))
|
||||
|
||||
tb_margin_adj = gtk.GtkAdjustment(value=0.5, lower=0.25,
|
||||
tb_margin_adj = gtk.Adjustment(value=0.5, lower=0.25,
|
||||
upper=100.0, step_incr=0.25)
|
||||
lr_margin_adj = gtk.GtkAdjustment(value=0.5, lower=0.25,
|
||||
lr_margin_adj = gtk.Adjustment(value=0.5, lower=0.25,
|
||||
upper=100.0, step_incr=0.25)
|
||||
|
||||
self.tb_margin_sb = gtk.GtkSpinButton(adj=tb_margin_adj, digits=2)
|
||||
self.lr_margin_sb = gtk.GtkSpinButton(adj=lr_margin_adj, digits=2)
|
||||
self.tb_margin_sb = gtk.SpinButton(adj=tb_margin_adj, digits=2)
|
||||
self.lr_margin_sb = gtk.SpinButton(adj=lr_margin_adj, digits=2)
|
||||
|
||||
self.add_frame_option(_("GraphViz Options"),
|
||||
_("Top & Bottom Margins"),
|
||||
@@ -179,11 +179,11 @@ class GraphVizDialog(ReportDialog):
|
||||
_("Left & Right Margins"),
|
||||
self.lr_margin_sb)
|
||||
|
||||
hpages_adj = gtk.GtkAdjustment(value=1, lower=1, upper=25, step_incr=1)
|
||||
vpages_adj = gtk.GtkAdjustment(value=1, lower=1, upper=25, step_incr=1)
|
||||
hpages_adj = gtk.Adjustment(value=1, lower=1, upper=25, step_incr=1)
|
||||
vpages_adj = gtk.Adjustment(value=1, lower=1, upper=25, step_incr=1)
|
||||
|
||||
self.hpages_sb = gtk.GtkSpinButton(adj=hpages_adj, digits=0)
|
||||
self.vpages_sb = gtk.GtkSpinButton(adj=vpages_adj, digits=0)
|
||||
self.hpages_sb = gtk.SpinButton(adj=hpages_adj, digits=0)
|
||||
self.vpages_sb = gtk.SpinButton(adj=vpages_adj, digits=0)
|
||||
|
||||
self.add_frame_option(_("GraphViz Options"),
|
||||
_("Number of Horizontal Pages"),
|
||||
|
||||
Reference in New Issue
Block a user