Skip to content

Commit

Permalink
perf: 优化默认配置中字体大小及无效服务
Browse files Browse the repository at this point in the history
  • Loading branch information
ZGGSONG committed Jan 7, 2025
1 parent 4440bf0 commit 1f1fd9e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/STranslate/Helper/ConfigHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ private ConfigModel InitialConfig()
OftenUsedLang = string.Empty,
UseCacheLocation = false,
ShowMinimalBtn = false,
GlobalFontSize = GlobalFontSizeEnum.General,
GlobalFontSize = GlobalFontSizeEnum.VerySmall,
AutoTranslate = false,
IsShowAutoTranslate = false,
AnimationSpeed = AnimationSpeedEnum.Middle,
Expand All @@ -875,9 +875,8 @@ private ConfigModel InitialConfig()
ReplaceProp = new ReplaceProp(),
Services =
[
new TranslatorSTranslate(Guid.NewGuid(), "", "STranslate"),
new TranslatorGoogleBuiltin(Guid.NewGuid(), "https://googlet.deno.dev/translate", "Google", IconType.Google),
new TranslatorDeepLX(Guid.NewGuid(), "https://deeplx.deno.dev/translate", "DeepLX", isEnabled: false),
new TranslatorSTranslate(),
new TranslatorGoogleBuiltin(),
new TranslatorKingSoftDict(),
new TranslatorBingDict(),
],
Expand Down

0 comments on commit 1f1fd9e

Please sign in to comment.