diff --git a/umap/static/umap/js/modules/browser.js b/umap/static/umap/js/modules/browser.js index a46f94cf..4a024cfc 100644 --- a/umap/static/umap/js/modules/browser.js +++ b/umap/static/umap/js/modules/browser.js @@ -150,7 +150,7 @@ export default class Browser { // https://github.com/Leaflet/Leaflet/pull/9052 DomEvent.disableClickPropagation(container) - DomUtil.createTitle(container, translate('Browser'), 'icon-layers') + DomUtil.createTitle(container, translate('Data browser'), 'icon-layers') const formContainer = DomUtil.createFieldset(container, L._('Filters'), { on: this.mode === 'filters', className: 'filters', diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index ab7d546b..0417319d 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -992,7 +992,7 @@ U.AttributionControl = L.Control.Attribution.extend({ }) } if (captionMenus) { - const link = L.DomUtil.add('a', '', container, ` — ${L._('About')}`) + const link = L.DomUtil.add('a', '', container, ` — ${L._('Open caption')}`) L.DomEvent.on(link, 'click', L.DomEvent.stop) .on(link, 'click', this._map.openCaption, this._map) .on(link, 'dblclick', L.DomEvent.stop) diff --git a/umap/static/umap/js/umap.js b/umap/static/umap/js/umap.js index d3e7c1db..2601b1fb 100644 --- a/umap/static/umap/js/umap.js +++ b/umap/static/umap/js/umap.js @@ -1611,7 +1611,7 @@ U.Map = L.Map.extend({ L.DomUtil.createButton( 'umap-about-link flat', container, - L._('About'), + L._('Open caption'), this.openCaption, this ) @@ -1762,23 +1762,23 @@ U.Map = L.Map.extend({ items.push( '-', { - text: L._('Browser: layers'), + text: L._('Open browser'), callback: () => this.openBrowser('layers'), }, { - text: L._('Browser: data'), + text: L._('Browse data'), callback: () => this.openBrowser('data'), } ) if (this.options.facetKey) { items.push({ - text: L._('Browser: filters'), + text: L._('Filter data'), callback: () => this.openBrowser('filters'), }) } items.push( { - text: L._('About'), + text: L._('Open caption'), callback: this.openCaption, }, { diff --git a/umap/tests/integration/test_edit_datalayer.py b/umap/tests/integration/test_edit_datalayer.py index 9792a5e9..3ef0fd44 100644 --- a/umap/tests/integration/test_edit_datalayer.py +++ b/umap/tests/integration/test_edit_datalayer.py @@ -191,7 +191,7 @@ def test_deleting_datalayer_should_remove_from_browser_and_layers_list( page.goto(f"{live_server.url}{openmap.get_absolute_url()}?edit") panel = page.locator(".panel.left") edit_panel = page.locator(".panel.right") - page.get_by_title("See layers").click() + page.get_by_title("Open browser").click() page.get_by_role("link", name="Manage layers").click() expect(panel.get_by_text("test datalayer")).to_be_visible() expect(edit_panel.get_by_text("test datalayer")).to_be_visible()