GeoView : Allow message translation.

svn: r14430
This commit is contained in:
Serge Noiraud 2010-02-21 20:57:29 +00:00
parent 21d65684b3
commit 2618b3adfd

View File

@ -918,9 +918,12 @@ class GeoView(HtmlView):
latitude, longitude = conv_lat_lon(self.reallatitude, latitude, longitude = conv_lat_lon(self.reallatitude,
self.reallongitude, self.reallongitude,
"D.D8") "D.D8")
mess = "lon= %s \tlat= %s\tzoom= %s" % ( latitude, mess = "%s= %s\t%s= %s\t%s= %s" % ( _("Latitude"),
longitude, latitude,
self.realzoom) _("Longitude"),
longitude,
_("Zoom"),
self.realzoom)
self.context_id = self.uistate.status.push(1, mess) self.context_id = self.uistate.status.push(1, mess)
gobject.timeout_add(timeloop, gobject.timeout_add(timeloop,
self._savezoomandposition, timeloop) self._savezoomandposition, timeloop)