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') : '');
});
}
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."