.appendTo($ui);
$("<p>")
- .text(I18n.t("javascripts.map.layers.overlays"))
+ .text(OSM.i18n.t("javascripts.map.layers.overlays"))
.attr("class", "text-body-secondary small mb-2")
.appendTo(overlaySection);
if (name === "notes" || name === "data") {
item
- .attr("title", I18n.t("javascripts.site.map_" + name + "_zoom_in_tooltip"))
+ .attr("title", OSM.i18n.t("javascripts.site.map_" + name + "_zoom_in_tooltip"))
.tooltip("disable");
}
.prop("checked", checked)
.appendTo(label);
- label.append(I18n.t("javascripts.map.layers." + name));
+ label.append(OSM.i18n.t("javascripts.map.layers." + name));
input.on("change", function () {
checked = input.is(":checked");