Interactive interface for browsing global, full-resolution satellite imagery
fix wording of hls grid alert #3343
Ben King5b68a2698e7f
diff --git a/web/js/modules/image-download/util.js b/web/js/modules/image-download/util.jsindex 3ffe1a5d3..9a1616baa 100644--- a/web/js/modules/image-download/util.js+++ b/web/js/modules/image-download/util.js@@ -326,9 +326,9 @@ export function getNonDownloadableLayerWarning(nonDownloadableLayer) {const layerStr = getNamesOfNondownloadableLayers(nonDownloadableLayer);if (!layerStr) return '';const multiLayers = layerStr.indexOf(',') > -1;- return multiLayers ? `The ${layerStr} layers cannot be used to take a snapshot. Would you `- + 'like to temporarily hide these layers?' : `The ${layerStr} layer cannot be used to take a snapshot. Would you `- + 'like to temporarily hide this layer?';+ const layerPluralStr = multiLayers ? 'layers' : 'layer';+ const thisTheseStr = multiLayers ? 'these' : 'this';+ return `The ${layerStr} ${layerPluralStr} cannot be included in a snapshot. Would you like to temporarily hide ${thisTheseStr} layer?`;}/*** Get array of layers that will be removed if nofication is accepted