🎨 Refactoring the extension service and the keybinding service

This commit is contained in:
landaiqing committed 2025-07-07 13:19:59 +08:00
1 parent 7c2318a13f
commit 7fcfc5e992
14 files changed
+680 -506

No files matched your search

-7
View File
@@ -107,14 +107,7 @@ func NewDefaultExtensions() []Extension {
Enabled: true,
IsDefault: true,
Config: ExtensionConfig{
"defaultSourceLang": "auto",
"defaultTargetLang": "zh",
"defaultTranslator": "bing",
"showTranslateButton": true,
"showButtonOnSelect": true,
"buttonDisplayDelay": 300,
"tooltipTimeout": 0,
"maxTooltipWidth": 300,
"minSelectionLength": 2,
"maxTranslationLength": 5000,
},