mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
Merge core settings with existing translations (#1782)
This commit is contained in:
@@ -25,7 +25,14 @@ const main = () => {
|
||||
const globalLocale = JSON.parse(fs.readFileSync(localePath, 'utf-8'))
|
||||
fs.writeFileSync(
|
||||
localePath,
|
||||
JSON.stringify({ ...globalLocale, settingsDialog: localeStrings }, null, 2)
|
||||
JSON.stringify(
|
||||
{
|
||||
...globalLocale,
|
||||
settingsDialog: { ...globalLocale.settingsDialog, ...localeStrings }
|
||||
},
|
||||
null,
|
||||
2
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user