Browse Source

人工智能-部分文案

liyijie 1 year ago
parent
commit
aa5a3da28b

+ 126 - 0
PDF Office/MultilingualResources/PDF Office.en.xlf

@@ -626,6 +626,132 @@ View, Annotate and Convert PDFs with PDF Master to boost your productivity.</tar
           <source>Edit Original Text and Images Like Word</source>
           <target state="new">Edit Original Text and Images Like Word</target>
         </trans-unit>
+        <trans-unit id="AIErrorCorrectionBtn_Title" translate="yes" xml:space="preserve">
+          <source>AI Error Correction</source>
+          <target state="new">AI Error Correction</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_DropTip" translate="yes" xml:space="preserve">
+          <source>or drop file here</source>
+          <target state="new">or drop file here</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_LimitTip" translate="yes" xml:space="preserve">
+          <source>Limit document size to 10M, document page number to 30, 10w characters per month
+Scanning PDF file is not supported!</source>
+          <target state="new">Limit document size to 10M, document page number to 30, 10w characters per month
+Scanning PDF file is not supported!</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_SelectFileBtn" translate="yes" xml:space="preserve">
+          <source>Select File</source>
+          <target state="new">Select File</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_SupportTip" translate="yes" xml:space="preserve">
+          <source>Support PDF and Word file</source>
+          <target state="new">Support PDF and Word file</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_Title" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_TranslationLanguage" translate="yes" xml:space="preserve">
+          <source>Translation Language</source>
+          <target state="new">Translation Language</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_Copy" translate="yes" xml:space="preserve">
+          <source>Copy</source>
+          <target state="new">Copy</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_LimitTip" translate="yes" xml:space="preserve">
+          <source>Limited to 150 characters per session, 5 times per month</source>
+          <target state="new">Limited to 150 characters per session, 5 times per month</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_TextBoxWatermark" translate="yes" xml:space="preserve">
+          <source>Please enter text content here...</source>
+          <target state="new">Please enter text content here...</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFFromScannerBtn" translate="yes" xml:space="preserve">
+          <source>Import From Scanner</source>
+          <target state="new">Import From Scanner</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFNewBlankPageBtn" translate="yes" xml:space="preserve">
+          <source>New Blank Page</source>
+          <target state="new">New Blank Page</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFNewFromFilesBtn" translate="yes" xml:space="preserve">
+          <source>New From Files</source>
+          <target state="new">New From Files</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFTitle" translate="yes" xml:space="preserve">
+          <source>Create PDF</source>
+          <target state="new">Create PDF</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_OpenPDFBtn" translate="yes" xml:space="preserve">
+          <source>Select Files</source>
+          <target state="new">Select Files</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_OpenPDFDropTip" translate="yes" xml:space="preserve">
+          <source>Or drop files here to open</source>
+          <target state="new">Or drop files here to open</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_OpenPDFTitle" translate="yes" xml:space="preserve">
+          <source>Open PDF</source>
+          <target state="new">Open PDF</target>
+        </trans-unit>
+        <trans-unit id="Home_AIErrorCorrectionBtn" translate="yes" xml:space="preserve">
+          <source>AI Error Correction</source>
+          <target state="new">AI Error Correction</target>
+        </trans-unit>
+        <trans-unit id="Home_AIRewritingBtn" translate="yes" xml:space="preserve">
+          <source>AI Rewriting</source>
+          <target state="new">AI Rewriting</target>
+        </trans-unit>
+        <trans-unit id="Home_AITranslationBtn" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="Home_HomeBtn" translate="yes" xml:space="preserve">
+          <source>Home</source>
+          <target state="new">Home</target>
+        </trans-unit>
+        <trans-unit id="ViewRightMenuText_AITranslation" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="ViewRightMenuText_AITranslationBtn" translate="yes" xml:space="preserve">
+          <source>Translate</source>
+          <target state="new">Translate</target>
+        </trans-unit>
+        <trans-unit id="ViewRightMenuText_AITranslationTitle" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="AIErrorCorrectionBtn_CorrectBtn" translate="yes" xml:space="preserve">
+          <source>Correct</source>
+          <target state="new">Correct</target>
+        </trans-unit>
+        <trans-unit id="AIRewriteBtn_RewritingBtn" translate="yes" xml:space="preserve">
+          <source>Rewriting</source>
+          <target state="new">Rewriting</target>
+        </trans-unit>
+        <trans-unit id="AIRewriteBtn_Title" translate="yes" xml:space="preserve">
+          <source>AI Rewriting</source>
+          <target state="new">AI Rewriting</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_Copied" translate="yes" xml:space="preserve">
+          <source>Copied</source>
+          <target state="new">Copied</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_Result" translate="yes" xml:space="preserve">
+          <source>Result</source>
+          <target state="new">Result</target>
+        </trans-unit>
+        <trans-unit id="AITranslation_LimitTip" translate="yes" xml:space="preserve">
+          <source>Limit document size to 10M, document page number to 30, 10w characters per month.</source>
+          <target state="new">Limit document size to 10M, document page number to 30, 10w characters per month.</target>
+        </trans-unit>
+        <trans-unit id="AITranslation_NotSupportedTip" translate="yes" xml:space="preserve">
+          <source>Scanned PDF file is not supported</source>
+          <target state="new">Scanned PDF file is not supported</target>
+        </trans-unit>
       </group>
     </body>
   </file>

+ 126 - 0
PDF Office/MultilingualResources/PDF Office.zh-Hans.xlf

@@ -626,6 +626,132 @@ View, Annotate and Convert PDFs with PDF Master to boost your productivity.</tar
           <source>Edit Original Text and Images Like Word</source>
           <target state="new">Edit Original Text and Images Like Word</target>
         </trans-unit>
