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("