Date: 2026-01-15 00:00 Summary: Applied translation suggestions to i18n files and created backups.
[question]
User requested: 自动把翻译修改建议应用到对应的 src/site/i18n/*.ts 文件。
[try to solve]
- Added
scripts/apply-i18n-updates.mjswith the suggestedtool_*_descriptionupdates for all supported languages and backup logic. - Ran the script locally: it created timestamped backups for each modified i18n file and replaced/injected the suggested
tool_*_descriptionentries. - Files updated (originals backed up as
.bak.<timestamp>):src/site/i18n/{en,zh,es,fr,de,ru,pt,ja,id,ar}.ts.
Notes: review the updated locale files for nuance and style; run npm run lint:seo and npm run build:site afterward.
[actions]
- Created
scripts/apply-i18n-updates.mjs - Updated
src/site/i18n/*.ts(10 files) and created backupssrc/site/i18n/*.ts.bak.<timestamp>