+        <trans-unit id="AIErrorCorrectionBtn_Title" translate="yes" xml:space="preserve">
+          <source>AI Error Correction</source>
+          <target state="new">AI Error Correction</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_DropTip" translate="yes" xml:space="preserve">
+          <source>or drop file here</source>
+          <target state="new">or drop file here</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_LimitTip" translate="yes" xml:space="preserve">
+          <source>Limit document size to 10M, document page number to 30, 10w characters per month
+Scanning PDF file is not supported!</source>
+          <target state="new">Limit document size to 10M, document page number to 30, 10w characters per month
+Scanning PDF file is not supported!</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_SelectFileBtn" translate="yes" xml:space="preserve">
+          <source>Select File</source>
+          <target state="new">Select File</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_SupportTip" translate="yes" xml:space="preserve">
+          <source>Support PDF and Word file</source>
+          <target state="new">Support PDF and Word file</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_Title" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_TranslationLanguage" translate="yes" xml:space="preserve">
+          <source>Translation Language</source>
+          <target state="new">Translation Language</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_Copy" translate="yes" xml:space="preserve">
+          <source>Copy</source>
+          <target state="new">Copy</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_LimitTip" translate="yes" xml:space="preserve">
+          <source>Limited to 150 characters per session, 5 times per month</source>
+          <target state="new">Limited to 150 characters per session, 5 times per month</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_TextBoxWatermark" translate="yes" xml:space="preserve">
+          <source>Please enter text content here...</source>
+          <target state="new">Please enter text content here...</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFFromScannerBtn" translate="yes" xml:space="preserve">
+          <source>Import From Scanner</source>
+          <target state="new">Import From Scanner</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFNewBlankPageBtn" translate="yes" xml:space="preserve">
+          <source>New Blank Page</source>
+          <target state="new">New Blank Page</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFNewFromFilesBtn" translate="yes" xml:space="preserve">
+          <source>New From Files</source>
+          <target state="new">New From Files</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFTitle" translate="yes" xml:space="preserve">
+          <source>Create PDF</source>
+          <target state="new">Create PDF</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_OpenPDFBtn" translate="yes" xml:space="preserve">
+          <source>Select Files</source>
+          <target state="new">Select Files</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_OpenPDFDropTip" translate="yes" xml:space="preserve">
+          <source>Or drop files here to open</source>
+          <target state="new">Or drop files here to open</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_OpenPDFTitle" translate="yes" xml:space="preserve">
+          <source>Open PDF</source>
+          <target state="new">Open PDF</target>
+        </trans-unit>
+        <trans-unit id="Home_AIErrorCorrectionBtn" translate="yes" xml:space="preserve">
+          <source>AI Error Correction</source>
+          <target state="new">AI Error Correction</target>
+        </trans-unit>
+        <trans-unit id="Home_AIRewritingBtn" translate="yes" xml:space="preserve">
+          <source>AI Rewriting</source>
+          <target state="new">AI Rewriting</target>
+        </trans-unit>
+        <trans-unit id="Home_AITranslationBtn" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="Home_HomeBtn" translate="yes" xml:space="preserve">
+          <source>Home</source>
+          <target state="new">Home</target>
+        </trans-unit>
+        <trans-unit id="ViewRightMenuText_AITranslation" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="ViewRightMenuText_AITranslationBtn" translate="yes" xml:space="preserve">
+          <source>Translate</source>
+          <target state="new">Translate</target>
+        </trans-unit>
+        <trans-unit id="ViewRightMenuText_AITranslationTitle" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="AIErrorCorrectionBtn_CorrectBtn" translate="yes" xml:space="preserve">
+          <source>Correct</source>
+          <target state="new">Correct</target>
+        </trans-unit>
+        <trans-unit id="AIRewriteBtn_RewritingBtn" translate="yes" xml:space="preserve">
+          <source>Rewriting</source>
+          <target state="new">Rewriting</target>
+        </trans-unit>
+        <trans-unit id="AIRewriteBtn_Title" translate="yes" xml:space="preserve">
+          <source>AI Rewriting</source>
+          <target state="new">AI Rewriting</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_Copied" translate="yes" xml:space="preserve">
+          <source>Copied</source>
+          <target state="new">Copied</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_Result" translate="yes" xml:space="preserve">
+          <source>Result</source>
+          <target state="new">Result</target>
+        </trans-unit>
+        <trans-unit id="AITranslation_LimitTip" translate="yes" xml:space="preserve">
+          <source>Limit document size to 10M, document page number to 30, 10w characters per month.</source>
+          <target state="new">Limit document size to 10M, document page number to 30, 10w characters per month.</target>
+        </trans-unit>
+        <trans-unit id="AITranslation_NotSupportedTip" translate="yes" xml:space="preserve">
+          <source>Scanned PDF file is not supported</source>
+          <target state="new">Scanned PDF file is not supported</target>
+        </trans-unit>
       </group>
     </body>
   </file>

+ 126 - 0
PDF Office/MultilingualResources/PDF Office.zh-Hant.xlf

@@ -626,6 +626,132 @@ View, Annotate and Convert PDFs with PDF Master to boost your productivity.</tar
           <source>Edit Original Text and Images Like Word</source>
           <target state="new">Edit Original Text and Images Like Word</target>
         </trans-unit>
