wip: rename facet by filters in user facing labels
This commit is contained in:
parent
0741d2a943
commit
99effc880b
2 changed files with 5 additions and 5 deletions
|
@ -556,9 +556,9 @@ U.Help = L.Class.extend({
|
||||||
'Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.'
|
'Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.'
|
||||||
),
|
),
|
||||||
slugKey: L._('The name of the property to use as feature unique identifier.'),
|
slugKey: L._('The name of the property to use as feature unique identifier.'),
|
||||||
filterKey: L._('Comma separated list of properties to use when filtering features'),
|
filterKey: L._('Comma separated list of properties to use when filtering features by text input'),
|
||||||
facetKey: L._(
|
facetKey: L._(
|
||||||
'Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key). To control input field type, add it after another | (eg.: mykey|My Key|checkbox,otherkey|Other Key|datetime). Allowed values for the input field type are checkbox (default), radio, number, date and datetime.'
|
'Comma separated list of properties to use for filters (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key). To control input field type, add it after another | (eg.: mykey|My Key|checkbox,otherkey|Other Key|datetime). Allowed values for the input field type are checkbox (default), radio, number, date and datetime.'
|
||||||
),
|
),
|
||||||
interactive: L._(
|
interactive: L._(
|
||||||
'If false, the polygon or line will act as a part of the underlying map.'
|
'If false, the polygon or line will act as a part of the underlying map.'
|
||||||
|
|
|
@ -1222,7 +1222,7 @@ U.Map = L.Map.extend({
|
||||||
handler: 'Input',
|
handler: 'Input',
|
||||||
helpEntries: 'filterKey',
|
helpEntries: 'filterKey',
|
||||||
placeholder: L._('Default: name'),
|
placeholder: L._('Default: name'),
|
||||||
label: L._('Filter keys'),
|
label: L._('Search keys'),
|
||||||
inheritable: true,
|
inheritable: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -1232,7 +1232,7 @@ U.Map = L.Map.extend({
|
||||||
handler: 'BlurInput',
|
handler: 'BlurInput',
|
||||||
helpEntries: 'facetKey',
|
helpEntries: 'facetKey',
|
||||||
placeholder: L._('Example: key1,key2|Label 2,key3|Label 3|checkbox'),
|
placeholder: L._('Example: key1,key2|Label 2,key3|Label 3|checkbox'),
|
||||||
label: L._('Facet keys'),
|
label: L._('Filters keys'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -1601,7 +1601,7 @@ U.Map = L.Map.extend({
|
||||||
L.DomUtil.createButton(
|
L.DomUtil.createButton(
|
||||||
'umap-open-filter-link flat',
|
'umap-open-filter-link flat',
|
||||||
container,
|
container,
|
||||||
L._('Select data'),
|
L._('Filter data'),
|
||||||
() => this.openBrowser('filters')
|
() => this.openBrowser('filters')
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue