Commit Graph
11 Commits
Author SHA1 Message Date
troyeguo 4cafffc062 feat: add multiple translation plugins and registry
- Implemented new translation plugins: ollamaTranslate, potTranslate, reversoEmbedTranslate, sogouEmbedTranslate, tencentTranslate, transmartEmbedTranslate, volcengineTranslate, yandexEmbedTranslate, youdaoGeneralTranslate, and youdaoLlmTranslate.
- Created a centralized rendererRegistry to manage translation plugins.
- Defined types for plugin configuration and translation functionality in types.ts.
2026-07-31 09:59:05 +08:00
troyeguo e5a567a3c8 Extend note highlights with four styles and refactor ColorOption to a two-row layout. 2026-06-24 09:17:47 +08:00
troyeguo 7758dae7f0 feat: enhance PopupDict and PopupMenu to handle original sentence extraction
- Added originalSentence prop to PopupDict and PopupMenu components.
- Updated handleRecordHistory to include originalSentence when saving dictionary history.
- Implemented getSelectionSentence utility to extract the full sentence containing the selected text.
- Modified actions and reducers to manage originalSentence in the Redux store.
- Updated relevant components to utilize the new originalSentence functionality for improved context in dictionary lookups.
2026-04-09 15:45:54 +08:00
troyeguo b40416939a fix bug 2024-12-09 23:32:20 +08:00
troyeguo 0f73fc4d11 fix bug 2024-12-07 09:44:12 +08:00
troyeguo 7c15423798 sqlite test 2024-11-26 19:34:29 +08:00
troyeguo 83cc9cf011 fix bug 2024-08-03 12:32:48 +08:00
troyeguo 02d7d6a785 fix bug 2024-07-17 07:26:08 +08:00
troyeguo 83a94f6947 fix bug 2024-07-15 22:29:49 +08:00
troyeguo 31e9c37c7d fix bug 2024-07-15 08:54:46 +08:00
troyeguo 4dd07a4504 fix bug 2024-07-14 21:04:56 +08:00