mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 10:42:44 +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'))
|
const globalLocale = JSON.parse(fs.readFileSync(localePath, 'utf-8'))
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(
|
||||||
localePath,
|
localePath,
|
||||||
JSON.stringify({ ...globalLocale, settingsDialog: localeStrings }, null, 2)
|
JSON.stringify(
|
||||||
|
{
|
||||||
|
...globalLocale,
|
||||||
|
settingsDialog: { ...globalLocale.settingsDialog, ...localeStrings }
|
||||||
|
},
|
||||||
|
null,
|
||||||
|
2
|
||||||
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user