mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-24 16:29:45 +00:00
[i18n] Split settings locale to separate json files (#1986)
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -190,7 +190,7 @@ const handleSearch = (query: string) => {
|
||||
const idLower = setting.id.toLowerCase()
|
||||
const nameLower = setting.name.toLowerCase()
|
||||
const translatedName = t(
|
||||
`settingsDialog.${normalizeI18nKey(setting.id)}.name`
|
||||
`settings.${normalizeI18nKey(setting.id)}.name`
|
||||
).toLocaleLowerCase()
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user