Adding internationalization in links share and layers.

This commit is contained in:
Omar Vega 2013-09-29 11:36:18 -05:00 committed by Tom Hughes
parent 1104165e7b
commit 2d0dcbd9d0
3 changed files with 3 additions and 2 deletions

View file

@ -10,7 +10,7 @@ L.OSM.layers = function(options) {
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);