String changes for translation purposes

svn: r56
This commit is contained in:
Don Allingham 2001-05-23 22:20:10 +00:00
parent b94e9e303f
commit 7f6ad90ea8
11 changed files with 35 additions and 81 deletions

View File

@ -1829,7 +1829,7 @@
<widget>
<class>GtkLabel</class>
<name>label140</name>
<label>From : </label>
<label>Date : </label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>1</xalign>
@ -1989,38 +1989,6 @@
</child>
</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>
<class>GtkButton</class>
<name>button91</name>
@ -2196,15 +2164,14 @@
<widget>
<class>GtkCList</class>
<name>address_list</name>
<height>120</height>
<can_focus>True</can_focus>
<signal>
<name>select_row</name>
<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>
<columns>3</columns>
<column_widths>138,119,80</column_widths>
<columns>2</columns>
<column_widths>165,80</column_widths>
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
<show_titles>True</show_titles>
<shadow_type>GTK_SHADOW_IN</shadow_type>
@ -2212,8 +2179,8 @@
<widget>
<class>GtkLabel</class>
<child_name>CList:title</child_name>
<name>label144</name>
<label>From</label>
<name>label150</name>
<label>Date</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
@ -2225,20 +2192,7 @@
<widget>
<class>GtkLabel</class>
<child_name>CList:title</child_name>
<name>label145</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>
<name>label151</name>
<label>Location</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>

View File

@ -18,7 +18,7 @@
# 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 string
@ -27,7 +27,7 @@ import intl
_ = intl.gettext
class NoBirthdate(Filter.Filter):
"People no listed birth date"
"People without a birth date"
def match(self,person):
return person.getBirth().getDate() == ""
@ -39,6 +39,6 @@ def need_qualifier():
return 0
def get_name():
return _("People no listed birth date")
return _("People without a birth date")

View File

@ -3686,7 +3686,7 @@ Other
<widget>
<class>GtkWindow</class>
<name>sourceDisplay</name>
<title>Reletivity - Source Information</title>
<title>Gramps - Source Information</title>
<type>GTK_WINDOW_DIALOG</type>
<position>GTK_WIN_POS_CENTER</position>
<modal>True</modal>

View File

@ -910,7 +910,7 @@ def on_delete_person_clicked(obj):
if not active_person:
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)
#-------------------------------------------------------------------------

View File

@ -57,7 +57,7 @@ db = None
#
#
#------------------------------------------------------------------------
class AncestorChart:
class AncestorReport:
def __init__(self,database,person,output,doc, max):
self.doc = doc
@ -211,7 +211,7 @@ def report(database,person):
if no_pdf == 1:
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.signal_autoconnect({
"destroy_passed_object" : utils.destroy_passed_object,
@ -243,7 +243,7 @@ def on_save_clicked(obj):
else:
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.write_report()

View File

@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
"Generate files/Ahnentafel Chart"
"Generate files/Ahnentafel Report"
import RelLib
import const
@ -163,7 +163,7 @@ class AncestorReport:
name = self.start.getPrimaryName().getRegularName()
self.doc.start_paragraph("Title")
title = _("Ahnentafel Chart for %s") % name
title = _("Ahnentafel Report for %s") % name
self.doc.write_text(title)
self.doc.end_paragraph()
@ -214,10 +214,10 @@ class AncestorReport:
(name,date.getDate())
else:
if place != "":
t = _("%s was born in %s in %s. ") % \
t = _("%s was born in the year %s in %s. ") % \
(name,date.getDate(),place)
else:
t = _("%s was born in %s. ") % \
t = _("%s was born in the year %s. ") % \
(name,date.getDate())
self.doc.write_text(t)
@ -255,16 +255,16 @@ class AncestorReport:
else:
if male:
if place != "":
t = _("He died in %s in %s") % \
t = _("He died in the year %s in %s") % \
(date.getDate(),place)
else:
t = _("He died in %s") % date.getDate()
t = _("He died in the year %s") % date.getDate()
else:
if place != "":
t = _("She died in %s in %s") % \
t = _("She died in the year %s in %s") % \
(date.getDate(),place)
else:
t = _("She died in %s") % date.getDate()
t = _("She died in the year %s") % date.getDate()
self.doc.write_text(t)
@ -284,10 +284,10 @@ class AncestorReport:
date.getDate()
else:
if place != "":
t = _(", and was buried in %s in %s.") % \
t = _(", and was buried in the year %s in %s.") % \
(date.getDate(),place)
else:
t = _(", and was buried in %s.") % \
t = _(", and was buried in the year %s.") % \
date.getDate()
else:
t = _(" and was buried in %s." % place)
@ -397,7 +397,7 @@ def get_description():
return _("Produces a textual ancestral report")
def get_name():
return _("Generate files/Ahnentafel Chart")
return _("Generate files/Ahnentafel Report")
#------------------------------------------------------------------------
#

View File

@ -93,5 +93,5 @@ def get_name():
#
#-------------------------------------------------------------------------
def get_description():
return _("Provides a browsable hierarchy of the active person")
return _("Provides a browsable hierarchy based on the active person")

View File

@ -483,11 +483,11 @@ def dump_person(person,prefix,templateTop,templateBottom,targetDir):
name_or_link(sp_mother,prefix))
html.write("<LI>%s</LI>\n" % txt)
elif sp_father:
txt = _("Spouse's father: %s and %s") % \
txt = _("Spouse's father: %s") % \
name_or_link(sp_father,prefix)
html.write("<LI>%s</LI>\n" % txt)
elif sp_mother:
txt = _("Spouse's father: %s and %s") % \
txt = _("Spouse's mother: %s") % \
name_or_link(sp_mother,prefix)
html.write("<LI>%s</LI>\n" % txt)

View File

@ -15,7 +15,7 @@
<widget>
<class>GnomeDialog</class>
<name>dialog1</name>
<title>GRAMPS - Ancestor Chart</title>
<title>Gramps - Ancestor Chart</title>
<type>GTK_WINDOW_DIALOG</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>

View File

@ -15,7 +15,7 @@
<widget>
<class>GnomeDialog</class>
<name>dialog1</name>
<title>GRAMPS - Ahnentalfel Report</title>
<title>Gramps - Ahnentafel Report</title>
<type>GTK_WINDOW_DIALOG</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
@ -97,7 +97,7 @@
<widget>
<class>GtkLabel</class>
<name>labelTitle</name>
<label>Ahnentalfel Report</label>
<label>Ahnentafel Report</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
@ -215,7 +215,7 @@
<class>GtkRadioButton</class>
<name>abiword</name>
<can_focus>True</can_focus>
<label>Abiword</label>
<label>AbiWord</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<group>format</group>

View File

@ -1535,7 +1535,7 @@
<widget>
<class>GtkWindow</class>
<name>message</name>
<title>GRAMPS - Merge People</title>
<title>Gramps - Merge People</title>
<type>GTK_WINDOW_DIALOG</type>
<position>GTK_WIN_POS_NONE</position>
<modal>True</modal>
@ -1638,7 +1638,7 @@
<widget>
<class>GtkDialog</class>
<name>dialog</name>
<title>GRAMPS - Merge People</title>
<title>Gramps - Merge People</title>
<type>GTK_WINDOW_DIALOG</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>