+        <trans-unit id="AIErrorCorrectionBtn_Title" translate="yes" xml:space="preserve">
+          <source>AI Error Correction</source>
+          <target state="new">AI Error Correction</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_DropTip" translate="yes" xml:space="preserve">
+          <source>or drop file here</source>
+          <target state="new">or drop file here</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_LimitTip" translate="yes" xml:space="preserve">
+          <source>Limit document size to 10M, document page number to 30, 10w characters per month
+Scanning PDF file is not supported!</source>
+          <target state="new">Limit document size to 10M, document page number to 30, 10w characters per month
+Scanning PDF file is not supported!</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_SelectFileBtn" translate="yes" xml:space="preserve">
+          <source>Select File</source>
+          <target state="new">Select File</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_SupportTip" translate="yes" xml:space="preserve">
+          <source>Support PDF and Word file</source>
+          <target state="new">Support PDF and Word file</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_Title" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="AITranslationBtn_TranslationLanguage" translate="yes" xml:space="preserve">
+          <source>Translation Language</source>
+          <target state="new">Translation Language</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_Copy" translate="yes" xml:space="preserve">
+          <source>Copy</source>
+          <target state="new">Copy</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_LimitTip" translate="yes" xml:space="preserve">
+          <source>Limited to 150 characters per session, 5 times per month</source>
+          <target state="new">Limited to 150 characters per session, 5 times per month</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_TextBoxWatermark" translate="yes" xml:space="preserve">
+          <source>Please enter text content here...</source>
+          <target state="new">Please enter text content here...</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFFromScannerBtn" translate="yes" xml:space="preserve">
+          <source>Import From Scanner</source>
+          <target state="new">Import From Scanner</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFNewBlankPageBtn" translate="yes" xml:space="preserve">
+          <source>New Blank Page</source>
+          <target state="new">New Blank Page</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFNewFromFilesBtn" translate="yes" xml:space="preserve">
+          <source>New From Files</source>
+          <target state="new">New From Files</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_CreatePDFTitle" translate="yes" xml:space="preserve">
+          <source>Create PDF</source>
+          <target state="new">Create PDF</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_OpenPDFBtn" translate="yes" xml:space="preserve">
+          <source>Select Files</source>
+          <target state="new">Select Files</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_OpenPDFDropTip" translate="yes" xml:space="preserve">
+          <source>Or drop files here to open</source>
+          <target state="new">Or drop files here to open</target>
+        </trans-unit>
+        <trans-unit id="HomeBtn_OpenPDFTitle" translate="yes" xml:space="preserve">
+          <source>Open PDF</source>
+          <target state="new">Open PDF</target>
+        </trans-unit>
+        <trans-unit id="Home_AIErrorCorrectionBtn" translate="yes" xml:space="preserve">
+          <source>AI Error Correction</source>
+          <target state="new">AI Error Correction</target>
+        </trans-unit>
+        <trans-unit id="Home_AIRewritingBtn" translate="yes" xml:space="preserve">
+          <source>AI Rewriting</source>
+          <target state="new">AI Rewriting</target>
+        </trans-unit>
+        <trans-unit id="Home_AITranslationBtn" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="Home_HomeBtn" translate="yes" xml:space="preserve">
+          <source>Home</source>
+          <target state="new">Home</target>
+        </trans-unit>
+        <trans-unit id="ViewRightMenuText_AITranslation" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="ViewRightMenuText_AITranslationBtn" translate="yes" xml:space="preserve">
+          <source>Translate</source>
+          <target state="new">Translate</target>
+        </trans-unit>
+        <trans-unit id="ViewRightMenuText_AITranslationTitle" translate="yes" xml:space="preserve">
+          <source>AI Translation</source>
+          <target state="new">AI Translation</target>
+        </trans-unit>
+        <trans-unit id="AIErrorCorrectionBtn_CorrectBtn" translate="yes" xml:space="preserve">
+          <source>Correct</source>
+          <target state="new">Correct</target>
+        </trans-unit>
+        <trans-unit id="AIRewriteBtn_RewritingBtn" translate="yes" xml:space="preserve">
+          <source>Rewriting</source>
+          <target state="new">Rewriting</target>
+        </trans-unit>
+        <trans-unit id="AIRewriteBtn_Title" translate="yes" xml:space="preserve">
+          <source>AI Rewriting</source>
+          <target state="new">AI Rewriting</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_Copied" translate="yes" xml:space="preserve">
+          <source>Copied</source>
+          <target state="new">Copied</target>
+        </trans-unit>
+        <trans-unit id="ChatGTPAI_Result" translate="yes" xml:space="preserve">
+          <source>Result</source>
+          <target state="new">Result</target>
+        </trans-unit>
+        <trans-unit id="AITranslation_LimitTip" translate="yes" xml:space="preserve">
+          <source>Limit document size to 10M, document page number to 30, 10w characters per month.</source>
+          <target state="new">Limit document size to 10M, document page number to 30, 10w characters per month.</target>
+        </trans-unit>
+        <trans-unit id="AITranslation_NotSupportedTip" translate="yes" xml:space="preserve">
+          <source>Scanned PDF file is not supported</source>
+          <target state="new">Scanned PDF file is not supported</target>
+        </trans-unit>
       </group>
     </body>
   </file>

+ 63 - 0
PDF Office/Strings/HomePage/HomePage.Designer.cs

