Do not need to translate variables
svn: r14041
This commit is contained in:
parent
263c87ff87
commit
9ccdb167cd
@ -24,7 +24,6 @@ src/gramps.py
|
||||
src/ImgManip.py
|
||||
src/ListModel.py
|
||||
src/ManagedWindow.py
|
||||
src/Navigation.py
|
||||
src/PlaceUtils.py
|
||||
src/QuestionDialog.py
|
||||
src/QuickReports.py
|
||||
|
@ -99,13 +99,13 @@ class DescendantGramplet(Gramplet):
|
||||
|
||||
if birth:
|
||||
if birth_place:
|
||||
self.append_text(_("%(event_abbrev)s %(birth_date)s - %(place)s") % {
|
||||
self.append_text("%(event_abbrev)s %(birth_date)s - %(place)s" % {
|
||||
'event_abbrev': birth.type.get_abbreviation(),
|
||||
'birth_date' : birth_date,
|
||||
'place' : birth_place,
|
||||
})
|
||||
else:
|
||||
self.append_text(_("%(event_abbrev)s %(birth_date)s") % {
|
||||
self.append_text("%(event_abbrev)s %(birth_date)s" % {
|
||||
'event_abbrev': birth.type.get_abbreviation(),
|
||||
'birth_date' : birth_date
|
||||
})
|
||||
@ -114,13 +114,13 @@ class DescendantGramplet(Gramplet):
|
||||
if birth:
|
||||
self.append_text(', ')
|
||||
if death_place:
|
||||
self.append_text(_("%(event_abbrev)s %(death_date)s - %(place)s") % {
|
||||
self.append_text("%(event_abbrev)s %(death_date)s - %(place)s" % {
|
||||
'event_abbrev': death.type.get_abbreviation(),
|
||||
'death_date' : death_date,
|
||||
'place' : death_place,
|
||||
})
|
||||
else:
|
||||
self.append_text(_("%(event_abbrev)s %(death_date)s") % {
|
||||
self.append_text("%(event_abbrev)s %(death_date)s" % {
|
||||
'event_abbrev': death.type.get_abbreviation(),
|
||||
'death_date' : death_date
|
||||
})
|
||||
|
@ -95,13 +95,13 @@ class DescendantReport(Report):
|
||||
if bplace_handle:
|
||||
birth_place = self.database.get_place_from_handle(
|
||||
bplace_handle).get_title()
|
||||
self.doc.write_text(_("%(event_abbrev)s %(birth_date)s - %(place)s") % {
|
||||
self.doc.write_text("%(event_abbrev)s %(birth_date)s - %(place)s" % {
|
||||
'event_abbrev': birth.type.get_abbreviation(),
|
||||
'birth_date' : birth_date,
|
||||
'place' : birth_place,
|
||||
})
|
||||
else:
|
||||
self.doc.write_text(_("%(event_abbrev)s %(birth_date)s") % {
|
||||
self.doc.write_text("%(event_abbrev)s %(birth_date)s" % {
|
||||
'event_abbrev': birth.type.get_abbreviation(),
|
||||
'birth_date' : birth_date
|
||||
})
|
||||
@ -114,13 +114,13 @@ class DescendantReport(Report):
|
||||
if dplace_handle:
|
||||
death_place = self.database.get_place_from_handle(
|
||||
dplace_handle).get_title()
|
||||
self.doc.write_text(_("%(event_abbrev)s %(death_date)s - %(place)s") % {
|
||||
self.doc.write_text("%(event_abbrev)s %(death_date)s - %(place)s" % {
|
||||
'event_abbrev': death.type.get_abbreviation(),
|
||||
'death_date' : death_date,
|
||||
'place' : death_place,
|
||||
})
|
||||
else:
|
||||
self.doc.write_text(_("%(event_abbrev)s %(death_date)s") % {
|
||||
self.doc.write_text("%(event_abbrev)s %(death_date)s" % {
|
||||
'event_abbrev': death.type.get_abbreviation(),
|
||||
'death_date' : death_date
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user