Skip to content

Task/i18n#8

Merged
tzzs merged 7 commits intomasterfrom
task/i18n
Mar 13, 2026
Merged

Task/i18n#8
tzzs merged 7 commits intomasterfrom
task/i18n

Conversation

@tzzs
Copy link
Owner

@tzzs tzzs commented Mar 13, 2026

  • Implement new IPC channel for logging to file from renderer
  • Add debug utility with log level support (info, warn, error)
  • Replace console calls with new debug utility in settings page
  • Update tsconfig for ESM module system compatibility

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

tzzs added 7 commits March 14, 2026 05:34
- 完整翻译所有章节为简体中文
- 添加测试命令详细说明
- 补充 TypeScript 严格模式配置

feat: 添加 PowerShell 脚本工具

- cleanup.ps1: 清理脚本
- task.ps1: 任务管理脚本
Add i18n support using i18next library with English and Chinese translations
Implement language switcher component and settings integration
Add theme management system with light/dark/system modes
Update all UI text to use translation keys
Create translation files for en-US and zh-CN
Add settings store for persisting user preferences
Add refresh callback registration and triggering mechanism to automatically update UI components when language changes. This eliminates the need for page reloads and ensures all relevant components refresh their content.

Modified pages (backup, history, main, settings) to register their refresh functions. The i18n module now triggers all registered callbacks after language change completes.
refactor(ipc): wrap all handlers with logging and error handling
perf(menu): optimize badge preloading with Promise.all
style(logging): add detailed logging throughout the application
Add description text for theme and language settings in both zh-CN and en-US locales. Move hardcoded strings to translation files and implement refresh callback for admin status text.
- Implement new IPC channel for logging to file from renderer
- Add debug utility with log level support (info, warn, error)
- Replace console calls with new debug utility in settings page
- Update tsconfig for ESM module system compatibility
- Delete coverage directory and its contents
- Add coverage directory to gitignore
- Update test files with debug logger and invalidateCache mock
@tzzs tzzs merged commit 230be4b into master Mar 13, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant