typo for handling translated strings

svn: r21589
This commit is contained in:
Jérôme Rapinat 2013-03-09 12:17:40 +00:00
parent 9856e108e6
commit c9698f51e0
2 changed files with 2 additions and 2 deletions

View File

@ -464,7 +464,7 @@ class GeoMoves(GeoGraphyView):
person = self.dbstate.db.get_person_from_handle(self.uistate.get_active('Person'))
if not person:
return
self.message_layer.add_message(_("All descendance for %s" % _nd.display(person)))
self.message_layer.add_message(_("All descendance for %s") % _nd.display(person))
color = Gdk.color_parse(self._config.get('geography.color_base'))
GLib.timeout_add(int(self._config.get("geography.generation_interval")),
self.animate_moves, 0, person, color)

View File

@ -299,7 +299,7 @@ class GeoPerson(GeoGraphyView):
person = dbstate.db.get_person_from_handle(person_handle)
if person is not None:
# For each event, if we have a place, set a marker.
self.message_layer.add_message(_("Person places for %s" % _nd.display(person)))
self.message_layer.add_message(_("Person places for %s") % _nd.display(person))
for event_ref in person.get_event_ref_list():
if not event_ref:
continue