String changes for translation purposes
svn: r56
This commit is contained in:
parent
b94e9e303f
commit
7f6ad90ea8
@ -1829,7 +1829,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>label140</name>
|
<name>label140</name>
|
||||||
<label>From : </label>
|
<label>Date : </label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
<xalign>1</xalign>
|
<xalign>1</xalign>
|
||||||
@ -1989,38 +1989,6 @@
|
|||||||
</child>
|
</child>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkLabel</class>
|
|
||||||
<name>label147</name>
|
|
||||||
<label>To : </label>
|
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
||||||
<wrap>False</wrap>
|
|
||||||
<xalign>0.5</xalign>
|
|
||||||
<yalign>0.5</yalign>
|
|
||||||
<xpad>0</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
<child>
|
|
||||||
<padding>5</padding>
|
|
||||||
<expand>False</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkEntry</class>
|
|
||||||
<name>address_stop</name>
|
|
||||||
<can_focus>True</can_focus>
|
|
||||||
<editable>True</editable>
|
|
||||||
<text_visible>True</text_visible>
|
|
||||||
<text_max_length>0</text_max_length>
|
|
||||||
<text></text>
|
|
||||||
<child>
|
|
||||||
<padding>0</padding>
|
|
||||||
<expand>True</expand>
|
|
||||||
<fill>True</fill>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkButton</class>
|
<class>GtkButton</class>
|
||||||
<name>button91</name>
|
<name>button91</name>
|
||||||
@ -2196,15 +2164,14 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkCList</class>
|
<class>GtkCList</class>
|
||||||
<name>address_list</name>
|
<name>address_list</name>
|
||||||
<height>120</height>
|
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<signal>
|
<signal>
|
||||||
<name>select_row</name>
|
<name>select_row</name>
|
||||||
<handler>on_address_list_select_row</handler>
|
<handler>on_address_list_select_row</handler>
|
||||||
<last_modification_time>Tue, 01 May 2001 14:07:12 GMT</last_modification_time>
|
<last_modification_time>Wed, 23 May 2001 18:42:16 GMT</last_modification_time>
|
||||||
</signal>
|
</signal>
|
||||||
<columns>3</columns>
|
<columns>2</columns>
|
||||||
<column_widths>138,119,80</column_widths>
|
<column_widths>165,80</column_widths>
|
||||||
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
|
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
|
||||||
<show_titles>True</show_titles>
|
<show_titles>True</show_titles>
|
||||||
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
||||||
@ -2212,8 +2179,8 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<child_name>CList:title</child_name>
|
<child_name>CList:title</child_name>
|
||||||
<name>label144</name>
|
<name>label150</name>
|
||||||
<label>From</label>
|
<label>Date</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
<xalign>0.5</xalign>
|
<xalign>0.5</xalign>
|
||||||
@ -2225,20 +2192,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<child_name>CList:title</child_name>
|
<child_name>CList:title</child_name>
|
||||||
<name>label145</name>
|
<name>label151</name>
|
||||||
<label>To</label>
|
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
||||||
<wrap>False</wrap>
|
|
||||||
<xalign>0.5</xalign>
|
|
||||||
<yalign>0.5</yalign>
|
|
||||||
<xpad>0</xpad>
|
|
||||||
<ypad>0</ypad>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
<widget>
|
|
||||||
<class>GtkLabel</class>
|
|
||||||
<child_name>CList:title</child_name>
|
|
||||||
<name>label146</name>
|
|
||||||
<label>Location</label>
|
<label>Location</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
"People no listed birth date"
|
"People without a birth date"
|
||||||
|
|
||||||
import Filter
|
import Filter
|
||||||
import string
|
import string
|
||||||
@ -27,7 +27,7 @@ import intl
|
|||||||
_ = intl.gettext
|
_ = intl.gettext
|
||||||
|
|
||||||
class NoBirthdate(Filter.Filter):
|
class NoBirthdate(Filter.Filter):
|
||||||
"People no listed birth date"
|
"People without a birth date"
|
||||||
|
|
||||||
def match(self,person):
|
def match(self,person):
|
||||||
return person.getBirth().getDate() == ""
|
return person.getBirth().getDate() == ""
|
||||||
@ -39,6 +39,6 @@ def need_qualifier():
|
|||||||
return 0
|
return 0
|
||||||
|
|
||||||
def get_name():
|
def get_name():
|
||||||
return _("People no listed birth date")
|
return _("People without a birth date")
|
||||||
|
|
||||||
|
|
||||||
|
@ -3686,7 +3686,7 @@ Other
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkWindow</class>
|
<class>GtkWindow</class>
|
||||||
<name>sourceDisplay</name>
|
<name>sourceDisplay</name>
|
||||||
<title>Reletivity - Source Information</title>
|
<title>Gramps - Source Information</title>
|
||||||
<type>GTK_WINDOW_DIALOG</type>
|
<type>GTK_WINDOW_DIALOG</type>
|
||||||
<position>GTK_WIN_POS_CENTER</position>
|
<position>GTK_WIN_POS_CENTER</position>
|
||||||
<modal>True</modal>
|
<modal>True</modal>
|
||||||
|
@ -910,7 +910,7 @@ def on_delete_person_clicked(obj):
|
|||||||
if not active_person:
|
if not active_person:
|
||||||
return
|
return
|
||||||
|
|
||||||
topWindow.question(_("Do you really wish to delete ") + \
|
topWindow.question(_("Do you really wish to delete %s") % \
|
||||||
Config.nameof(active_person), delete_person_response)
|
Config.nameof(active_person), delete_person_response)
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -57,7 +57,7 @@ db = None
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
class AncestorChart:
|
class AncestorReport:
|
||||||
|
|
||||||
def __init__(self,database,person,output,doc, max):
|
def __init__(self,database,person,output,doc, max):
|
||||||
self.doc = doc
|
self.doc = doc
|
||||||
@ -211,7 +211,7 @@ def report(database,person):
|
|||||||
if no_pdf == 1:
|
if no_pdf == 1:
|
||||||
topDialog.get_widget("pdf").set_sensitive(0)
|
topDialog.get_widget("pdf").set_sensitive(0)
|
||||||
|
|
||||||
title = _("Ancestor chart for %s") % name
|
title = _("Ancestor Chart for %s") % name
|
||||||
topDialog.get_widget("labelTitle").set_text(title)
|
topDialog.get_widget("labelTitle").set_text(title)
|
||||||
topDialog.signal_autoconnect({
|
topDialog.signal_autoconnect({
|
||||||
"destroy_passed_object" : utils.destroy_passed_object,
|
"destroy_passed_object" : utils.destroy_passed_object,
|
||||||
@ -243,7 +243,7 @@ def on_save_clicked(obj):
|
|||||||
else:
|
else:
|
||||||
document = PdfDrawDoc(paper,orien)
|
document = PdfDrawDoc(paper,orien)
|
||||||
|
|
||||||
MyReport = AncestorChart(db,active_person,outputName,document,max_gen)
|
MyReport = AncestorReport(db,active_person,outputName,document,max_gen)
|
||||||
|
|
||||||
MyReport.setup()
|
MyReport.setup()
|
||||||
MyReport.write_report()
|
MyReport.write_report()
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
"Generate files/Ahnentafel Chart"
|
"Generate files/Ahnentafel Report"
|
||||||
|
|
||||||
import RelLib
|
import RelLib
|
||||||
import const
|
import const
|
||||||
@ -163,7 +163,7 @@ class AncestorReport:
|
|||||||
|
|
||||||
name = self.start.getPrimaryName().getRegularName()
|
name = self.start.getPrimaryName().getRegularName()
|
||||||
self.doc.start_paragraph("Title")
|
self.doc.start_paragraph("Title")
|
||||||
title = _("Ahnentafel Chart for %s") % name
|
title = _("Ahnentafel Report for %s") % name
|
||||||
self.doc.write_text(title)
|
self.doc.write_text(title)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
|
|
||||||
@ -214,10 +214,10 @@ class AncestorReport:
|
|||||||
(name,date.getDate())
|
(name,date.getDate())
|
||||||
else:
|
else:
|
||||||
if place != "":
|
if place != "":
|
||||||
t = _("%s was born in %s in %s. ") % \
|
t = _("%s was born in the year %s in %s. ") % \
|
||||||
(name,date.getDate(),place)
|
(name,date.getDate(),place)
|
||||||
else:
|
else:
|
||||||
t = _("%s was born in %s. ") % \
|
t = _("%s was born in the year %s. ") % \
|
||||||
(name,date.getDate())
|
(name,date.getDate())
|
||||||
self.doc.write_text(t)
|
self.doc.write_text(t)
|
||||||
|
|
||||||
@ -255,16 +255,16 @@ class AncestorReport:
|
|||||||
else:
|
else:
|
||||||
if male:
|
if male:
|
||||||
if place != "":
|
if place != "":
|
||||||
t = _("He died in %s in %s") % \
|
t = _("He died in the year %s in %s") % \
|
||||||
(date.getDate(),place)
|
(date.getDate(),place)
|
||||||
else:
|
else:
|
||||||
t = _("He died in %s") % date.getDate()
|
t = _("He died in the year %s") % date.getDate()
|
||||||
else:
|
else:
|
||||||
if place != "":
|
if place != "":
|
||||||
t = _("She died in %s in %s") % \
|
t = _("She died in the year %s in %s") % \
|
||||||
(date.getDate(),place)
|
(date.getDate(),place)
|
||||||
else:
|
else:
|
||||||
t = _("She died in %s") % date.getDate()
|
t = _("She died in the year %s") % date.getDate()
|
||||||
|
|
||||||
self.doc.write_text(t)
|
self.doc.write_text(t)
|
||||||
|
|
||||||
@ -284,10 +284,10 @@ class AncestorReport:
|
|||||||
date.getDate()
|
date.getDate()
|
||||||
else:
|
else:
|
||||||
if place != "":
|
if place != "":
|
||||||
t = _(", and was buried in %s in %s.") % \
|
t = _(", and was buried in the year %s in %s.") % \
|
||||||
(date.getDate(),place)
|
(date.getDate(),place)
|
||||||
else:
|
else:
|
||||||
t = _(", and was buried in %s.") % \
|
t = _(", and was buried in the year %s.") % \
|
||||||
date.getDate()
|
date.getDate()
|
||||||
else:
|
else:
|
||||||
t = _(" and was buried in %s." % place)
|
t = _(" and was buried in %s." % place)
|
||||||
@ -397,7 +397,7 @@ def get_description():
|
|||||||
return _("Produces a textual ancestral report")
|
return _("Produces a textual ancestral report")
|
||||||
|
|
||||||
def get_name():
|
def get_name():
|
||||||
return _("Generate files/Ahnentafel Chart")
|
return _("Generate files/Ahnentafel Report")
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -93,5 +93,5 @@ def get_name():
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
def get_description():
|
def get_description():
|
||||||
return _("Provides a browsable hierarchy of the active person")
|
return _("Provides a browsable hierarchy based on the active person")
|
||||||
|
|
||||||
|
@ -483,11 +483,11 @@ def dump_person(person,prefix,templateTop,templateBottom,targetDir):
|
|||||||
name_or_link(sp_mother,prefix))
|
name_or_link(sp_mother,prefix))
|
||||||
html.write("<LI>%s</LI>\n" % txt)
|
html.write("<LI>%s</LI>\n" % txt)
|
||||||
elif sp_father:
|
elif sp_father:
|
||||||
txt = _("Spouse's father: %s and %s") % \
|
txt = _("Spouse's father: %s") % \
|
||||||
name_or_link(sp_father,prefix)
|
name_or_link(sp_father,prefix)
|
||||||
html.write("<LI>%s</LI>\n" % txt)
|
html.write("<LI>%s</LI>\n" % txt)
|
||||||
elif sp_mother:
|
elif sp_mother:
|
||||||
txt = _("Spouse's father: %s and %s") % \
|
txt = _("Spouse's mother: %s") % \
|
||||||
name_or_link(sp_mother,prefix)
|
name_or_link(sp_mother,prefix)
|
||||||
html.write("<LI>%s</LI>\n" % txt)
|
html.write("<LI>%s</LI>\n" % txt)
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GnomeDialog</class>
|
<class>GnomeDialog</class>
|
||||||
<name>dialog1</name>
|
<name>dialog1</name>
|
||||||
<title>GRAMPS - Ancestor Chart</title>
|
<title>Gramps - Ancestor Chart</title>
|
||||||
<type>GTK_WINDOW_DIALOG</type>
|
<type>GTK_WINDOW_DIALOG</type>
|
||||||
<position>GTK_WIN_POS_NONE</position>
|
<position>GTK_WIN_POS_NONE</position>
|
||||||
<modal>False</modal>
|
<modal>False</modal>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GnomeDialog</class>
|
<class>GnomeDialog</class>
|
||||||
<name>dialog1</name>
|
<name>dialog1</name>
|
||||||
<title>GRAMPS - Ahnentalfel Report</title>
|
<title>Gramps - Ahnentafel Report</title>
|
||||||
<type>GTK_WINDOW_DIALOG</type>
|
<type>GTK_WINDOW_DIALOG</type>
|
||||||
<position>GTK_WIN_POS_NONE</position>
|
<position>GTK_WIN_POS_NONE</position>
|
||||||
<modal>False</modal>
|
<modal>False</modal>
|
||||||
@ -97,7 +97,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkLabel</class>
|
<class>GtkLabel</class>
|
||||||
<name>labelTitle</name>
|
<name>labelTitle</name>
|
||||||
<label>Ahnentalfel Report</label>
|
<label>Ahnentafel Report</label>
|
||||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||||
<wrap>False</wrap>
|
<wrap>False</wrap>
|
||||||
<xalign>0.5</xalign>
|
<xalign>0.5</xalign>
|
||||||
@ -215,7 +215,7 @@
|
|||||||
<class>GtkRadioButton</class>
|
<class>GtkRadioButton</class>
|
||||||
<name>abiword</name>
|
<name>abiword</name>
|
||||||
<can_focus>True</can_focus>
|
<can_focus>True</can_focus>
|
||||||
<label>Abiword</label>
|
<label>AbiWord</label>
|
||||||
<active>False</active>
|
<active>False</active>
|
||||||
<draw_indicator>True</draw_indicator>
|
<draw_indicator>True</draw_indicator>
|
||||||
<group>format</group>
|
<group>format</group>
|
||||||
|
@ -1535,7 +1535,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkWindow</class>
|
<class>GtkWindow</class>
|
||||||
<name>message</name>
|
<name>message</name>
|
||||||
<title>GRAMPS - Merge People</title>
|
<title>Gramps - Merge People</title>
|
||||||
<type>GTK_WINDOW_DIALOG</type>
|
<type>GTK_WINDOW_DIALOG</type>
|
||||||
<position>GTK_WIN_POS_NONE</position>
|
<position>GTK_WIN_POS_NONE</position>
|
||||||
<modal>True</modal>
|
<modal>True</modal>
|
||||||
@ -1638,7 +1638,7 @@
|
|||||||
<widget>
|
<widget>
|
||||||
<class>GtkDialog</class>
|
<class>GtkDialog</class>
|
||||||
<name>dialog</name>
|
<name>dialog</name>
|
||||||
<title>GRAMPS - Merge People</title>
|
<title>Gramps - Merge People</title>
|
||||||
<type>GTK_WINDOW_DIALOG</type>
|
<type>GTK_WINDOW_DIALOG</type>
|
||||||
<position>GTK_WIN_POS_NONE</position>
|
<position>GTK_WIN_POS_NONE</position>
|
||||||
<modal>False</modal>
|
<modal>False</modal>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user