瀏覽代碼

test fallback, removed annoying log statement

Scrublord1336 6 年之前
父節點
當前提交
b6c7ecf6e5
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/XUnity.AutoTranslator.Plugin.Core/Web/GoogleTranslateEndpoint.cs

+ 1 - 3
src/XUnity.AutoTranslator.Plugin.Core/Web/GoogleTranslateEndpoint.cs

@@ -107,8 +107,6 @@ namespace XUnity.AutoTranslator.Plugin.Core.Web
                   var parts = result.Split( '.' );
                   m = long.Parse( parts[ 0 ] );
                   s = long.Parse( parts[ 1 ] );
-
-                  Console.WriteLine( "[XUnity.AutoTranslator][INFO]: Successfully setup GoogleTranslate TKK." );
                }
                catch( Exception e )
                {
@@ -119,7 +117,7 @@ namespace XUnity.AutoTranslator.Plugin.Core.Web
 
          if( error != null )
          {
-            Console.WriteLine( "[XUnity.AutoTranslator][ERROR]: An error occurred while setting up GoogleTranslate TKK." + Environment.NewLine + error );
+            Console.WriteLine( "[XUnity.AutoTranslator][ERROR]: An error occurred while setting up GoogleTranslate Cookie/TKK." + Environment.NewLine + error );
          }
       }