|
@@ -8,7 +8,7 @@ namespace XUnity.AutoTranslator.Plugin.Core.Web
|
|
|
{
|
|
|
public static class KnownEndpoints
|
|
|
{
|
|
|
- public static readonly KnownEndpoint GoogleTranslateLegacy = new GoogleTranslateEndpoint();
|
|
|
+ public static readonly KnownEndpoint GoogleTranslate = new GoogleTranslateEndpoint();
|
|
|
public static readonly KnownEndpoint GoogleTranslateHack = new GoogleTranslateHackEndpoint();
|
|
|
public static readonly KnownEndpoint BaiduTranslate = new BaiduTranslateEndpoint();
|
|
|
public static readonly KnownEndpoint YandexTranslate = new YandexTranslateEndpoint();
|
|
@@ -22,7 +22,7 @@ namespace XUnity.AutoTranslator.Plugin.Core.Web
|
|
|
switch( identifier )
|
|
|
{
|
|
|
case KnownEndpointNames.GoogleTranslate:
|
|
|
- return GoogleTranslateLegacy;
|
|
|
+ return GoogleTranslate;
|
|
|
case KnownEndpointNames.GoogleTranslateHack:
|
|
|
return GoogleTranslateHack;
|
|
|
case KnownEndpointNames.BaiduTranslate:
|