Skip to content

Commit 786607b

Browse files
authored
rename quick-filters (#248)
1 parent 0a3d2c2 commit 786607b

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

web/locales/en/plugin__netobserv-plugin.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"Namespaces": "Namespaces",
77
"Owners": "Owners",
88
"None": "None",
9+
"3D": "3D",
910
"BreadthFirst": "BreadthFirst",
1011
"Cola": "Cola",
1112
"ColaNoForce": "ColaNoForce",
@@ -25,6 +26,8 @@
2526
"Metric type": "Metric type",
2627
"The level of details represented.": "The level of details represented.",
2728
"Scope": "Scope",
29+
"Long labels can reduce visibility.": "Long labels can reduce visibility.",
30+
"Truncate labels": "Truncate labels",
2831
"Display options": "Display options",
2932
"Source": "Source",
3033
"Destination": "Destination",
@@ -74,8 +77,6 @@
7477
"Edges": "Edges",
7578
"Edges label": "Edges label",
7679
"Badges": "Badges",
77-
"Long labels can reduce visibility.": "Long labels can reduce visibility.",
78-
"Truncate labels": "Truncate labels",
7980
"Collapse groups": "Collapse groups",
8081
"XL": "XL",
8182
"L": "L",
@@ -93,7 +94,7 @@
9394
"group filter": "group filter",
9495
"filter": "filter",
9596
"Edit filters": "Edit filters",
96-
"Filters": "Filters",
97+
"Quick filters": "Quick filters",
9798
"Build info": "Build info",
9899
"Configuration limits": "Configuration limits",
99100
"Metrics": "Metrics",
@@ -166,6 +167,10 @@
166167
"JSON": "JSON",
167168
"Kind not managed": "Kind not managed",
168169
"Unable to get flows": "Unable to get flows",
170+
"Step into this {{name}}": "Step into this {{name}}",
171+
"Add {{name}} filter": "Add {{name}} filter",
172+
"Unpin this element": "Unpin this element",
173+
"Pin this element": "Pin this element",
169174
"Name": "Name",
170175
"Node Name": "Node Name",
171176
"IP": "IP",
@@ -179,10 +184,6 @@
179184
"Edge": "Edge",
180185
"Unknown": "Unknown",
181186
"Unable to get topology": "Unable to get topology",
182-
"Step into this {{name}}": "Step into this {{name}}",
183-
"Add {{name}} filter": "Add {{name}} filter",
184-
"Unpin this element": "Unpin this element",
185-
"Pin this element": "Pin this element",
186187
"Query is slow": "Query is slow",
187188
"Overview": "Overview",
188189
"Traffic flows": "Traffic flows",

web/src/components/filters/filters-toolbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export const FiltersToolbar: React.FC<FiltersToolbarProps> = ({
148148
chipFilters.map((chipFilter, cfIndex) => {
149149
let fullName = getFilterFullName(chipFilter.def, t);
150150
if (chipFilter.not) {
151-
fullName += ' ' + t('Not');
151+
fullName = t('Not') + ' ' + fullName;
152152
}
153153
const someEnabled = hasEnabledFilterValues(chipFilter);
154154
return (

web/src/components/filters/quick-filters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const QuickFilters: React.FC<QuickFiltersProps> = ({ quickFilters, active
6868
onSelect={onSelect}
6969
placeholderText={
7070
<>
71-
<FilterIcon /> {t('Filters')}
71+
<FilterIcon /> {t('Quick filters')}
7272
</>
7373
}
7474
selections={selectedList}

0 commit comments

Comments
 (0)