diff --git a/scripts/update-setting-locale.ts b/scripts/update-setting-locale.ts index 601535495..c9fb23ec7 100644 --- a/scripts/update-setting-locale.ts +++ b/scripts/update-setting-locale.ts @@ -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 + ) ) }