Commit 463b08aa authored by Pierre Arnaud's avatar Pierre Arnaud

Translate Maps pages titles

parent 7edbe4d1
This diff is collapsed.
This diff is collapsed.
......@@ -106,6 +106,7 @@ def acces_donnees(request):
@view_config(route_name='accueil', renderer='/accueil.mako')
def accueil(request):
_ = request.translate
petitpois_api = request.registry.settings['petitpois_api']
fields = [
......@@ -32,20 +32,24 @@ log = logging.getLogger(__name__)
@view_config(route_name='maps.dep', renderer='/maps/dep.mako')
def dep(request):
return dict()
_ = request.translate
return dict(title=_("Indicators by departments"))
@view_config(route_name='maps.offers', renderer='/maps/offers.mako')
def offers(request):
return dict()
_ = request.translate
return dict(title=_("Transport Offers"))
@view_config(route_name='maps.reg', renderer='/maps/reg.mako')
def reg(request):
return dict()
_ = request.translate
return dict(title=_("Indicators by regions"))
@view_config(route_name='maps.sim', renderer='/maps/sim.mako')
def sim(request):
return dict()
_ = request.translate
return dict(title=_("a map of multimodale info systems (MIS) in France"))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment