Fix disabled overlay layers translations
This commit is contained in:
parent
439ad373ec
commit
fd8f35309d
2 changed files with 4 additions and 2 deletions
|
@ -155,9 +155,9 @@ L.OSM.layers = function(options) {
|
|||
map.on('zoomend', function() {
|
||||
var disabled = map.getZoom() < minZoom + 1;
|
||||
$(input).prop('disabled', disabled);
|
||||
disabled ? $(item).attr('class', 'disabled') : $(item).attr('class', '');
|
||||
$(item).attr('class', disabled ? 'disabled' : '');
|
||||
item.attr('data-original-title', disabled ?
|
||||
'Zoom in to see ' + name.toLowerCase() : '');
|
||||
I18n.t('javascripts.site.' + refName + '_zoom_in_tooltip') : '');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -2050,6 +2050,8 @@ en:
|
|||
edit_disabled_tooltip: Zoom in to edit the map
|
||||
createnote_tooltip: Add a note to the map
|
||||
createnote_disabled_tooltip: Zoom in to add a note to the map
|
||||
map_notes_zoom_in_tooltip: Zoom in to see map notes
|
||||
map_data_zoom_in_tooltip: Zoom in to see map data
|
||||
notes:
|
||||
new:
|
||||
intro: "In order to improve the map the information you enter is shown to other mappers, so please be as descriptive and precise as possible when moving the marker to the correct position and entering your note below."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue