From e7e91c72694ded79cf3f8adc1b046e63fe062474 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Tue, 27 Jan 2009 07:35:55 +0000 Subject: [PATCH] GeoView : title change when no coordinates. svn: r11743 --- src/DataViews/GeoView.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DataViews/GeoView.py b/src/DataViews/GeoView.py index 054cc6c20..08086b3cf 100644 --- a/src/DataViews/GeoView.py +++ b/src/DataViews/GeoView.py @@ -1294,7 +1294,7 @@ class GeoView(HtmlView): descr1, self.center, None) self.center = False if self.center: - mess = _("Cannot center the map. No selected location.") + mess = _("Cannot center the map. No location with coordinates.") else: mess = "" self.create_pages(1,_("All places in the database with coordinates."),mess) @@ -1348,7 +1348,7 @@ class GeoView(HtmlView): descr2, self.center, eventyear) self.center = False if self.center: - mess = _("Cannot center the map. No selected location.") + mess = _("Cannot center the map. No location with coordinates.") else: mess = "" self.create_pages(2,_("All events in the database with coordinates."),mess) @@ -1394,7 +1394,7 @@ class GeoView(HtmlView): _("Child"),index) self.createPersonMarkers(db,child,comment) if self.center: - mess = _("Cannot center the map. No selected location.") + mess = _("Cannot center the map. No location with coordinates.") else: mess = "" self.create_pages(3, @@ -1449,7 +1449,7 @@ class GeoView(HtmlView): descr1, self.center, eventyear) self.center = False if self.center: - mess = _("Cannot center the map. No selected location.") + mess = _("Cannot center the map. No location with coordinates.") else: mess = "" self.create_pages(4,( _("All event places for %s.") % _nd.display(person) ) ,mess)