Commit Graph

2 Commits

Author SHA1 Message Date
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