mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 19:21:54 +00:00
Translate core setting name & tooltip (#1765)
* lazy eval default value * Add setting translation * Adjust hooks * Add all translations * nit * Normalized setting id * Update locales * Fallback * Locale => Language * Locale => Language * Update translations
This commit is contained in:
@@ -8,9 +8,11 @@ export default {
|
||||
'tsc-strict'
|
||||
],
|
||||
|
||||
'./src/locales/*.json': (stagedFiles) => [
|
||||
'lobe-i18n locale',
|
||||
...formatFiles(stagedFiles)
|
||||
'./src/locales/en.json': () => ['lobe-i18n locale'],
|
||||
|
||||
'./src/constants/coreSettings.ts': () => [
|
||||
'tsx scripts/update-setting-locale.ts',
|
||||
'lobe-i18n locale'
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user