enable translations on GeoView.py
svn: r11866
This commit is contained in:
parent
6883f7c870
commit
2a4246f247
@ -72,7 +72,7 @@ src/Merge/_MergeSource.py
|
|||||||
# DataViews package
|
# DataViews package
|
||||||
src/DataViews/EventView.py
|
src/DataViews/EventView.py
|
||||||
src/DataViews/FamilyList.py
|
src/DataViews/FamilyList.py
|
||||||
#src/DataViews/GeoView.py
|
src/DataViews/GeoView.py
|
||||||
src/DataViews/__init__.py
|
src/DataViews/__init__.py
|
||||||
src/DataViews/MediaView.py
|
src/DataViews/MediaView.py
|
||||||
src/DataViews/GrampletView.py
|
src/DataViews/GrampletView.py
|
||||||
|
@ -1466,16 +1466,16 @@ class GeoView(HtmlView):
|
|||||||
if person_list:
|
if person_list:
|
||||||
descr = "<br>"
|
descr = "<br>"
|
||||||
for person in person_list:
|
for person in person_list:
|
||||||
descr = _("%(description)s%(name)s<br>") % {
|
descr = ("%(description)s%(name)s<br>") % {
|
||||||
'description' : descr,
|
'description' : descr,
|
||||||
'name' : _nd.display(person)}
|
'name' : _nd.display(person)}
|
||||||
descr = _("%(eventtype)s; %(place)s%(description)s"
|
descr = ("%(eventtype)s; %(place)s%(description)s"
|
||||||
) % { 'eventtype': gen.lib.EventType(
|
) % { 'eventtype': gen.lib.EventType(
|
||||||
event.get_type()),
|
event.get_type()),
|
||||||
'place': place.get_title(),
|
'place': place.get_title(),
|
||||||
'description': descr}
|
'description': descr}
|
||||||
else:
|
else:
|
||||||
descr = _("%(eventtype)s; %(place)s<br>") % {
|
descr = ("%(eventtype)s; %(place)s<br>") % {
|
||||||
'eventtype': gen.lib.EventType(
|
'eventtype': gen.lib.EventType(
|
||||||
event.get_type()),
|
event.get_type()),
|
||||||
'place': place.get_title()}
|
'place': place.get_title()}
|
||||||
|
Loading…
Reference in New Issue
Block a user