Skip to content

Commit 823224e

Browse files
committed
bump i18next-parser
1 parent 9e07cda commit 823224e

File tree

9 files changed

+2612
-1038
lines changed

9 files changed

+2612
-1038
lines changed

web/i18next-parser.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
module.exports = {
2+
contextSeparator: '_',
23
createOldCatalogs: false,
34
keySeparator: false,
45
locales: ['en'],
56
defaultNamespace: 'plugin__netobserv-plugin',
67
namespaceSeparator: '~',
78
reactNamespace: false,
8-
useKeysAsDefaultValue: true
9+
defaultValue: (_, __, k, ___) => k,
10+
keepRemoved: false,
911
};

web/locales/en/plugin__netobserv-plugin.json

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@
162162
"S": "S",
163163
"XS": "XS",
164164
"None": "None",
165-
"Step {{index}}/{{count}}": "Step {{index}}/{{count}}",
166-
"Step {{index}}/{{count}}_plural": "Step {{index}}/{{count}}",
165+
"Step {{step}}/{{total}}": "Step {{step}}/{{total}}",
167166
"Previous tip": "Previous tip",
168167
"Next tip": "Next tip",
169168
"Close tips": "Close tips",
@@ -258,6 +257,7 @@
258257
"Reset": "Reset",
259258
"Select a custom time range. Flows are selected based on their End Time value.": "Select a custom time range. Flows are selected based on their End Time value.",
260259
"Collection latency could be up to {{maxChunkAge}} corresponding to the current Loki \"max_chunk_age\" ingester configuration.": "Collection latency could be up to {{maxChunkAge}} corresponding to the current Loki \"max_chunk_age\" ingester configuration.",
260+
"Unable to get config": "Unable to get config",
261261
"Kind not managed": "Kind not managed",
262262
"Query is slow": "Query is slow",
263263
"Time range": "Time range",
@@ -290,8 +290,7 @@
290290
"Loading...": "Loading...",
291291
"Last refresh: {{time}}": "Last refresh: {{time}}",
292292
"Datasource(s): {{sources}}": "Datasource(s): {{sources}}",
293-
"Query count: {{count}}": "Query count: {{count}}",
294-
"Query count: {{count}}_plural": "Query count: {{count}}",
293+
"Query count: {{numQueries}}": "Query count: {{numQueries}}",
295294
"Duration: {{duration}}": "Duration: {{duration}}",
296295
"running": "running",
297296
"queries": "queries",
@@ -305,14 +304,10 @@
305304
"Number": "Number",
306305
"Date": "Date",
307306
"Cardinality": "Cardinality",
308-
"(top {{count}} metrics)": "(top {{count}} metrics)",
309-
"(top {{count}} metrics)_plural": "(top {{count}} metrics)",
310-
"{{count}} IP(s)": "{{count}} IP(s)",
311-
"{{count}} IP(s)_plural": "{{count}} IP(s)",
312-
"{{count}} Port(s)": "{{count}} Port(s)",
313-
"{{count}} Port(s)_plural": "{{count}} Port(s)",
314-
"{{count}} Protocol(s)": "{{count}} Protocol(s)",
315-
"{{count}} Protocol(s)_plural": "{{count}} Protocol(s)",
307+
"(top {{limit}} metrics)": "(top {{limit}} metrics)",
308+
"{{n}} IP(s)": "{{n}} IP(s)",
309+
"{{n}} Port(s)": "{{n}} Port(s)",
310+
"{{n}} Protocol(s)": "{{n}} Protocol(s)",
316311
"DNS latency": "DNS latency",
317312
"Flow RTT": "Flow RTT",
318313
"Duration": "Duration",
@@ -362,8 +357,7 @@
362357
"Show advanced options": "Show advanced options",
363358
"Filter already exists": "Filter already exists",
364359
"Hide filters": "Hide filters",
365-
"Show {{count}} filters": "Show {{count}} filters",
366-
"Show {{count}} filters_plural": "Show {{count}} filters",
360+
"Show {{countActiveFilters}} filters": "Show {{countActiveFilters}} filters",
367361
"Show filters": "Show filters",
368362
"Collapse": "Collapse",
369363
"Expand": "Expand",

0 commit comments

Comments
 (0)