diff --git a/MORT/Properties/Settings.Designer.cs b/MORT/Properties/Settings.Designer.cs index 78c3207..987e222 100644 --- a/MORT/Properties/Settings.Designer.cs +++ b/MORT/Properties/Settings.Designer.cs @@ -147,7 +147,7 @@ public string TOOLTIP_HSV { [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("2021 04 15")] + [global::System.Configuration.DefaultSettingValueAttribute("2021 04 17")] public string MORT_RELEASE { get { return ((string)(this["MORT_RELEASE"])); diff --git a/MORT/TransAPI/NaverTranslateAPI.cs b/MORT/TransAPI/NaverTranslateAPI.cs index 1d97df1..1b80791 100644 --- a/MORT/TransAPI/NaverTranslateAPI.cs +++ b/MORT/TransAPI/NaverTranslateAPI.cs @@ -58,7 +58,7 @@ public void ChangeValue(string idKey, string secretKey, bool isPaid = false) { if(this.idKey == idKey) { - this.isPaid = this.isPaid; + this.isPaid = isPaid; this.secretKey = secretKey; if (isPaid) { @@ -85,6 +85,19 @@ public void SetTransCode(string transCode, string resultCode) public string GetResult(string original, ref bool isError) { + /* + //TEST + if(!isPaid) + { + TransManager.Instace.SetState(TransManager.NaverKeyData.eState.Error); + if (TransManager.Instace.naverKeyList.Count > 1) + { + TransManager.NaverKeyData data = TransManager.Instace.GetNextNaverKey(); + Init(data); + return "\n[" + (TransManager.Instace.currentNaverIndex + 1).ToString() + "]번째 키를 활성화 합니다. "; + } + } + */ //줄바꿈은 %0A 임 string trim = original.Replace(" ", ""); trim = trim.Replace(Environment.NewLine, "");