🎨 Refactoring the extension service and the keybinding service
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
Reference in New Issue
Block a user