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 5573ade1a2
commit 5678dd45b6
10 changed files with 1513 additions and 1523 deletions
@@ -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),
},
});
-1
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),
},
});
@@ -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),
},
});
-1
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),
},
});
@@ -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),
},
});
File diff suppressed because it is too large Load Diff