diff --git a/.gitignore b/.gitignore index aca15c0e..fd1d7118 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ obj/ packages/ .DS_Store +/STranslate/Properties/PublishProfiles/FolderProfile.pubxml diff --git a/STranslate/Helper/ConfigHelper.cs b/STranslate/Helper/ConfigHelper.cs index e1f20f2e..d0df1043 100644 --- a/STranslate/Helper/ConfigHelper.cs +++ b/STranslate/Helper/ConfigHelper.cs @@ -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) ] }; } diff --git a/STranslate/Properties/PublishProfiles/FolderProfile.pubxml b/STranslate/Properties/PublishProfiles/FolderProfile.pubxml index 5215a1cc..3cc0252c 100644 --- a/STranslate/Properties/PublishProfiles/FolderProfile.pubxml +++ b/STranslate/Properties/PublishProfiles/FolderProfile.pubxml @@ -11,7 +11,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. <_TargetId>Folder net8.0-windows win-x64 - false + true false false