Adding internationalization in links share and layers.
This commit is contained in:
parent
1104165e7b
commit
2d0dcbd9d0
3 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue