Skip to content

Commit

Permalink
perf: update google api
Browse files Browse the repository at this point in the history
  • Loading branch information
ZGGSONG committed Jan 7, 2024
1 parent a323e05 commit 8aeda60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ obj/
packages/

.DS_Store
/STranslate/Properties/PublishProfiles/FolderProfile.pubxml
4 changes: 2 additions & 2 deletions STranslate/Helper/ConfigHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ private ConfigModel InitialConfig()
[
new TranslatorApi(Guid.NewGuid(), "https://deepl.deno.dev/translate", "zu1k/deepl"),
new TranslatorApi(Guid.NewGuid(), "https://deeplx.deno.dev/translate", "zggsong/deepl"),
new TranslatorApi(Guid.NewGuid(), "https://iciba.deno.dev/translate", "爱词霸", IconType.Iciba, isEnabled: false),
new TranslatorApi(Guid.NewGuid(), "https://ggtranslate.deno.dev/translate", "谷歌翻译", IconType.Google, isEnabled: false)
new TranslatorApi(Guid.NewGuid(), "https://googlet.deno.dev/translate", "Google", IconType.Google, isEnabled: false),
new TranslatorApi(Guid.NewGuid(), "https://iciba.deno.dev/translate", "爱词霸", IconType.Iciba, isEnabled: false)
]
};
}
Expand Down
2 changes: 1 addition & 1 deletion STranslate/Properties/PublishProfiles/FolderProfile.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<_TargetId>Folder</_TargetId>
<TargetFramework>net8.0-windows</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<SelfContained>true</SelfContained>
<PublishSingleFile>false</PublishSingleFile>
<PublishReadyToRun>false</PublishReadyToRun>
</PropertyGroup>
Expand Down

0 comments on commit 8aeda60

Please sign in to comment.