mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 05:09:09 +08:00
style: change biome sort order to natural and clean up i18next config
- Update biome.jsonc to use natural sort order for keys - Clean up i18next.config.ts formatting and remove trailing newline
This commit is contained in:
parent
3677a34ceb
commit
311a229ab7
@ -8,7 +8,7 @@
|
||||
"useSortedKeys": {
|
||||
"level": "on",
|
||||
"options": {
|
||||
"sortOrder": "lexicographic"
|
||||
"sortOrder": "natural"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,13 +1,9 @@
|
||||
import { defineConfig } from 'i18next-cli';
|
||||
import { defineConfig } from 'i18next-cli'
|
||||
|
||||
export default defineConfig({
|
||||
locales: [
|
||||
"en-us",
|
||||
"zh-cn",
|
||||
"zh-tw"
|
||||
],
|
||||
locales: ['en-us', 'zh-cn', 'zh-tw'],
|
||||
extract: {
|
||||
input: "src/renderer/src/**/*.{ts,tsx}",
|
||||
output: "src/renderer/src/i18n/locales/{{language}}.json"
|
||||
input: 'src/renderer/src/**/*.{ts,tsx}',
|
||||
output: 'src/renderer/src/i18n/locales/{{language}}.json'
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user