|
@@ -99,6 +99,16 @@ namespace PDF_Master.ViewModels.Dialog.ChatGPTAIDialogs
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ private string T_copied;
|
|
|
|
+
|
|
|
|
+ public string T_Copied
|
|
|
|
+ {
|
|
|
|
+ get { return T_copied; }
|
|
|
|
+ set
|
|
|
|
+ {
|
|
|
|
+ SetProperty(ref T_copied, value);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
private void InitString()
|
|
private void InitString()
|
|
{
|
|
{
|
|
@@ -109,6 +119,7 @@ namespace PDF_Master.ViewModels.Dialog.ChatGPTAIDialogs
|
|
T_Copy = App.HomePageLoader.GetString("ChatGTPAI_Copy");
|
|
T_Copy = App.HomePageLoader.GetString("ChatGTPAI_Copy");
|
|
T_Result = App.HomePageLoader.GetString("ChatGTPAI_Result");
|
|
T_Result = App.HomePageLoader.GetString("ChatGTPAI_Result");
|
|
T_TranslationBtn = App.HomePageLoader.GetString("ViewRightMenuText_AITranslationBtn");
|
|
T_TranslationBtn = App.HomePageLoader.GetString("ViewRightMenuText_AITranslationBtn");
|
|
|
|
+ T_Copied = App.HomePageLoader.GetString("ChatGTPAI_Copied");
|
|
}
|
|
}
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
@@ -209,6 +220,19 @@ namespace PDF_Master.ViewModels.Dialog.ChatGPTAIDialogs
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ private Visibility showTip = Visibility.Collapsed;
|
|
|
|
+ public Visibility ShowTip
|
|
|
|
+ {
|
|
|
|
+ get
|
|
|
|
+ {
|
|
|
|
+ return showTip;
|
|
|
|
+ }
|
|
|
|
+ set
|
|
|
|
+ {
|
|
|
|
+ SetProperty(ref showTip, value);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
private string fromlanguage = "";
|
|
private string fromlanguage = "";
|
|
|
|
|
|
private string tolanguage = "";
|
|
private string tolanguage = "";
|
|
@@ -371,6 +395,7 @@ namespace PDF_Master.ViewModels.Dialog.ChatGPTAIDialogs
|
|
try
|
|
try
|
|
{
|
|
{
|
|
System.Windows.Forms.Clipboard.SetText(TranslateText);
|
|
System.Windows.Forms.Clipboard.SetText(TranslateText);
|
|
|
|
+ ShowTip = Visibility.Visible;
|
|
}
|
|
}
|
|
catch { }
|
|
catch { }
|
|
|
|
|