From d74decfb409e5be88d2f23378dca03d990843963 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 18 Dec 2024 19:55:45 +0300 Subject: [PATCH] Change image download warning message to a list --- app/assets/javascripts/leaflet.share.js | 7 ++++++- config/locales/en.yml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index c741c5318d..e73ba2e6b5 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -130,7 +130,12 @@ L.OSM.share = function (options) { $("
") .attr("id", "export-warning") .attr("class", "text-body-secondary") - .text(I18n.t("javascripts.share.only_standard_layer")) + .text(I18n.t("javascripts.share.only_layers_exported_as_image")) + .append( + $("