Merge pull request #5710 from lilyhuang-github/i18n

Change prebuild.js to allow i18n-default.json indentation to exist
This commit is contained in:
Zach H 2025-03-11 21:00:53 -04:00 committed by GitHub
commit 9b00bdcaea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -86,7 +86,7 @@ async function createI18NDefault() {
return acc; return acc;
}, {}); }, {});
fse.outputFile(i18nDefaultFile, JSON.stringify(rollup)); fse.outputFile(i18nDefaultFile, JSON.stringify(rollup, null, 2));
} catch (e) { } catch (e) {
console.error(e); console.error(e);
process.exitCode = 1; process.exitCode = 1;

View file

@ -379,4 +379,4 @@
"reset": "Reset Password" "reset": "Reset Password"
} }
} }
} }