Internationalisation: Remove specific i18n sorting function (#118178)

remove specific i18n sorting function
This commit is contained in:
Ashley Harrison 2026-02-16 10:29:51 +00:00 committed by GitHub
parent bcc238cf78
commit c61af73d7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 1513 additions and 1523 deletions

View file

@ -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),
},
});

View file

@ -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),
},
});

View file

@ -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),
},
});

View file

@ -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),
},
});

View file

@ -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),
},
});

View file

@ -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),
},
});

View file

@ -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),
},
});

View file

@ -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),
},
});

View file

@ -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),
},
});

File diff suppressed because it is too large Load diff