cherry-studio/scripts
亢奋猫 f2b4a2382b
refactor: rename i18n commands for better consistency (#11938)
* refactor: rename i18n commands for better consistency

- Rename `check:i18n` to `i18n:check`
- Rename `sync:i18n` to `i18n:sync`
- Rename `update:i18n` to `i18n:translate` (clearer purpose)
- Rename `auto:i18n` to `i18n:all` (runs check, sync, and translate)
- Update lint script to use new `i18n:check` command name

This follows the common naming convention of grouping related commands
under a namespace prefix (e.g., `test:main`, `test:renderer`).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* refactor: update i18n command names and improve documentation

- Renamed i18n commands for consistency: `sync:i18n` to `i18n:sync`, `check:i18n` to `i18n:check`, and `auto:i18n` to `i18n:translate`.
- Updated relevant documentation and scripts to reflect new command names.
- Improved formatting and clarity in i18n-related guides and scripts.

This change enhances the clarity and usability of i18n commands across the project.

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 22:08:05 +08:00
..
__tests__ chore(i18n): Separate check-i18n and sync-i18n; add auto sort i18n (#8206) 2025-07-19 23:26:40 +08:00
after-pack.js refactor: fix asar integration (#9753) 2025-09-01 19:48:24 +08:00
artifact-build-completed.js chore(dependencies): update electron-builder to 26.0.15 (#5651) 2025-05-04 18:34:43 +08:00
auto-translate-i18n.ts refactor: rename i18n commands for better consistency (#11938) 2025-12-16 22:08:05 +08:00
before-pack.js ⬆️ chore: migrate from Claude Code SDK to Claude Agent SDK v0.1.1 2025-09-30 17:54:02 +08:00
check-custom-exts.ts chore(languages): update languages with a script (#8445) 2025-07-24 15:57:09 +08:00
check-i18n.ts refactor: rename i18n commands for better consistency (#11938) 2025-12-16 22:08:05 +08:00
cloudflare-worker.js revert: cloudflare-worker.js 2024-12-24 17:38:30 +08:00
feishu-notify.js chore(feishu-notify): modify notification card (#11656) 2025-12-03 22:32:18 +08:00
notarize.js fix: clean up code (#5851) 2025-05-11 00:37:01 +08:00
sort.ts chore(i18n): Separate check-i18n and sync-i18n; add auto sort i18n (#8206) 2025-07-19 23:26:40 +08:00
sync-i18n.ts ci(i18n): update translation config to use TRANSLATION_BASE_LOCALE (#10965) 2025-10-26 15:58:54 +08:00
update-app-upgrade-config.ts ♻️ refactor: implement config-based update system with version compatibility control (#11147) 2025-11-14 17:49:40 +08:00
update-i18n.ts chore: migrate from openai to @cherrystudio/openai package (#10802) 2025-10-22 17:34:23 +08:00
update-languages.ts feat: use biome to format files (#10170) 2025-09-15 19:21:15 +08:00
utils.js refactor: fix asar integration (#9753) 2025-09-01 19:48:24 +08:00
version.js chore(version): 0.3.7 2024-07-26 11:04:02 +08:00
win-sign.js chore: add gitcode release sync workflow (#11807) 2025-12-11 14:05:41 +08:00