diff --git a/src/Translater.cs b/src/Translater.cs index 8839a9e..9a399f5 100644 --- a/src/Translater.cs +++ b/src/Translater.cs @@ -21,6 +21,7 @@ public class ResultItem public class Translater : IPlugin, IDisposable, IDelayedExecutionPlugin, ISettingProvider, IContextMenu { public string Name => "Translator"; + public static string PluginID => "EY1EBAMTNIWIVLYM039DSOS5MWITDJOD"; public string Description => "A simple translation plugin, based on Youdao Translation"; public IEnumerable AdditionalOptions => GetAdditionalOptions(); public PluginMetadata? queryMetaData = null; @@ -32,6 +33,7 @@ public class Translater : IPlugin, IDisposable, IDelayedExecutionPlugin, ISettin private Suggest.SuggestHelper? suggestHelper; private History.HistoryHelper? historyHelper; + private bool isDebug = false; private string queryPre = ""; private long lastQueryTime = 0;