From f63f13d70f729645b05191d0f33762484dc06590 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Thu, 24 Sep 2009 17:28:33 +0000 Subject: [PATCH] GeoView : translation problem. svn: r13245 --- src/DataViews/GeoView.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/DataViews/GeoView.py b/src/DataViews/GeoView.py index 500b6b3b2..2f1cd6c81 100644 --- a/src/DataViews/GeoView.py +++ b/src/DataViews/GeoView.py @@ -699,14 +699,17 @@ class GeoView(HtmlView): if self.without != 0: self.without_coord_file = os.path.join(GEOVIEW_SUBPATH, "without_coord.html") - self.mapview.write("
You have ") filename = urlparse.urlunsplit( ('file', '', URL_SEP.join(self.without_coord_file.split(os.sep)), '', '')) - self.mapview.write("%d" % \ - ( filename, self.without ) ) - self.mapview.write(" places without coordinates
\n" ) + self.mapview.write("
%s
%d%s\n" % ( + _("You have "), + filename, + self.without, + _(" places without coordinates.") + ) + ) self._createpageplaceswithoutcoord() if self.displaytype != "places": self.mapview.write("
\n") @@ -714,8 +717,7 @@ class GeoView(HtmlView): self.mapview.write("name='years' value='All' checked\n") self.mapview.write(" onchange=\"selectmarkers") self.mapview.write("(\'All\')\"/>%s\n" % _("All")) - for year in range(self.minyear, self.maxyear+self.yearint, - self.yearint): + for year in range(self.minyear, self.maxyear+1, self.yearint): self.mapview.write("