@@ -60,6 +60,15 @@ namespace PDF_Master.Strings.HomePage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Correct 的本地化字符串。
+        /// </summary>
+        public static string AIErrorCorrectionBtn_CorrectBtn {
+            get {
+                return ResourceManager.GetString("AIErrorCorrectionBtn_CorrectBtn", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 AI Error Correction 的本地化字符串。
         /// </summary>
@@ -69,6 +78,42 @@ namespace PDF_Master.Strings.HomePage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Rewriting 的本地化字符串。
+        /// </summary>
+        public static string AIRewriteBtn_RewritingBtn {
+            get {
+                return ResourceManager.GetString("AIRewriteBtn_RewritingBtn", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 AI Rewriting 的本地化字符串。
+        /// </summary>
+        public static string AIRewriteBtn_Title {
+            get {
+                return ResourceManager.GetString("AIRewriteBtn_Title", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Limit document size to 10M, document page number to 30, 10w characters per month. 的本地化字符串。
+        /// </summary>
+        public static string AITranslation_LimitTip {
+            get {
+                return ResourceManager.GetString("AITranslation_LimitTip", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Scanned PDF file is not supported 的本地化字符串。
+        /// </summary>
+        public static string AITranslation_NotSupportedTip {
+            get {
+                return ResourceManager.GetString("AITranslation_NotSupportedTip", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 or drop file here 的本地化字符串。
         /// </summary>
@@ -142,6 +187,15 @@ namespace PDF_Master.Strings.HomePage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Copied 的本地化字符串。
+        /// </summary>
+        public static string ChatGTPAI_Copied {
+            get {
+                return ResourceManager.GetString("ChatGTPAI_Copied", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Copy 的本地化字符串。
         /// </summary>
@@ -160,6 +214,15 @@ namespace PDF_Master.Strings.HomePage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Result 的本地化字符串。
+        /// </summary>
+        public static string ChatGTPAI_Result {
+            get {
+                return ResourceManager.GetString("ChatGTPAI_Result", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Please enter text content here... 的本地化字符串。
         /// </summary>

+ 21 - 0
PDF Office/Strings/HomePage/HomePage.resx

@@ -117,9 +117,18 @@
   <resheader name="writer">
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
+  <data name="AIErrorCorrectionBtn_CorrectBtn" xml:space="preserve">
+    <value>Correct</value>
+  </data>
   <data name="AIErrorCorrectionBtn_Title" xml:space="preserve">
     <value>AI Error Correction</value>
   </data>
+  <data name="AIRewriteBtn_RewritingBtn" xml:space="preserve">
+    <value>Rewriting</value>
+  </data>
+  <data name="AIRewriteBtn_Title" xml:space="preserve">
+    <value>AI Rewriting</value>
+  </data>
   <data name="AITranslationBtn_DropTip" xml:space="preserve">
     <value>or drop file here</value>
   </data>
@@ -139,18 +148,30 @@ Scanning PDF file is not supported!</value>
   <data name="AITranslationBtn_TranslationLanguage" xml:space="preserve">
     <value>Translation Language</value>
   </data>
+  <data name="AITranslation_LimitTip" xml:space="preserve">
+    <value>Limit document size to 10M, document page number to 30, 10w characters per month.</value>
+  </data>
+  <data name="AITranslation_NotSupportedTip" xml:space="preserve">
+    <value>Scanned PDF file is not supported</value>
+  </data>
   <data name="BtnCancle" xml:space="preserve">
     <value>Cancel</value>
   </data>
   <data name="BtnScan" xml:space="preserve">
     <value>Scan</value>
   </data>
+  <data name="ChatGTPAI_Copied" xml:space="preserve">
+    <value>Copied</value>
+  </data>
   <data name="ChatGTPAI_Copy" xml:space="preserve">
     <value>Copy</value>
   </data>
   <data name="ChatGTPAI_LimitTip" xml:space="preserve">
     <value>Limited to 150 characters per session, 5 times per month</value>
   </data>
+  <data name="ChatGTPAI_Result" xml:space="preserve">
+    <value>Result</value>
+  </data>
   <data name="ChatGTPAI_TextBoxWatermark" xml:space="preserve">
     <value>Please enter text content here...</value>
   </data>

+ 80 - 0
PDF Office/ViewModels/Dialog/ChatGPTAIDialogs/DocumentaryTranslationDialogViewModel.cs

@@ -21,6 +21,86 @@ namespace PDF_Master.ViewModels.Dialog.ChatGPTAIDialogs
 {
     public class DocumentaryTranslationDialogViewModel : BindableBase, IDialogAware
     {
+        #region 文案
+        private string T_title;
+
+        public string T_Title
+        {
+            get { return T_title; }
+            set
+            {
+                SetProperty(ref T_title, value);
+            }
+        }
+
+        private string T_supportTip;
+
+        public string T_SupportTip
+        {
+            get { return T_supportTip; }
+            set
+            {
+                SetProperty(ref T_supportTip, value);
+            }
+        }
+
+        private string T_limitTip;
+
+        public string T_LimitTip
+        {
+            get { return T_limitTip; }
+            set
+            {
+                SetProperty(ref T_limitTip, value);
+            }
+        }
+
+        private string T_translationLanguage;
+
+        public string T_TranslationLanguage
+        {
+            get { return T_translationLanguage; }
+            set
+            {
+                SetProperty(ref T_translationLanguage, value);
+            }
+        }
+
+        private string T_selectFileBtn;
+
+        public string T_SelectFileBtn
+        {
+            get { return T_selectFileBtn; }
+            set
+            {
+                SetProperty(ref T_selectFileBtn, value);
+            }
+        }
+
+        private string T_dropTip;
+
+        public string T_DropTip
+        {
+            get { return T_dropTip; }
+            set
+            {
+                SetProperty(ref T_dropTip, value);
+            }
+        }
+
+
+        private void InitString()
+        {
+            T_Title = App.HomePageLoader.GetString("AITranslationBtn_Title");
+            T_SupportTip = App.HomePageLoader.GetString("AITranslationBtn_SupportTip");
+            T_LimitTip = App.HomePageLoader.GetString("AITranslationBtn_LimitTip");
+            T_TranslationLanguage = App.HomePageLoader.GetString("AITranslationBtn_TranslationLanguage");
+            T_SelectFileBtn = App.HomePageLoader.GetString("AITranslationBtn_SelectFileBtn");
+            T_DropTip = App.HomePageLoader.GetString("AITranslationBtn_DropTip");
+        }
+        #endregion
+
+
         #region 参数和属性
 
         public string Title => "";

+ 92 - 0
PDF Office/ViewModels/Dialog/ChatGPTAIDialogs/SelectedTranslationDialogViewModel.cs

@@ -20,6 +20,97 @@ namespace PDF_Master.ViewModels.Dialog.ChatGPTAIDialogs
 {
     public class SelectedTranslationDialogViewModel : BindableBase, IDialogAware
     {
+        #region 文案
+        private string T_title;
+
+        public string T_Title
+        {
+            get { return T_title; }
+            set
+            {
+                SetProperty(ref T_title, value);
+            }
+        }
+
+        private string T_limitTip;
+
+        public string T_LimitTip
+        {
+            get { return T_limitTip; }
+            set
+            {
+                SetProperty(ref T_limitTip, value);
+            }
+        }
+
+        private string T_textBoxWatermark;
+
+        public string T_TextBoxWatermark
+        {
+            get { return T_textBoxWatermark; }
+            set
+            {
+                SetProperty(ref T_textBoxWatermark, value);
+            }
+        }
+
+        private string T_copy;
+
+        public string T_Copy
+        {
+            get { return T_copy; }
+            set
+            {
+                SetProperty(ref T_copy, value);
+            }
+        }
+
+        private string T_result;
+
+        public string T_Result
+        {
+            get { return T_result; }
+            set
+            {
+                SetProperty(ref T_result, value);
+            }
+        }
+
+        private string T_translationBtn;
+
+        public string T_TranslationBtn
+        {
+            get { return T_translationBtn; }
+            set
+            {
+                SetProperty(ref T_translationBtn, value);
+            }
+        }
+
+        private string T_translationLanguage;
+
+        public string T_TranslationLanguage
+        {
+            get { return T_translationLanguage; }
+            set
+            {
+                SetProperty(ref T_translationLanguage, value);
+            }
+        }
+
+
+        private void InitString()
+        {
+            T_Title = App.HomePageLoader.GetString("ViewRightMenuText_AITranslationTitle");
+            T_LimitTip = App.HomePageLoader.GetString("AITranslationBtn_LimitTip");
+            T_TextBoxWatermark = App.HomePageLoader.GetString("ChatGTPAI_TextBoxWatermark");
+            T_TranslationLanguage = App.HomePageLoader.GetString("AITranslationBtn_TranslationLanguage");
+            T_Copy = App.HomePageLoader.GetString("ChatGTPAI_Copy");
+            T_Result = App.HomePageLoader.GetString("ChatGTPAI_Result");
+            T_TranslationBtn = App.HomePageLoader.GetString("ViewRightMenuText_AITranslationBtn");
+        }
+        #endregion
+
         #region 参数和属性
         public string Title => "";
 
@@ -176,6 +267,7 @@ namespace PDF_Master.ViewModels.Dialog.ChatGPTAIDialogs
             CopyCommand = new DelegateCommand(copy);
             textBoxEnterCharactersTextChangedCommad = new DelegateCommand<object>(textBoxEnterCharactersTextChanged);
             init();
+            InitString();
         }
         #region 逻辑函数
 

+ 48 - 0
PDF Office/ViewModels/HomeContentViewModel.cs

@@ -25,6 +25,50 @@ namespace PDF_Master.ViewModels
 
         #region 文案
 
+        private string T_homeBtn;
+
+        public string T_HomeBtn
+        {
+            get { return T_homeBtn; }
+            set
+            {
+                SetProperty(ref T_homeBtn, value);
+            }
+        }
+
+        private string T_aITranslationBtn;
+
+        public string T_AITranslationBtn
+        {
+            get { return T_aITranslationBtn; }
+            set
+            {
+                SetProperty(ref T_aITranslationBtn, value);
+            }
+        }
+
+        private string T_aIRewritingBtn;
+
+        public string T_AIRewritingBtn
+        {
+            get { return T_aIRewritingBtn; }
+            set
+            {
+                SetProperty(ref T_aIRewritingBtn, value);
+            }
+        }
+
+        private string T_aIErrorCorrectionBtn;
+
+        public string T_AIErrorCorrectionBtn
+        {
+            get { return T_aIErrorCorrectionBtn; }
+            set
+            {
+                SetProperty(ref T_aIErrorCorrectionBtn, value);
+            }
+        }
+
         private string T_openFiles;
 
         public string T_OpenFiles
@@ -62,6 +106,10 @@ namespace PDF_Master.ViewModels
             T_OpenFiles = App.HomePageLoader.GetString("Home_OpenFiles");
             T_CreatePDF = App.HomePageLoader.GetString("Home_CreatePDF");
             T_CreatePDFToNew = App.HomePageLoader.GetString("Home_CreateToNew");
+            T_HomeBtn = App.HomePageLoader.GetString("Home_HomeBtn");
+            T_AITranslationBtn = App.HomePageLoader.GetString("Home_AITranslationBtn");
+            T_AIRewritingBtn = App.HomePageLoader.GetString("Home_AIRewritingBtn");
+            T_AIErrorCorrectionBtn = App.HomePageLoader.GetString("Home_AIErrorCorrectionBtn");
         }
 
         #endregion

+ 91 - 0
PDF Office/ViewModels/HomePanel/ChatGPTAI/ChatGPTAIErrorCorrectionContentViewModel.cs

@@ -17,6 +17,96 @@ namespace PDF_Master.ViewModels.HomePanel.ChatGPTAI
 {
     public class ChatGPTAIErrorCorrectionContentViewModel : BindableBase, INavigationAware
     {
+        #region 文案
+        private string T_title;
+
+        public string T_Title
+        {
+            get { return T_title; }
+            set
+            {
+                SetProperty(ref T_title, value);
+            }
+        }
+
+        private string T_limitTip;
+
+        public string T_LimitTip
+        {
+            get { return T_limitTip; }
+            set
+            {
+                SetProperty(ref T_limitTip, value);
+            }
+        }
+
+        private string T_textBoxWatermark;
+
+        public string T_TextBoxWatermark
+        {
+            get { return T_textBoxWatermark; }
+            set
+            {
+                SetProperty(ref T_textBoxWatermark, value);
+            }
+        }
+
+        private string T_copy;
+
+        public string T_Copy
+        {
+            get { return T_copy; }
+            set
+            {
+                SetProperty(ref T_copy, value);
+            }
+        }
+
+        private string T_result;
+
+        public string T_Result
+        {
+            get { return T_result; }
+            set
+            {
+                SetProperty(ref T_result, value);
+            }
+        }
+
+        private string T_correctBtn;
+
+        public string T_CorrectBtn
+        {
+            get { return T_correctBtn; }
+            set
+            {
+                SetProperty(ref T_correctBtn, value);
+            }
+        }
+
+        private string T_copied;
+
+        public string T_Copied
+        {
+            get { return T_copied; }
+            set
+            {
+                SetProperty(ref T_copied, value);
+            }
+        }
+
+        private void InitString()
+        {
+            T_Title = App.HomePageLoader.GetString("AIErrorCorrectionBtn_Title");
+            T_LimitTip = App.HomePageLoader.GetString("ChatGTPAI_LimitTip");
+            T_TextBoxWatermark = App.HomePageLoader.GetString("ChatGTPAI_TextBoxWatermark");
+            T_Copy = App.HomePageLoader.GetString("ChatGTPAI_Copy");
+            T_Result = App.HomePageLoader.GetString("ChatGTPAI_Result");
+            T_CorrectBtn = App.HomePageLoader.GetString("AIErrorCorrectionBtn_CorrectBtn");
+            T_Copied = App.HomePageLoader.GetString("ChatGTPAI_Copied");
+        }
+        #endregion
+
         #region 参数和属性
         public HomeContentViewModel homeContentViewModel = null;
 
@@ -95,6 +185,7 @@ namespace PDF_Master.ViewModels.HomePanel.ChatGPTAI
             CopyCommand = new DelegateCommand(copy);
             ErrorCorrectionCommand = new DelegateCommand(errorCorrection);
             textBoxEnterCharactersTextChangedCommad = new DelegateCommand<object>(textBoxEnterCharactersTextChanged);
+            InitString();
         }
 
         #region 逻辑函数

+ 91 - 0
PDF Office/ViewModels/HomePanel/ChatGPTAI/ChatGPTAIRewritingContentViewModel.cs

@@ -18,6 +18,96 @@ namespace PDF_Master.ViewModels.HomePanel.ChatGPTAI
 {
     public class ChatGPTAIRewritingContentViewModel : BindableBase, INavigationAware
     {
+        #region 文案
+        private string T_title;
+
+        public string T_Title
+        {
+            get { return T_title; }
+            set
+            {
+                SetProperty(ref T_title, value);
+            }
+        }
+
+        private string T_limitTip;
+
+        public string T_LimitTip
+        {
+            get { return T_limitTip; }
+            set
+            {
+                SetProperty(ref T_limitTip, value);
+            }
+        }
+
+        private string T_textBoxWatermark;
+
+        public string T_TextBoxWatermark
+        {
+            get { return T_textBoxWatermark; }
+            set
+            {
+                SetProperty(ref T_textBoxWatermark, value);
+            }
+        }
+
+        private string T_copy;
+
+        public string T_Copy
+        {
+            get { return T_copy; }
+            set
+            {
+                SetProperty(ref T_copy, value);
+            }
+        }
+
+        private string T_result;
+
+        public string T_Result
+        {
+            get { return T_result; }
+            set
+            {
+                SetProperty(ref T_result, value);
+            }
+        }
+
+        private string T_rewritingBtn;
+
+        public string T_RewritingBtn
+        {
+            get { return T_rewritingBtn; }
+            set
+            {
+                SetProperty(ref T_rewritingBtn, value);
+            }
+        }
+
+        private string T_copied;
+
+        public string T_Copied
+        {
+            get { return T_copied; }
+            set
+            {
+                SetProperty(ref T_copied, value);
+            }
+        }
+
+        private void InitString()
+        {
+            T_Title = App.HomePageLoader.GetString("AIRewriteBtn_Title");
+            T_LimitTip = App.HomePageLoader.GetString("ChatGTPAI_LimitTip");
+            T_TextBoxWatermark = App.HomePageLoader.GetString("ChatGTPAI_TextBoxWatermark");
+            T_Copy = App.HomePageLoader.GetString("ChatGTPAI_Copy");
+            T_Result = App.HomePageLoader.GetString("ChatGTPAI_Result");
+            T_RewritingBtn = App.HomePageLoader.GetString("AIRewriteBtn_RewritingBtn");
+            T_Copied = App.HomePageLoader.GetString("ChatGTPAI_Copied");
+        }
+        #endregion
+
         #region 参数和属性
         public HomeContentViewModel homeContentViewModel = null;
 
@@ -96,6 +186,7 @@ namespace PDF_Master.ViewModels.HomePanel.ChatGPTAI
             CopyCommand = new DelegateCommand(copy);
             RewriteCommand = new DelegateCommand(rewrite);
             textBoxEnterCharactersTextChangedCommad = new DelegateCommand<object>(textBoxEnterCharactersTextChanged);
+            InitString();
         }
 
         #region 逻辑函数

+ 80 - 0
PDF Office/ViewModels/HomePanel/ChatGPTAI/ChatGPTAITranslationContentViewModel.cs

@@ -26,6 +26,85 @@ namespace PDF_Master.ViewModels.HomePanel.ChatGPTAI
 {
     public class ChatGPTAITranslationContentViewModel : BindableBase, INavigationAware
     {
+        #region 文案
+        private string T_title;
+
+        public string T_Title
+        {
+            get { return T_title; }
+            set
+            {
+                SetProperty(ref T_title, value);
+            }
+        }
+
+        private string T_supportTip;
+
+        public string T_SupportTip
+        {
+            get { return T_supportTip; }
+            set
+            {
+                SetProperty(ref T_supportTip, value);
+            }
+        }
+
+        private string T_limitTip;
+
+        public string T_LimitTip
+        {
+            get { return T_limitTip; }
+            set
+            {
+                SetProperty(ref T_limitTip, value);
+            }
+        }
+
+        private string T_translationLanguage;
+
+        public string T_TranslationLanguage
+        {
+            get { return T_translationLanguage; }
+            set
+            {
+                SetProperty(ref T_translationLanguage, value);
+            }
+        }
+
+        private string T_selectFileBtn;
+
+        public string T_SelectFileBtn
+        {
+            get { return T_selectFileBtn; }
+            set
+            {
+                SetProperty(ref T_selectFileBtn, value);
+            }
+        }
+
+        private string T_dropTip;
+
+        public string T_DropTip
+        {
+            get { return T_dropTip; }
+            set
+            {
+                SetProperty(ref T_dropTip, value);
+            }
+        }
+
+
+        private void InitString()
+        {
+            T_Title = App.HomePageLoader.GetString("AITranslationBtn_Title");
+            T_SupportTip = App.HomePageLoader.GetString("AITranslationBtn_SupportTip");
+            T_LimitTip = App.HomePageLoader.GetString("AITranslationBtn_LimitTip");
+            T_TranslationLanguage = App.HomePageLoader.GetString("AITranslationBtn_TranslationLanguage");
+            T_SelectFileBtn = App.HomePageLoader.GetString("AITranslationBtn_SelectFileBtn");
+            T_DropTip = App.HomePageLoader.GetString("AITranslationBtn_DropTip");
+        }
+        #endregion
+
         #region 参数和属性
         public HomeContentViewModel homeContentViewModel = null;
 
@@ -127,6 +206,7 @@ namespace PDF_Master.ViewModels.HomePanel.ChatGPTAI
             dispatcherTimer.Interval = TimeSpan.FromSeconds(3);
             dispatcherTimer.Tick += Dispatchertimer_Tick;
             init();
+            InitString();
         }
         #region 逻辑函数
 

+ 101 - 0
PDF Office/ViewModels/HomePanel/PDFTools/HomeFilesContentViewModel.cs

@@ -13,6 +13,97 @@ namespace PDF_Master.ViewModels.HomePanel.PDFTools
 {
     public class HomeFilesContentViewModel : BindableBase, INavigationAware
     {
+        #region 文案
+        private string T_openPDFTitle;
+
+        public string T_OpenPDFTitle
+        {
+            get { return T_openPDFTitle; }
+            set
+            {
+                SetProperty(ref T_openPDFTitle, value);
+            }
+        }
+
+        private string T_openPDFBtn;
+
+        public string T_OpenPDFBtn
+        {
+            get { return T_openPDFBtn; }
+            set
+            {
+                SetProperty(ref T_openPDFBtn, value);
+            }
+        }
+
+        private string T_openPDFDropTip;
+
+        public string T_OpenPDFDropTip
+        {
+            get { return T_openPDFDropTip; }
+            set
+            {
+                SetProperty(ref T_openPDFDropTip, value);
+            }
+        }
+
+        private string T_createPDFTitle;
+
+        public string T_CreatePDFTitle
+        {
+            get { return T_createPDFTitle; }
+            set
+            {
+                SetProperty(ref T_createPDFTitle, value);
+            }
+        }
+
+        private string T_createPDFNewFromFilesBtn;
+
+        public string T_CreatePDFNewFromFilesBtn
+        {
+            get { return T_createPDFNewFromFilesBtn; }
+            set
+            {
+                SetProperty(ref T_createPDFNewFromFilesBtn, value);
+            }
+        }
+
+        private string T_createPDFNewBlankPageBtn;
+
+        public string T_CreatePDFNewBlankPageBtn
+        {
+            get { return T_createPDFNewBlankPageBtn; }
+            set
+            {
+                SetProperty(ref T_createPDFNewBlankPageBtn, value);
+            }
+        }
+
+        private string T_createPDFFromScannerBtn;
+
+        public string T_CreatePDFFromScannerBtn
+        {
+            get { return T_createPDFFromScannerBtn; }
+            set
+            {
+                SetProperty(ref T_createPDFFromScannerBtn, value);
+            }
+        }
+
+        private void InitString()
+        {
+            T_OpenPDFTitle = App.HomePageLoader.GetString("HomeBtn_OpenPDFTitle");
+            T_OpenPDFBtn = App.HomePageLoader.GetString("HomeBtn_OpenPDFBtn");
+            T_OpenPDFDropTip = App.HomePageLoader.GetString("HomeBtn_OpenPDFDropTip");
+            T_CreatePDFTitle = App.HomePageLoader.GetString("HomeBtn_CreatePDFTitle");
+            T_CreatePDFNewFromFilesBtn = App.HomePageLoader.GetString("HomeBtn_CreatePDFNewFromFilesBtn");
+            T_CreatePDFNewBlankPageBtn = App.HomePageLoader.GetString("HomeBtn_CreatePDFNewBlankPageBtn");
+            T_CreatePDFFromScannerBtn = App.HomePageLoader.GetString("HomeBtn_CreatePDFFromScannerBtn");
+        }
+        #endregion
+
+        #region 属性和参数
         HomeContentViewModel homeContentViewModel = null;
 
         private int creatGridRowIndex = 0;
@@ -35,7 +126,9 @@ namespace PDF_Master.ViewModels.HomePanel.PDFTools
                 SetProperty(ref creatGridColumnIndex, value);
             }
         }
+        #endregion
 
+        #region 委托声明
         public DelegateCommand OpenFileCommand { get; set; }
 
         public DelegateCommand CreateBlackPDFCommand { get; set; }
@@ -44,14 +137,18 @@ namespace PDF_Master.ViewModels.HomePanel.PDFTools
 
         public DelegateCommand<string> CreateFromScanner { get; set; }
 
+        #endregion
+
         public HomeFilesContentViewModel()
         {
             OpenFileCommand = new DelegateCommand(OpenFile);
             CreateBlackPDFCommand = new DelegateCommand(CreatBlankPDF);
             CreateFromOtherFile = new DelegateCommand(createFromOtherFile);
             CreateFromScanner = new DelegateCommand<string>(createFromScanner);
+            InitString();
         }
 
+        #region 函数逻辑
         /// <summary>
         /// 从扫描仪创建
         /// </summary>
@@ -96,6 +193,9 @@ namespace PDF_Master.ViewModels.HomePanel.PDFTools
                 homeContentViewModel.createFromOtherFile();
             }
         }
+        #endregion
+
+        #region 框架行为
 
         public void OnNavigatedTo(NavigationContext navigationContext)
         {
@@ -111,5 +211,6 @@ namespace PDF_Master.ViewModels.HomePanel.PDFTools
         {
 
         }
+        #endregion
     }
 }

File diff suppressed because it is too large
+ 7 - 7
PDF Office/Views/Dialog/ChatGPTAIDialogs/SelectedTranslationDialog.xaml


+ 4 - 4
PDF Office/Views/HomeContent.xaml

@@ -81,7 +81,7 @@
                         VerticalAlignment="Center"
                         FontFamily="Segoe UI"
                         FontSize="16"
-                        Text="Home" />
+                        Text="{Binding T_HomeBtn}" />
                 </StackPanel>
             </RadioButton>
             <RadioButton
@@ -104,7 +104,7 @@
                         VerticalAlignment="Center"
                         FontFamily="Segoe UI"
                         FontSize="16"
-                        Text="AI Translation" />
+                        Text="{Binding T_AITranslationBtn}" />
                 </StackPanel>
             </RadioButton>
             <RadioButton
@@ -127,7 +127,7 @@
                         VerticalAlignment="Center"
                         FontFamily="Segoe UI"
                         FontSize="16"
-                        Text="AI Rewriting" />
+                        Text="{Binding T_AIRewritingBtn}" />
                 </StackPanel>
             </RadioButton>
             <RadioButton
@@ -150,7 +150,7 @@
                         VerticalAlignment="Center"
                         FontFamily="Segoe UI"
                         FontSize="16"
-                        Text="AI Error Correction" />
+                        Text="{Binding T_AIErrorCorrectionBtn}" />
                 </StackPanel>
             </RadioButton>
             <Button

+ 8 - 8
PDF Office/Views/HomePanel/ChatGPTAI/ChatGPTAIErrorCorrectionContent.xaml

@@ -23,7 +23,7 @@
         <StackPanel >
             <Grid  >
                 <StackPanel HorizontalAlignment="Left" >
-                    <TextBlock Text="AI Error Correction" FontFamily="Segoe UI" Margin="0,16,0,0"
+                    <TextBlock Text="{Binding T_Title}" FontFamily="Segoe UI" Margin="0,16,0,0"
             FontSize="20"
             FontWeight="Bold"
             Foreground="{StaticResource color.sys.text.neutral.lv1}" Height="28" HorizontalAlignment="Left"></TextBlock>
@@ -32,15 +32,15 @@
                     FontFamily="Segoe UI"
                     FontSize="14"
                     Foreground="#94989C"
-                    Text="Limited to 150 characters per session, 5 times per month"
+                    Text="{Binding T_LimitTip}"
                     TextAlignment="Center"
                         TextWrapping="Wrap"
                         />
                 </StackPanel>
-                <Button HorizontalAlignment="Right" Width="104" Height="32" Content="ErrorCorrection" VerticalAlignment="Bottom" Style="{StaticResource Btn.cta}" Command="{Binding ErrorCorrectionCommand}" IsEnabled="{Binding ElementName=textBoxEnterCharacters,Path=Text.Length, Converter={StaticResource SizeToBoolConvert}}"></Button>
+                <Button HorizontalAlignment="Right" Width="104" Height="32" Content="{Binding T_CorrectBtn}"  VerticalAlignment="Bottom" Style="{StaticResource Btn.cta}" Command="{Binding ErrorCorrectionCommand}" IsEnabled="{Binding ElementName=textBoxEnterCharacters,Path=Text.Length, Converter={StaticResource SizeToBoolConvert}}"></Button>
             </Grid>
             <Grid Height="260" Margin="0,12,0,0">
-                <cus:TextBoxEx x:Name="textBoxEnterCharacters"  Height="260" Text="{Binding InputText}" FontFamily="Segoe UI" ShowClose="False" PlaceholderText="Please enter text content here..." VerticalContentAlignment="Top" HorizontalContentAlignment="Left" TextWrapping="Wrap" Padding="8">
+                <cus:TextBoxEx x:Name="textBoxEnterCharacters"  Height="260" Text="{Binding InputText}" FontFamily="Segoe UI" ShowClose="False" PlaceholderText="{Binding T_TextBoxWatermark}" VerticalContentAlignment="Top" HorizontalContentAlignment="Left" TextWrapping="Wrap" Padding="8">
                     <i:Interaction.Triggers>
                         <i:EventTrigger EventName="TextChanged">
                             <i:InvokeCommandAction Command="{Binding textBoxEnterCharactersTextChangedCommad}" CommandParameter="{Binding ElementName=textBoxEnterCharacters}" />
@@ -52,7 +52,7 @@
         </StackPanel>
         <StackPanel  >
             <Grid Height="84">
-                <TextBlock Text="Result" FontFamily="Segoe UI"
+                <TextBlock Text="{Binding T_Result}" FontFamily="Segoe UI"
             FontSize="20"
             FontWeight="Bold"
                            VerticalAlignment="Bottom" Margin="0,0,0,12"
@@ -70,10 +70,10 @@
                 CornerRadius="4"
                 FontSize="14"
                 Foreground="White"
-                StringContent="Copied"
+                StringContent="{Binding T_Copied}"
                 Visibility="{Binding ShowTip, Mode=TwoWay}"
                 Duration="0:0:0:3" />
-                    <Button HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,0,12" Width="104" Height="32" Content="Copy" Background="White" Command="{Binding CopyCommand}" IsEnabled="{Binding ElementName=ErrorCorrectionTextBoxEx,Path=Text.Length, Converter={StaticResource SizeToBoolConvert}}" Style="{StaticResource btn.sec}"></Button>
+                    <Button HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,0,12" Width="104" Height="32"  Content="{Binding T_Copy}" Background="White" Command="{Binding CopyCommand}" IsEnabled="{Binding ElementName=ErrorCorrectionTextBoxEx,Path=Text.Length, Converter={StaticResource SizeToBoolConvert}}" Style="{StaticResource btn.sec}"></Button>
                 </Grid>
             </Grid>
             <Grid>
@@ -83,7 +83,7 @@
                             <Ellipse Width="14" Height="14" Fill="#F3465B"></Ellipse>
                             <Path  Data="M7.25 4V9H8.75V4H7.25ZM7.25 10.5V12H8.75L8.75 10.5H7.25Z" Fill="white"/>
                         </Grid>
-                        <TextBlock Text="Binding ErrorTipText" FontSize="14" FontFamily="SF Pro Text"  Foreground="#F3465B"  VerticalAlignment="Center"></TextBlock>
+                        <TextBlock Text="{Binding ErrorTipText}" FontSize="14" FontFamily="SF Pro Text"  Foreground="#F3465B"  VerticalAlignment="Center"></TextBlock>
                     </StackPanel>
                 </Border>
                 <cus:TextBoxEx Height="260" x:Name="ErrorCorrectionTextBoxEx" Text="{Binding ErrorCorrectionText}" FontFamily="Segoe UI" ShowClose="False" VerticalContentAlignment="Top" HorizontalContentAlignment="Left" TextWrapping="Wrap" Padding="8" IsReadOnly="True">

+ 7 - 7
PDF Office/Views/HomePanel/ChatGPTAI/ChatGPTAIRewritingContent.xaml

@@ -23,7 +23,7 @@
         <StackPanel>
             <Grid  >
                 <StackPanel HorizontalAlignment="Left">
-                    <TextBlock Text="AI Rewriting" FontFamily="Segoe UI" Margin="0,16,0,0"
+                    <TextBlock Text="{Binding T_Title}" FontFamily="Segoe UI" Margin="0,16,0,0"
             FontSize="20"
             FontWeight="Bold"
             Foreground="{StaticResource color.sys.text.neutral.lv1}" Height="28" HorizontalAlignment="Left"></TextBlock>
@@ -32,15 +32,15 @@
                     FontFamily="Segoe UI"
                     FontSize="14"
                     Foreground="#94989C"
-                    Text="Limited to 150 characters per session, 5 times per month"
+                    Text="{Binding T_LimitTip}"
                     TextAlignment="Center"
                         TextWrapping="Wrap"
                         />
                 </StackPanel>
-                <Button HorizontalAlignment="Right" Width="104" Height="32" Content="Rewrite" VerticalAlignment="Bottom" Style="{StaticResource Btn.cta}" Command="{Binding RewriteCommand}" IsEnabled="{Binding ElementName=textBoxEnterCharacters,Path=Text.Length, Converter={StaticResource SizeToBoolConvert}}"></Button>
+                <Button HorizontalAlignment="Right" Width="104" Height="32" Content="{Binding T_RewritingBtn}" VerticalAlignment="Bottom" Style="{StaticResource Btn.cta}" Command="{Binding RewriteCommand}" IsEnabled="{Binding ElementName=textBoxEnterCharacters,Path=Text.Length, Converter={StaticResource SizeToBoolConvert}}"></Button>
             </Grid>
             <Grid  Height="260" Margin="0,12,0,0" >
-                <cus:TextBoxEx x:Name="textBoxEnterCharacters"  Height="260" Text="{Binding InputText}"  FontFamily="Segoe UI" ShowClose="False" PlaceholderText="Please enter text content here..." VerticalContentAlignment="Top" HorizontalContentAlignment="Left" TextWrapping="Wrap" Padding="8">
+                <cus:TextBoxEx x:Name="textBoxEnterCharacters"  Height="260" Text="{Binding InputText}"  FontFamily="Segoe UI" ShowClose="False" PlaceholderText="{Binding T_TextBoxWatermark}"  VerticalContentAlignment="Top" HorizontalContentAlignment="Left" TextWrapping="Wrap" Padding="8">
                     <i:Interaction.Triggers>
                         <i:EventTrigger EventName="TextChanged">
                             <i:InvokeCommandAction Command="{Binding textBoxEnterCharactersTextChangedCommad}" CommandParameter="{Binding ElementName=textBoxEnterCharacters}" />
@@ -52,7 +52,7 @@
         </StackPanel>
         <StackPanel>
             <Grid Height="84" >
-                <TextBlock Text="Result" FontFamily="Segoe UI"
+                <TextBlock Text="{Binding T_Result}" FontFamily="Segoe UI"
             FontSize="20"
             FontWeight="Bold"
                            VerticalAlignment="Bottom" Margin="0,0,0,12"
@@ -70,10 +70,10 @@
                 CornerRadius="4"
                 FontSize="14"
                 Foreground="White"
-                StringContent="Copied"
+                StringContent="{Binding T_Copied}"
                 Visibility="{Binding ShowTip, Mode=TwoWay}"
                 Duration="0:0:0:3" />
-                    <Button HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,0,12" Width="104" Height="32" Content="Copy" Background="White" Command="{Binding CopyCommand}" Style="{StaticResource btn.sec}" IsEnabled="{Binding ElementName=RewriteTextBoxEx,Path=Text.Length, Converter={StaticResource SizeToBoolConvert}}"></Button>
+                    <Button HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,0,12" Width="104" Height="32" Content="{Binding T_Copy}" Background="White" Command="{Binding CopyCommand}" Style="{StaticResource btn.sec}" IsEnabled="{Binding ElementName=RewriteTextBoxEx,Path=Text.Length, Converter={StaticResource SizeToBoolConvert}}"></Button>
                 </Grid>
 
             </Grid>

File diff suppressed because it is too large
+ 6 - 7
PDF Office/Views/HomePanel/ChatGPTAI/ChatGPTAITranslationContent.xaml


File diff suppressed because it is too large
+ 7 - 7
PDF Office/Views/HomePanel/PDFTools/HomeFilesContent.xaml