Update wording to avoid confusion for data checkboxes

This commit is contained in:
3st3ban3 2023-02-22 17:36:22 +01:00
parent 6d900ac79f
commit eed12fdf87
3 changed files with 5 additions and 3 deletions

View file

@ -969,7 +969,7 @@ L.U.Map.include({
var filter = L.DomUtil.create('li', ''); var filter = L.DomUtil.create('li', '');
L.DomUtil.create('i', 'umap-icon-16 umap-add', filter); L.DomUtil.create('i', 'umap-icon-16 umap-add', filter);
var labelFilter = L.DomUtil.create('span', '', filter); var labelFilter = L.DomUtil.create('span', '', filter);
labelFilter.textContent = labelFilter.title = L._('Filter data'); labelFilter.textContent = labelFilter.title = L._('Select data');
L.DomEvent.on(filter, 'click', this.openFilter, this); L.DomEvent.on(filter, 'click', this.openFilter, this);
actions.push(filter) actions.push(filter)
} }
@ -1471,7 +1471,7 @@ L.U.Map.include({
L.DomEvent.on(browser, 'click', L.DomEvent.stop) L.DomEvent.on(browser, 'click', L.DomEvent.stop)
.on(browser, 'click', this.openBrowser, this); .on(browser, 'click', this.openBrowser, this);
if (this.options.advancedFilterKey) { if (this.options.advancedFilterKey) {
var filter = L.DomUtil.add('a', 'umap-open-filter-link', container, ' | ' + L._('Filter data')); var filter = L.DomUtil.add('a', 'umap-open-filter-link', container, ' | ' + L._('Select data'));
filter.href = '#'; filter.href = '#';
L.DomEvent.on(filter, 'click', L.DomEvent.stop) L.DomEvent.on(filter, 'click', L.DomEvent.stop)
.on(filter, 'click', this.openFilter, this); .on(filter, 'click', this.openFilter, this);
@ -1663,7 +1663,7 @@ L.U.Map.include({
}); });
if (this.options.advancedFilterKey) { if (this.options.advancedFilterKey) {
items.push({ items.push({
text: L._('Filter data'), text: L._('Select data'),
callback: this.openFilter callback: this.openFilter
}) })
} }

View file

@ -262,6 +262,7 @@ var locale = {
"See all": "Tout voir", "See all": "Tout voir",
"See data layers": "Voir les calques", "See data layers": "Voir les calques",
"See full screen": "Voir en plein écran", "See full screen": "Voir en plein écran",
"Select data": "Sélectionner les données",
"Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "Désactiver pour masquer ce calque du diaporama, du navigateur de données…", "Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "Désactiver pour masquer ce calque du diaporama, du navigateur de données…",
"Shape properties": "Propriétés de la forme", "Shape properties": "Propriétés de la forme",
"Short URL": "URL courte", "Short URL": "URL courte",

View file

@ -262,6 +262,7 @@
"See all": "Tout voir", "See all": "Tout voir",
"See data layers": "Voir les calques", "See data layers": "Voir les calques",
"See full screen": "Voir en plein écran", "See full screen": "Voir en plein écran",
"Select data": "Sélectionner les données",
"Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "Désactiver pour masquer ce calque du diaporama, du navigateur de données…", "Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "Désactiver pour masquer ce calque du diaporama, du navigateur de données…",
"Shape properties": "Propriétés de la forme", "Shape properties": "Propriétés de la forme",
"Short URL": "URL courte", "Short URL": "URL courte",