5 Commits

Author SHA1 Message Date
troyeguo
529bc0cc19 refactor: replace console.log with console.info for consistent logging 2026-04-14 09:10:18 +08:00
troyeguo
93e2be68de Remove console.log statements across various components for cleaner code and improved performance. 2026-04-14 09:05:21 +08:00
troyeguo
394be779b7 feat: add scripts for extracting untranslated entries and merging translations 2026-04-13 19:45:30 +08:00
troyeguo
30f6553b11 feat: add Discord Rich Presence support
- Added translation for "Enable Discord Rich Presence" and its description in Chinese.
- Introduced a new setting option for enabling Discord Rich Presence in the settings panel.
- Implemented functionality to update Discord Rich Presence with the current book information when reading.
- Added methods to clear Discord Rich Presence when the reader is closed.
- Updated the percentage display in the reading progress to show as a percentage.
2026-04-07 09:37:59 +08:00
troyeguo
4b32218321 feat(i18n): add script for managing translation files and patching nan.h
- Implemented a script to list locale folders and identify missing translation terms in English.
- Added functionality to copy missing terms from Chinese translations to English.
- Enhanced the script to fill in missing terms for other languages based on the updated English file.
- Created a patch script for nan.h to comment out the inclusion of nan_scriptorigin.h for cross-platform compatibility.
2026-04-07 08:59:10 +08:00