9566: String not translated in geoplaces

This commit is contained in:
SNoiraud 2016-07-06 00:03:35 +02:00
parent fd1f290752
commit 87bd65c855

View File

@ -295,8 +295,8 @@ class GeoPlaces(GeoGraphyView):
if self.nbplaces >= self._config.get("geography.max_places") : if self.nbplaces >= self._config.get("geography.max_places") :
self.message_layer.set_font_attributes(None,None,"red") self.message_layer.set_font_attributes(None,None,"red")
self.message_layer.add_message( self.message_layer.add_message(
_("The maximum number of places is reached (%d)." % _("The maximum number of places is reached (%d).") %
self._config.get("geography.max_places"))) self._config.get("geography.max_places"))
self.message_layer.add_message( self.message_layer.add_message(
_("Some information are missing.")) _("Some information are missing."))
self.message_layer.add_message( self.message_layer.add_message(