GeoView : Allow message translation.

svn: r14429
This commit is contained in:
Serge Noiraud 2010-02-21 20:56:36 +00:00
parent 9e742feac4
commit 5a46c30439

View File

@ -918,8 +918,11 @@ 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"),
latitude,
_("Longitude"),
longitude, longitude,
_("Zoom"),
self.realzoom) 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,