typo for handling translated strings

svn: r21586
This commit is contained in:
Jérôme Rapinat 2013-03-09 09:17:59 +00:00
parent 54320efc45
commit 2dab9b146e
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')) person = self.dbstate.db.get_person_from_handle(self.uistate.get_active('Person'))
if not person: if not person:
return 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')) color = Gdk.color_parse(self._config.get('geography.color_base'))
GLib.timeout_add(int(self._config.get("geography.generation_interval")), GLib.timeout_add(int(self._config.get("geography.generation_interval")),
self.animate_moves, 0, person, color) self.animate_moves, 0, person, color)

View File

@ -299,7 +299,7 @@ class GeoPerson(GeoGraphyView):
person = dbstate.db.get_person_from_handle(person_handle) person = dbstate.db.get_person_from_handle(person_handle)
if person is not None: if person is not None:
# For each event, if we have a place, set a marker. # 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(): for event_ref in person.get_event_ref_list():
if not event_ref: if not event_ref:
continue continue