Internationalisation: Remove specific i18n sorting function (#118178)
remove specific i18n sorting function
This commit is contained in:
@@ -9,6 +9,5 @@ export default defineConfig({
|
||||
defaultNS: pluginJson.id,
|
||||
functions: ['t', '*.t'],
|
||||
transComponents: ['Trans'],
|
||||
sort: (a, b) => (a.key > b.key ? 1 : a.key < b.key ? -1 : 0),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -9,6 +9,5 @@ export default defineConfig({
|
||||
defaultNS: pluginJson.id,
|
||||
functions: ['t', '*.t'],
|
||||
transComponents: ['Trans'],
|
||||
sort: (a, b) => (a.key > b.key ? 1 : a.key < b.key ? -1 : 0),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -9,6 +9,5 @@ export default defineConfig({
|
||||
defaultNS: pluginJson.id,
|
||||
functions: ['t', '*.t'],
|
||||
transComponents: ['Trans'],
|
||||
sort: (a, b) => (a.key > b.key ? 1 : a.key < b.key ? -1 : 0),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -14,6 +14,5 @@ export default defineConfig({
|
||||
defaultNS: 'grafana',
|
||||
functions: ['t', '*.t'],
|
||||
transComponents: ['Trans'],
|
||||
sort: (a, b) => (a.key > b.key ? 1 : a.key < b.key ? -1 : 0),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -8,7 +8,5 @@ export default defineConfig({
|
||||
defaultNS: 'grafana-alerting',
|
||||
functions: ['t', '*.t'],
|
||||
transComponents: ['Trans'],
|
||||
// eslint-disable-next-line no-nested-ternary
|
||||
sort: (a, b) => (a.key > b.key ? 1 : a.key < b.key ? -1 : 0),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -8,6 +8,5 @@ export default defineConfig({
|
||||
defaultNS: 'grafana-prometheus',
|
||||
functions: ['t', '*.t'],
|
||||
transComponents: ['Trans'],
|
||||
sort: (a, b) => (a.key > b.key ? 1 : a.key < b.key ? -1 : 0),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -8,6 +8,5 @@ export default defineConfig({
|
||||
defaultNS: 'grafana-sql',
|
||||
functions: ['t', '*.t'],
|
||||
transComponents: ['Trans'],
|
||||
sort: (a, b) => (a.key > b.key ? 1 : a.key < b.key ? -1 : 0),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -8,6 +8,5 @@ export default defineConfig({
|
||||
defaultNS: 'grafana-azure-monitor-datasource',
|
||||
functions: ['t', '*.t'],
|
||||
transComponents: ['Trans'],
|
||||
sort: (a, b) => (a.key > b.key ? 1 : a.key < b.key ? -1 : 0),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -8,6 +8,5 @@ export default defineConfig({
|
||||
defaultNS: 'mssql',
|
||||
functions: ['t', '*.t'],
|
||||
transComponents: ['Trans'],
|
||||
sort: (a, b) => (a.key > b.key ? 1 : a.key < b.key ? -1 : 0),
|
||||
},
|
||||
});
|
||||
|
||||
+1513
-1513
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user