]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.layers.js
Fix common details
[rails.git] / app / assets / javascripts / leaflet.layers.js
index a364588c1dfe073f7778f0390df016b9bdc488fc..2534a91c29b1071911924382697a90faff928b82 100644 (file)
@@ -10,7 +10,7 @@ L.OSM.layers = function(options) {
     var button = $('<a>')
       .attr('class', 'control-button')
       .attr('href', '#')
     var button = $('<a>')
       .attr('class', 'control-button')
       .attr('href', '#')
-      .attr('title', 'Layers')
+      .attr('title', I18n.t('javascripts.map.layers.title'))
       .html('<span class="icon layers"></span>')
       .on('click', toggle)
       .appendTo($container);
       .html('<span class="icon layers"></span>')
       .on('click', toggle)
       .appendTo($container);