Browse Source

文案-补充弹窗文案

ZhouJieSheng 1 year ago
parent
commit
65c35eee78
33 changed files with 781 additions and 78 deletions
  1. 1 1
      PDF Office/App.xaml.cs
  2. 126 0
      PDF Office/MultilingualResources/PDF Office.en.xlf
  3. 126 0
      PDF Office/MultilingualResources/PDF Office.zh-Hans.xlf
  4. 126 0
      PDF Office/MultilingualResources/PDF Office.zh-Hant.xlf
  5. 231 1
      PDF Office/Strings/MainPage/MainPage.Designer.cs
  6. 96 0
      PDF Office/Strings/MainPage/MainPage.resx
  7. 6 8
      PDF Office/ViewModels/BOTA/AnnotationContentViewModel.cs
  8. 1 1
      PDF Office/ViewModels/BOTA/BookmarkContentViewModel.cs
  9. 1 1
      PDF Office/ViewModels/BOTA/OutLineControlViewModel.cs
  10. 3 3
      PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterCSVDialogViewModel.cs
  11. 3 3
      PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterExcelDialogViewModel.cs
  12. 3 3
      PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterHTMLDialogViewModel.cs
  13. 2 2
      PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterImgDialogViewModel.cs
  14. 3 3
      PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterPPTDialogViewModel.cs
  15. 3 3
      PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterRTFDialogViewModel.cs
  16. 3 3
      PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterTextDialogViewModel.cs
  17. 3 3
      PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterWordDialogViewModel.cs
  18. 3 3
      PDF Office/ViewModels/Dialog/HomePageToolsDialogs/HomePagePrinter/HomePagePrinterDialogViewModel.cs
  19. 1 1
      PDF Office/ViewModels/Dialog/Redaction/PageMarkDialogViewModel.cs
  20. 1 1
      PDF Office/ViewModels/Dialog/Redaction/RepeatMarkDialogViewModel.cs
  21. 1 1
      PDF Office/ViewModels/Dialog/ServiceDialog/UserDialogViewModel.cs
  22. 1 1
      PDF Office/ViewModels/Dialog/ToolsDialogs/MergeDialogViewModel.cs
  23. 3 2
      PDF Office/ViewModels/Dialog/ToolsDialogs/SaftyDialogs/SetPasswordDialogViewModel.cs
  24. 2 2
      PDF Office/ViewModels/HomeContentViewModel.cs
  25. 9 9
      PDF Office/ViewModels/HomePanel/RecentFiles/RecentFilesContentViewModel.cs
  26. 6 6
      PDF Office/ViewModels/MainContentViewModel.cs
  27. 1 1
      PDF Office/ViewModels/MainWindowViewModel.cs
  28. 4 4
      PDF Office/ViewModels/PageEdit/PageEditContentViewModel.cs
  29. 2 2
      PDF Office/ViewModels/PropertyPanel/AnnotPanel/SnapshotEditMenuViewModel.cs
  30. 1 1
      PDF Office/ViewModels/PropertyPanel/ViewModular/ViewModularContentViewModel.cs
  31. 2 2
      PDF Office/ViewModels/Tools/AnnotToolContentViewModel.cs
  32. 6 6
      PDF Office/ViewModels/ViewContentViewModel.cs
  33. 1 1
      PDF Office/Views/PropertyPanel/AnnotPanel/SignatureAnnotProperty.xaml.cs

+ 1 - 1
PDF Office/App.xaml.cs

@@ -294,7 +294,7 @@ namespace PDF_Master
                 System.Windows.Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Send, new Action(() =>
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "系统加载失败,请尝试卸载重装", "OK");
+                    alertsMessage.ShowDialog("",App.MainPageLoader.GetString("SDKLoadingFailed"), App.ServiceLoader.GetString("Text_ok"));
                     Environment.Exit(1);
                     return;
                 }));

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

@@ -2239,6 +2239,132 @@ form</target>
           <source>Current Page</source>
           <target state="new">Current Page</target>
         </trans-unit>
+        <trans-unit id="Annot_ExportFailWarning" translate="yes" xml:space="preserve">
+          <source>Failed to import annotations</source>
+          <target state="new">Failed to import annotations</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">注释导入失败提示</note>
+        </trans-unit>
+        <trans-unit id="Annot_ExportSuccess" translate="yes" xml:space="preserve">
+          <source>Export annotations successfully</source>
+          <target state="new">Export annotations successfully</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">注释导出成功</note>
+        </trans-unit>
+        <trans-unit id="CreateFileFailedWarning" translate="yes" xml:space="preserve">
+          <source>Create PDF failed</source>
+          <target state="new">Create PDF failed</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">创建文件失败时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="DeleteAllAnnotation_Warning" translate="yes" xml:space="preserve">
+          <source>Are you sure to delete all annotations?</source>
+          <target state="new">Are you sure to delete all annotations?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除所有注释提示文案</note>
+        </trans-unit>
+        <trans-unit id="Dialog_Hint" translate="yes" xml:space="preserve">
+          <source>Hint</source>
+          <target state="new">Hint</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">弹窗-标题:提示</note>
+        </trans-unit>
+        <trans-unit id="ErrorFile_Warning" translate="yes" xml:space="preserve">
+          <source>Incorrect input format
+
+The file format you selected is not supported by this feature, please select the correct input format.</source>
+          <target state="new">Incorrect input format
+
+The file format you selected is not supported by this feature, please select the correct input format.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">拖拽不支持的文件格式添加时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="FileNotExistWarning" translate="yes" xml:space="preserve">
+          <source>Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</source>
+          <target state="new">Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">文件被占用时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="Main_DoNotRemindAgain" translate="yes" xml:space="preserve">
+          <source>No longer prompt</source>
+          <target state="new">No longer prompt</target>
+        </trans-unit>
+        <trans-unit id="Main_ModifiedFileWarning" translate="yes" xml:space="preserve">
+          <source>Want to save your changes to '{0}' ?
+ Your changes will be lost if you don't save them.</source>
+          <target state="new">Want to save your changes to '{0}' ?
+ Your changes will be lost if you don't save them.</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileNotExistWarning" translate="yes" xml:space="preserve">
+          <source>Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</source>
+          <target state="new">Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileOccupiedWarning" translate="yes" xml:space="preserve">
+          <source>Your file is taken by another app, so we recommend that you use [Save As] to save as a copy and edit it.</source>
+          <target state="new">Your file is taken by another app, so we recommend that you use [Save As] to save as a copy and edit it.</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileReadonlyWarning" translate="yes" xml:space="preserve">
+          <source>Your file is in Read-Only mode. If you want to edit this file, we recommend that you use [Save As] to save your file and edit it.</source>
+          <target state="new">Your file is in Read-Only mode. If you want to edit this file, we recommend that you use [Save As] to save your file and edit it.</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileRepairedWarning" translate="yes" xml:space="preserve">
+          <source>The current file is fixed. Please save it by Save As.</source>
+          <target state="new">The current file is fixed. Please save it by Save As.</target>
+        </trans-unit>
+        <trans-unit id="NoOffice_Warning" translate="yes" xml:space="preserve">
+          <source>{0} file could not be open. Please try again or choose another file.</source>
+          <target state="new">{0} file could not be open. Please try again or choose another file.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">没有安装office,无法从office创建文档时</note>
+        </trans-unit>
+        <trans-unit id="OperationFailWarning" translate="yes" xml:space="preserve">
+          <source>Operation failed, try again please</source>
+          <target state="new">Operation failed, try again please</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">各种操作失败时,统一提示文案</note>
+        </trans-unit>
+        <trans-unit id="OutlineDeleteTips" translate="yes" xml:space="preserve">
+          <source>This will permanently remove all outlines. Are you sure to continue?</source>
+          <target state="new">This will permanently remove all outlines. Are you sure to continue?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除所有大纲时,弹窗提示</note>
+        </trans-unit>
+        <trans-unit id="Outline_ChangeDest_Tips" translate="yes" xml:space="preserve">
+          <source>Are you sure you want to set the destination as the current location?</source>
+          <target state="new">Are you sure you want to set the destination as the current location?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">更改大纲目标位置提示</note>
+        </trans-unit>
+        <trans-unit id="PageEdit_DeleteAllPage" translate="yes" xml:space="preserve">
+          <source>Can't delete all pages. Please keep at least one page</source>
+          <target state="new">Can't delete all pages. Please keep at least one page</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除全部页面时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="PageRangeWarning" translate="yes" xml:space="preserve">
+          <source>Invalid page range or the page number is out of range. Please try again.</source>
+          <target state="new">Invalid page range or the page number is out of range. Please try again.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">页面范围错误提示</note>
+        </trans-unit>
+        <trans-unit id="RecentFiles_AllClearMsg" translate="yes" xml:space="preserve">
+          <source>Do you want to clear all files list in Recent Files?</source>
+          <target state="new">Do you want to clear all files list in Recent Files?</target>
+        </trans-unit>
+        <trans-unit id="RecentFiles_ClearMsg" translate="yes" xml:space="preserve">
+          <source>Do you want to clear the file list in Recent Files?</source>
+          <target state="new">Do you want to clear the file list in Recent Files?</target>
+        </trans-unit>
+        <trans-unit id="RecentFiles_SelectedClearMsg" translate="yes" xml:space="preserve">
+          <source>Do you want to clear the selected files list in Recent Files</source>
+          <target state="new">Do you want to clear the selected files list in Recent Files</target>
+        </trans-unit>
+        <trans-unit id="SDKLoadingFailed" translate="yes" xml:space="preserve">
+          <source>Open Failed
+Failed to load environment. 
+Some functions may not work, please restart or re-download PDF Reader Pro from our official website.</source>
+          <target state="new">Open Failed
+Failed to load environment. 
+Some functions may not work, please restart or re-download PDF Reader Pro from our official website.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">软件启动时,SDK加载失败的提示语</note>
+        </trans-unit>
+        <trans-unit id="Share_NoOutLookWarning" translate="yes" xml:space="preserve">
+          <source>Please make sure Outlook is installed.</source>
+          <target state="new">Please make sure Outlook is installed.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">分享功能,未检测到outlook安装时</note>
+        </trans-unit>
+        <trans-unit id="Signature_deleteAllWarning" translate="yes" xml:space="preserve">
+          <source>Do you want to delete all signatures?</source>
+          <target state="new">Do you want to delete all signatures?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除所有签名时,提示文案</note>
+        </trans-unit>
       </group>
     </body>
   </file>

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

@@ -2239,6 +2239,132 @@ form</target>
           <source>Current Page</source>
           <target state="new">Current Page</target>
         </trans-unit>
+        <trans-unit id="Annot_ExportFailWarning" translate="yes" xml:space="preserve">
+          <source>Failed to import annotations</source>
+          <target state="new">Failed to import annotations</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">注释导入失败提示</note>
+        </trans-unit>
+        <trans-unit id="Annot_ExportSuccess" translate="yes" xml:space="preserve">
+          <source>Export annotations successfully</source>
+          <target state="new">Export annotations successfully</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">注释导出成功</note>
+        </trans-unit>
+        <trans-unit id="CreateFileFailedWarning" translate="yes" xml:space="preserve">
+          <source>Create PDF failed</source>
+          <target state="new">Create PDF failed</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">创建文件失败时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="DeleteAllAnnotation_Warning" translate="yes" xml:space="preserve">
+          <source>Are you sure to delete all annotations?</source>
+          <target state="new">Are you sure to delete all annotations?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除所有注释提示文案</note>
+        </trans-unit>
+        <trans-unit id="Dialog_Hint" translate="yes" xml:space="preserve">
+          <source>Hint</source>
+          <target state="new">Hint</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">弹窗-标题:提示</note>
+        </trans-unit>
+        <trans-unit id="ErrorFile_Warning" translate="yes" xml:space="preserve">
+          <source>Incorrect input format
+
+The file format you selected is not supported by this feature, please select the correct input format.</source>
+          <target state="new">Incorrect input format
+
+The file format you selected is not supported by this feature, please select the correct input format.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">拖拽不支持的文件格式添加时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="FileNotExistWarning" translate="yes" xml:space="preserve">
+          <source>Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</source>
+          <target state="new">Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">文件被占用时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="Main_DoNotRemindAgain" translate="yes" xml:space="preserve">
+          <source>No longer prompt</source>
+          <target state="new">No longer prompt</target>
+        </trans-unit>
+        <trans-unit id="Main_ModifiedFileWarning" translate="yes" xml:space="preserve">
+          <source>Want to save your changes to '{0}' ?
+ Your changes will be lost if you don't save them.</source>
+          <target state="new">Want to save your changes to '{0}' ?
+ Your changes will be lost if you don't save them.</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileNotExistWarning" translate="yes" xml:space="preserve">
+          <source>Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</source>
+          <target state="new">Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileOccupiedWarning" translate="yes" xml:space="preserve">
+          <source>Your file is taken by another app, so we recommend that you use [Save As] to save as a copy and edit it.</source>
+          <target state="new">Your file is taken by another app, so we recommend that you use [Save As] to save as a copy and edit it.</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileReadonlyWarning" translate="yes" xml:space="preserve">
+          <source>Your file is in Read-Only mode. If you want to edit this file, we recommend that you use [Save As] to save your file and edit it.</source>
+          <target state="new">Your file is in Read-Only mode. If you want to edit this file, we recommend that you use [Save As] to save your file and edit it.</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileRepairedWarning" translate="yes" xml:space="preserve">
+          <source>The current file is fixed. Please save it by Save As.</source>
+          <target state="new">The current file is fixed. Please save it by Save As.</target>
+        </trans-unit>
+        <trans-unit id="NoOffice_Warning" translate="yes" xml:space="preserve">
+          <source>{0} file could not be open. Please try again or choose another file.</source>
+          <target state="new">{0} file could not be open. Please try again or choose another file.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">没有安装office,无法从office创建文档时</note>
+        </trans-unit>
+        <trans-unit id="OperationFailWarning" translate="yes" xml:space="preserve">
+          <source>Operation failed, try again please</source>
+          <target state="new">Operation failed, try again please</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">各种操作失败时,统一提示文案</note>
+        </trans-unit>
+        <trans-unit id="OutlineDeleteTips" translate="yes" xml:space="preserve">
+          <source>This will permanently remove all outlines. Are you sure to continue?</source>
+          <target state="new">This will permanently remove all outlines. Are you sure to continue?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除所有大纲时,弹窗提示</note>
+        </trans-unit>
+        <trans-unit id="Outline_ChangeDest_Tips" translate="yes" xml:space="preserve">
+          <source>Are you sure you want to set the destination as the current location?</source>
+          <target state="new">Are you sure you want to set the destination as the current location?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">更改大纲目标位置提示</note>
+        </trans-unit>
+        <trans-unit id="PageEdit_DeleteAllPage" translate="yes" xml:space="preserve">
+          <source>Can't delete all pages. Please keep at least one page</source>
+          <target state="new">Can't delete all pages. Please keep at least one page</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除全部页面时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="PageRangeWarning" translate="yes" xml:space="preserve">
+          <source>Invalid page range or the page number is out of range. Please try again.</source>
+          <target state="new">Invalid page range or the page number is out of range. Please try again.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">页面范围错误提示</note>
+        </trans-unit>
+        <trans-unit id="RecentFiles_AllClearMsg" translate="yes" xml:space="preserve">
+          <source>Do you want to clear all files list in Recent Files?</source>
+          <target state="new">Do you want to clear all files list in Recent Files?</target>
+        </trans-unit>
+        <trans-unit id="RecentFiles_ClearMsg" translate="yes" xml:space="preserve">
+          <source>Do you want to clear the file list in Recent Files?</source>
+          <target state="new">Do you want to clear the file list in Recent Files?</target>
+        </trans-unit>
+        <trans-unit id="RecentFiles_SelectedClearMsg" translate="yes" xml:space="preserve">
+          <source>Do you want to clear the selected files list in Recent Files</source>
+          <target state="new">Do you want to clear the selected files list in Recent Files</target>
+        </trans-unit>
+        <trans-unit id="SDKLoadingFailed" translate="yes" xml:space="preserve">
+          <source>Open Failed
+Failed to load environment. 
+Some functions may not work, please restart or re-download PDF Reader Pro from our official website.</source>
+          <target state="new">Open Failed
+Failed to load environment. 
+Some functions may not work, please restart or re-download PDF Reader Pro from our official website.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">软件启动时,SDK加载失败的提示语</note>
+        </trans-unit>
+        <trans-unit id="Share_NoOutLookWarning" translate="yes" xml:space="preserve">
+          <source>Please make sure Outlook is installed.</source>
+          <target state="new">Please make sure Outlook is installed.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">分享功能,未检测到outlook安装时</note>
+        </trans-unit>
+        <trans-unit id="Signature_deleteAllWarning" translate="yes" xml:space="preserve">
+          <source>Do you want to delete all signatures?</source>
+          <target state="new">Do you want to delete all signatures?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除所有签名时,提示文案</note>
+        </trans-unit>
       </group>
     </body>
   </file>

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

@@ -2239,6 +2239,132 @@ form</target>
           <source>Current Page</source>
           <target state="new">Current Page</target>
         </trans-unit>
+        <trans-unit id="Annot_ExportFailWarning" translate="yes" xml:space="preserve">
+          <source>Failed to import annotations</source>
+          <target state="new">Failed to import annotations</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">注释导入失败提示</note>
+        </trans-unit>
+        <trans-unit id="Annot_ExportSuccess" translate="yes" xml:space="preserve">
+          <source>Export annotations successfully</source>
+          <target state="new">Export annotations successfully</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">注释导出成功</note>
+        </trans-unit>
+        <trans-unit id="CreateFileFailedWarning" translate="yes" xml:space="preserve">
+          <source>Create PDF failed</source>
+          <target state="new">Create PDF failed</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">创建文件失败时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="DeleteAllAnnotation_Warning" translate="yes" xml:space="preserve">
+          <source>Are you sure to delete all annotations?</source>
+          <target state="new">Are you sure to delete all annotations?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除所有注释提示文案</note>
+        </trans-unit>
+        <trans-unit id="Dialog_Hint" translate="yes" xml:space="preserve">
+          <source>Hint</source>
+          <target state="new">Hint</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">弹窗-标题:提示</note>
+        </trans-unit>
+        <trans-unit id="ErrorFile_Warning" translate="yes" xml:space="preserve">
+          <source>Incorrect input format
+
+The file format you selected is not supported by this feature, please select the correct input format.</source>
+          <target state="new">Incorrect input format
+
+The file format you selected is not supported by this feature, please select the correct input format.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">拖拽不支持的文件格式添加时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="FileNotExistWarning" translate="yes" xml:space="preserve">
+          <source>Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</source>
+          <target state="new">Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">文件被占用时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="Main_DoNotRemindAgain" translate="yes" xml:space="preserve">
+          <source>No longer prompt</source>
+          <target state="new">No longer prompt</target>
+        </trans-unit>
+        <trans-unit id="Main_ModifiedFileWarning" translate="yes" xml:space="preserve">
+          <source>Want to save your changes to '{0}' ?
+ Your changes will be lost if you don't save them.</source>
+          <target state="new">Want to save your changes to '{0}' ?
+ Your changes will be lost if you don't save them.</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileNotExistWarning" translate="yes" xml:space="preserve">
+          <source>Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</source>
+          <target state="new">Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileOccupiedWarning" translate="yes" xml:space="preserve">
+          <source>Your file is taken by another app, so we recommend that you use [Save As] to save as a copy and edit it.</source>
+          <target state="new">Your file is taken by another app, so we recommend that you use [Save As] to save as a copy and edit it.</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileReadonlyWarning" translate="yes" xml:space="preserve">
+          <source>Your file is in Read-Only mode. If you want to edit this file, we recommend that you use [Save As] to save your file and edit it.</source>
+          <target state="new">Your file is in Read-Only mode. If you want to edit this file, we recommend that you use [Save As] to save your file and edit it.</target>
+        </trans-unit>
+        <trans-unit id="Main_TheFileRepairedWarning" translate="yes" xml:space="preserve">
+          <source>The current file is fixed. Please save it by Save As.</source>
+          <target state="new">The current file is fixed. Please save it by Save As.</target>
+        </trans-unit>
+        <trans-unit id="NoOffice_Warning" translate="yes" xml:space="preserve">
+          <source>{0} file could not be open. Please try again or choose another file.</source>
+          <target state="new">{0} file could not be open. Please try again or choose another file.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">没有安装office,无法从office创建文档时</note>
+        </trans-unit>
+        <trans-unit id="OperationFailWarning" translate="yes" xml:space="preserve">
+          <source>Operation failed, try again please</source>
+          <target state="new">Operation failed, try again please</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">各种操作失败时,统一提示文案</note>
+        </trans-unit>
+        <trans-unit id="OutlineDeleteTips" translate="yes" xml:space="preserve">
+          <source>This will permanently remove all outlines. Are you sure to continue?</source>
+          <target state="new">This will permanently remove all outlines. Are you sure to continue?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除所有大纲时,弹窗提示</note>
+        </trans-unit>
+        <trans-unit id="Outline_ChangeDest_Tips" translate="yes" xml:space="preserve">
+          <source>Are you sure you want to set the destination as the current location?</source>
+          <target state="new">Are you sure you want to set the destination as the current location?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">更改大纲目标位置提示</note>
+        </trans-unit>
+        <trans-unit id="PageEdit_DeleteAllPage" translate="yes" xml:space="preserve">
+          <source>Can't delete all pages. Please keep at least one page</source>
+          <target state="new">Can't delete all pages. Please keep at least one page</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除全部页面时,提示文案</note>
+        </trans-unit>
+        <trans-unit id="PageRangeWarning" translate="yes" xml:space="preserve">
+          <source>Invalid page range or the page number is out of range. Please try again.</source>
+          <target state="new">Invalid page range or the page number is out of range. Please try again.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">页面范围错误提示</note>
+        </trans-unit>
+        <trans-unit id="RecentFiles_AllClearMsg" translate="yes" xml:space="preserve">
+          <source>Do you want to clear all files list in Recent Files?</source>
+          <target state="new">Do you want to clear all files list in Recent Files?</target>
+        </trans-unit>
+        <trans-unit id="RecentFiles_ClearMsg" translate="yes" xml:space="preserve">
+          <source>Do you want to clear the file list in Recent Files?</source>
+          <target state="new">Do you want to clear the file list in Recent Files?</target>
+        </trans-unit>
+        <trans-unit id="RecentFiles_SelectedClearMsg" translate="yes" xml:space="preserve">
+          <source>Do you want to clear the selected files list in Recent Files</source>
+          <target state="new">Do you want to clear the selected files list in Recent Files</target>
+        </trans-unit>
+        <trans-unit id="SDKLoadingFailed" translate="yes" xml:space="preserve">
+          <source>Open Failed
+Failed to load environment. 
+Some functions may not work, please restart or re-download PDF Reader Pro from our official website.</source>
+          <target state="new">Open Failed
+Failed to load environment. 
+Some functions may not work, please restart or re-download PDF Reader Pro from our official website.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">软件启动时,SDK加载失败的提示语</note>
+        </trans-unit>
+        <trans-unit id="Share_NoOutLookWarning" translate="yes" xml:space="preserve">
+          <source>Please make sure Outlook is installed.</source>
+          <target state="new">Please make sure Outlook is installed.</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">分享功能,未检测到outlook安装时</note>
+        </trans-unit>
+        <trans-unit id="Signature_deleteAllWarning" translate="yes" xml:space="preserve">
+          <source>Do you want to delete all signatures?</source>
+          <target state="new">Do you want to delete all signatures?</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">删除所有签名时,提示文案</note>
+        </trans-unit>
       </group>
     </body>
   </file>

+ 231 - 1
PDF Office/Strings/MainPage/MainPage.Designer.cs

@@ -19,7 +19,7 @@ namespace PDF_Master.Strings.MainPage {
     // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
     // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
     // (以 /str 作为命令选项),或重新生成 VS 项目。
-    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
     [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
     public class MainPage {
@@ -60,6 +60,24 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Failed to import annotations 的本地化字符串。
+        /// </summary>
+        public static string Annot_ExportFailWarning {
+            get {
+                return ResourceManager.GetString("Annot_ExportFailWarning", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Export annotations successfully 的本地化字符串。
+        /// </summary>
+        public static string Annot_ExportSuccess {
+            get {
+                return ResourceManager.GetString("Annot_ExportSuccess", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Author 的本地化字符串。
         /// </summary>
@@ -683,6 +701,53 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Create PDF failed 的本地化字符串。
+        /// </summary>
+        public static string CreateFileFailedWarning {
+            get {
+                return ResourceManager.GetString("CreateFileFailedWarning", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Are you sure to delete all annotations? 的本地化字符串。
+        /// </summary>
+        public static string DeleteAllAnnotation_Warning {
+            get {
+                return ResourceManager.GetString("DeleteAllAnnotation_Warning", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Hint 的本地化字符串。
+        /// </summary>
+        public static string Dialog_Hint {
+            get {
+                return ResourceManager.GetString("Dialog_Hint", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Incorrect input format
+        ///
+        ///The file format you selected is not supported by this feature, please select the correct input format. 的本地化字符串。
+        /// </summary>
+        public static string ErrorFile_Warning {
+            get {
+                return ResourceManager.GetString("ErrorFile_Warning", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Sorry, we couldn&apos;t find this PDF file. Is it possible it was moved, renamed or deleted? 的本地化字符串。
+        /// </summary>
+        public static string FileNotExistWarning {
+            get {
+                return ResourceManager.GetString("FileNotExistWarning", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Fill 的本地化字符串。
         /// </summary>
@@ -890,6 +955,61 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 No longer prompt 的本地化字符串。
+        /// </summary>
+        public static string Main_DoNotRemindAgain {
+            get {
+                return ResourceManager.GetString("Main_DoNotRemindAgain", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Want to save your changes to &apos;{0}&apos; ?
+        /// Your changes will be lost if you don&apos;t save them. 的本地化字符串。
+        /// </summary>
+        public static string Main_ModifiedFileWarning {
+            get {
+                return ResourceManager.GetString("Main_ModifiedFileWarning", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Sorry, we couldn&apos;t find this PDF file. Is it possible it was moved, renamed or deleted? 的本地化字符串。
+        /// </summary>
+        public static string Main_TheFileNotExistWarning {
+            get {
+                return ResourceManager.GetString("Main_TheFileNotExistWarning", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Your file is taken by another app, so we recommend that you use [Save As] to save as a copy and edit it. 的本地化字符串。
+        /// </summary>
+        public static string Main_TheFileOccupiedWarning {
+            get {
+                return ResourceManager.GetString("Main_TheFileOccupiedWarning", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Your file is in Read-Only mode. If you want to edit this file, we recommend that you use [Save As] to save your file and edit it. 的本地化字符串。
+        /// </summary>
+        public static string Main_TheFileReadonlyWarning {
+            get {
+                return ResourceManager.GetString("Main_TheFileReadonlyWarning", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 The current file is fixed. Please save it by Save As. 的本地化字符串。
+        /// </summary>
+        public static string Main_TheFileRepairedWarning {
+            get {
+                return ResourceManager.GetString("Main_TheFileRepairedWarning", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Delete 的本地化字符串。
         /// </summary>
@@ -1099,6 +1219,15 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 {0} file could not be open. Please try again or choose another file. 的本地化字符串。
+        /// </summary>
+        public static string NoOffice_Warning {
+            get {
+                return ResourceManager.GetString("NoOffice_Warning", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Opacity 的本地化字符串。
         /// </summary>
@@ -1108,6 +1237,15 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Operation failed, try again please 的本地化字符串。
+        /// </summary>
+        public static string OperationFailWarning {
+            get {
+                return ResourceManager.GetString("OperationFailWarning", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Add Item 的本地化字符串。
         /// </summary>
@@ -1144,6 +1282,15 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Are you sure you want to set the destination as the current location? 的本地化字符串。
+        /// </summary>
+        public static string Outline_ChangeDest_Tips {
+            get {
+                return ResourceManager.GetString("Outline_ChangeDest_Tips", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Collapse All 的本地化字符串。
         /// </summary>
@@ -1243,6 +1390,24 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 This will permanently remove all outlines. Are you sure to continue? 的本地化字符串。
+        /// </summary>
+        public static string OutlineDeleteTips {
+            get {
+                return ResourceManager.GetString("OutlineDeleteTips", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Can&apos;t delete all pages. Please keep at least one page 的本地化字符串。
+        /// </summary>
+        public static string PageEdit_DeleteAllPage {
+            get {
+                return ResourceManager.GetString("PageEdit_DeleteAllPage", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Failed to complete this operation. 的本地化字符串。
         /// </summary>
@@ -1324,6 +1489,15 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Invalid page range or the page number is out of range. Please try again. 的本地化字符串。
+        /// </summary>
+        public static string PageRangeWarning {
+            get {
+                return ResourceManager.GetString("PageRangeWarning", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Color 的本地化字符串。
         /// </summary>
@@ -1432,6 +1606,33 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Do you want to clear all files list in Recent Files? 的本地化字符串。
+        /// </summary>
+        public static string RecentFiles_AllClearMsg {
+            get {
+                return ResourceManager.GetString("RecentFiles_AllClearMsg", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Do you want to clear the file list in Recent Files? 的本地化字符串。
+        /// </summary>
+        public static string RecentFiles_ClearMsg {
+            get {
+                return ResourceManager.GetString("RecentFiles_ClearMsg", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Do you want to clear the selected files list in Recent Files 的本地化字符串。
+        /// </summary>
+        public static string RecentFiles_SelectedClearMsg {
+            get {
+                return ResourceManager.GetString("RecentFiles_SelectedClearMsg", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Are you sure you want to remove the security settings for”{0}” documents? 的本地化字符串。
         /// </summary>
@@ -1468,6 +1669,17 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Open Failed
+        ///Failed to load environment. 
+        ///Some functions may not work, please restart or re-download PDF Reader Pro from our official website. 的本地化字符串。
+        /// </summary>
+        public static string SDKLoadingFailed {
+            get {
+                return ResourceManager.GetString("SDKLoadingFailed", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Remove Passwords 的本地化字符串。
         /// </summary>
@@ -2044,6 +2256,15 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Please make sure Outlook is installed. 的本地化字符串。
+        /// </summary>
+        public static string Share_NoOutLookWarning {
+            get {
+                return ResourceManager.GetString("Share_NoOutLookWarning", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Clear 的本地化字符串。
         /// </summary>
@@ -2170,6 +2391,15 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Do you want to delete all signatures? 的本地化字符串。
+        /// </summary>
+        public static string Signature_deleteAllWarning {
+            get {
+                return ResourceManager.GetString("Signature_deleteAllWarning", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Stamp 的本地化字符串。
         /// </summary>

+ 96 - 0
PDF Office/Strings/MainPage/MainPage.resx

@@ -167,6 +167,14 @@
   <data name="Annotation_Title" xml:space="preserve">
     <value>Annotation</value>
   </data>
+  <data name="Annot_ExportFailWarning" xml:space="preserve">
+    <value>Failed to import annotations</value>
+    <comment>注释导入失败提示</comment>
+  </data>
+  <data name="Annot_ExportSuccess" xml:space="preserve">
+    <value>Export annotations successfully</value>
+    <comment>注释导出成功</comment>
+  </data>
   <data name="Bookmark_Change" xml:space="preserve">
     <value>Change Target Location</value>
     <comment>更改目标位置</comment>
@@ -340,6 +348,28 @@ form</value>
   <data name="Convert_Yes" xml:space="preserve">
     <value>Convert</value>
   </data>
+  <data name="CreateFileFailedWarning" xml:space="preserve">
+    <value>Create PDF failed</value>
+    <comment>创建文件失败时,提示文案</comment>
+  </data>
+  <data name="DeleteAllAnnotation_Warning" xml:space="preserve">
+    <value>Are you sure to delete all annotations?</value>
+    <comment>删除所有注释提示文案</comment>
+  </data>
+  <data name="Dialog_Hint" xml:space="preserve">
+    <value>Hint</value>
+    <comment>弹窗-标题:提示</comment>
+  </data>
+  <data name="ErrorFile_Warning" xml:space="preserve">
+    <value>Incorrect input format
+
+The file format you selected is not supported by this feature, please select the correct input format.</value>
+    <comment>拖拽不支持的文件格式添加时,提示文案</comment>
+  </data>
+  <data name="FileNotExistWarning" xml:space="preserve">
+    <value>Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</value>
+    <comment>文件被占用时,提示文案</comment>
+  </data>
   <data name="FreeText_Fill" xml:space="preserve">
     <value>Fill</value>
   </data>
@@ -411,6 +441,25 @@ form</value>
   <data name="Link_Title" xml:space="preserve">
     <value>Link</value>
   </data>
+  <data name="Main_DoNotRemindAgain" xml:space="preserve">
+    <value>No longer prompt</value>
+  </data>
+  <data name="Main_ModifiedFileWarning" xml:space="preserve">
+    <value>Want to save your changes to '{0}' ?
+ Your changes will be lost if you don't save them.</value>
+  </data>
+  <data name="Main_TheFileNotExistWarning" xml:space="preserve">
+    <value>Sorry, we couldn't find this PDF file. Is it possible it was moved, renamed or deleted?</value>
+  </data>
+  <data name="Main_TheFileOccupiedWarning" xml:space="preserve">
+    <value>Your file is taken by another app, so we recommend that you use [Save As] to save as a copy and edit it.</value>
+  </data>
+  <data name="Main_TheFileReadonlyWarning" xml:space="preserve">
+    <value>Your file is in Read-Only mode. If you want to edit this file, we recommend that you use [Save As] to save your file and edit it.</value>
+  </data>
+  <data name="Main_TheFileRepairedWarning" xml:space="preserve">
+    <value>The current file is fixed. Please save it by Save As.</value>
+  </data>
   <data name="MenuRightMenuSignatureAnnotExport_PDF" xml:space="preserve">
     <value>PDF</value>
   </data>
@@ -486,10 +535,22 @@ Drag files to reorder as you need.</value>
     <value>Rename</value>
     <comment>右键菜单-重命名</comment>
   </data>
+  <data name="NoOffice_Warning" xml:space="preserve">
+    <value>{0} file could not be open. Please try again or choose another file.</value>
+    <comment>没有安装office,无法从office创建文档时</comment>
+  </data>
   <data name="Opacity_Title" xml:space="preserve">
     <value>Opacity</value>
     <comment>点击水滴按钮打开的透明度弹窗标题</comment>
   </data>
+  <data name="OperationFailWarning" xml:space="preserve">
+    <value>Operation failed, try again please</value>
+    <comment>各种操作失败时,统一提示文案</comment>
+  </data>
+  <data name="OutlineDeleteTips" xml:space="preserve">
+    <value>This will permanently remove all outlines. Are you sure to continue?</value>
+    <comment>删除所有大纲时,弹窗提示</comment>
+  </data>
   <data name="Outline_Add" xml:space="preserve">
     <value>Add Item</value>
   </data>
@@ -502,6 +563,10 @@ Drag files to reorder as you need.</value>
   <data name="Outline_Change" xml:space="preserve">
     <value>Change Destination</value>
   </data>
+  <data name="Outline_ChangeDest_Tips" xml:space="preserve">
+    <value>Are you sure you want to set the destination as the current location?</value>
+    <comment>更改大纲目标位置提示</comment>
+  </data>
   <data name="Outline_Collapse" xml:space="preserve">
     <value>Collapse All</value>
   </data>
@@ -535,6 +600,10 @@ Drag files to reorder as you need.</value>
   <data name="Outline_Up" xml:space="preserve">
     <value>Promote</value>
   </data>
+  <data name="PageEdit_DeleteAllPage" xml:space="preserve">
+    <value>Can't delete all pages. Please keep at least one page</value>
+    <comment>删除全部页面时,提示文案</comment>
+  </data>
   <data name="PageEdit_Failed" xml:space="preserve">
     <value>Failed to complete this operation.</value>
   </data>
@@ -563,6 +632,10 @@ Drag files to reorder as you need.</value>
     <value>Display Page Size</value>
     <comment>显示页面大小</comment>
   </data>
+  <data name="PageRangeWarning" xml:space="preserve">
+    <value>Invalid page range or the page number is out of range. Please try again.</value>
+    <comment>页面范围错误提示</comment>
+  </data>
   <data name="Palette_Color" xml:space="preserve">
     <value>Color</value>
     <comment>调色板-主题颜色</comment>
@@ -602,6 +675,15 @@ Drag files to reorder as you need.</value>
   <data name="Print_Title" xml:space="preserve">
     <value>Print</value>
   </data>
+  <data name="RecentFiles_AllClearMsg" xml:space="preserve">
+    <value>Do you want to clear all files list in Recent Files?</value>
+  </data>
+  <data name="RecentFiles_ClearMsg" xml:space="preserve">
+    <value>Do you want to clear the file list in Recent Files?</value>
+  </data>
+  <data name="RecentFiles_SelectedClearMsg" xml:space="preserve">
+    <value>Do you want to clear the selected files list in Recent Files</value>
+  </data>
   <data name="RemovePassword_Context" xml:space="preserve">
     <value>Are you sure you want to remove the security settings for”{0}” documents?</value>
   </data>
@@ -615,6 +697,12 @@ Drag files to reorder as you need.</value>
     <value>Sample</value>
     <comment>高亮,删除线,下划线的示例文案</comment>
   </data>
+  <data name="SDKLoadingFailed" xml:space="preserve">
+    <value>Open Failed
+Failed to load environment. 
+Some functions may not work, please restart or re-download PDF Reader Pro from our official website.</value>
+    <comment>软件启动时,SDK加载失败的提示语</comment>
+  </data>
   <data name="Security_RemovePassword" xml:space="preserve">
     <value>Remove Passwords</value>
   </data>
@@ -811,6 +899,14 @@ Drag files to reorder as you need.</value>
   <data name="Settings_ResetAll" xml:space="preserve">
     <value>Reset All</value>
   </data>
+  <data name="Share_NoOutLookWarning" xml:space="preserve">
+    <value>Please make sure Outlook is installed.</value>
+    <comment>分享功能,未检测到outlook安装时</comment>
+  </data>
+  <data name="Signature_deleteAllWarning" xml:space="preserve">
+    <value>Do you want to delete all signatures?</value>
+    <comment>删除所有签名时,提示文案</comment>
+  </data>
   <data name="Signatur_DialogClear" xml:space="preserve">
     <value>Clear</value>
   </data>

+ 6 - 8
PDF Office/ViewModels/BOTA/AnnotationContentViewModel.cs

@@ -355,7 +355,7 @@ namespace PDF_Master.ViewModels.BOTA
                     {
                         //MessageBoxEx.Show("导入失败", "", Winform.MessageBoxButtons.OK, Winform.MessageBoxIcon.Error);
                         AlertsMessage alertsMessage = new AlertsMessage();
-                        alertsMessage.Show("提示", "导入失败!", "OK");
+                        alertsMessage.ShowDialog(App.MainPageLoader.GetString("Dialog_Hint"), App.MainPageLoader.GetString("Annot_ExportFailWarning"), App.ServiceLoader.GetString("Text_ok"));
                         return;
                     }
                     PdfViewer.ReloadVisibleAnnots();
@@ -373,7 +373,7 @@ namespace PDF_Master.ViewModels.BOTA
                 catch (Exception ex)
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.Show("提示", "导入失败!" + ex.Message, "OK");
+                    alertsMessage.ShowDialog(App.MainPageLoader.GetString("Dialog_Hint"), App.MainPageLoader.GetString("Annot_ExportFailWarning")+ex.Message, App.ServiceLoader.GetString("Text_ok"));
                 }
             }
         }
@@ -447,7 +447,7 @@ namespace PDF_Master.ViewModels.BOTA
                 }
             }
             AlertsMessage alertsMessage = new AlertsMessage();
-            alertsMessage.ShowDialog(" ", "This action will permanently delete all comments,\r\nWhether to continue??", "Cancel", "OK");
+            alertsMessage.ShowDialog(" ", App.MainPageLoader.GetString("DeleteAllAnnotation_Warning"), App.ServiceLoader.GetString("Text_cancel"), App.ServiceLoader.GetString("Text_ok"));
             if (alertsMessage.result == ContentResult.Ok)
             {
                 PdfViewer.RemovePageAnnot(deleteLists);
@@ -554,15 +554,13 @@ namespace PDF_Master.ViewModels.BOTA
                 var result = PdfViewer.ExportAnnotationToXFDFPath(fileName);
                 if (result)
                 {
-                    //MessageBoxEx.Show("导出成功", "", Winform.MessageBoxButtons.OK);
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.Show("提示", "导出成功!", "OK");
+                    alertsMessage.ShowDialog(App.MainPageLoader.GetString("Dialog_Hint"), App.MainPageLoader.GetString("Annot_ExportSuccess"), App.ServiceLoader.GetString("Text_ok"));
                 }
                 else
                 {
-                    AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.Show("提示", "导出失败!", "OK");
-                    //MessageBoxEx.Show("导出失败", "", Winform.MessageBoxButtons.OK, Winform.MessageBoxIcon.Error);
+                    AlertsMessage alertsMessage = new AlertsMessage();
+                    alertsMessage.ShowDialog(App.MainPageLoader.GetString("Dialog_Hint"), App.MainPageLoader.GetString("Annot_ExportSuccess"), App.ServiceLoader.GetString("Text_ok"));
                 }
             }
         }

+ 1 - 1
PDF Office/ViewModels/BOTA/BookmarkContentViewModel.cs

@@ -232,7 +232,7 @@ namespace PDF_Master.ViewModels.BOTA
             if (bookmark != null)
             {
                 AlertsMessage alertsMessage = new AlertsMessage();
-                alertsMessage.ShowDialog("提示", "确定要将选定大纲的目标位置设置为当前位置吗?", "Cancel", "OK");
+                alertsMessage.ShowDialog("",App.MainPageLoader.GetString("Outline_ChangeDest_Tips"), App.ServiceLoader.GetString("Text_cancel"), App.ServiceLoader.GetString("Text_ok"));
                 if (alertsMessage.result == ContentResult.Ok)
                 {
                     if (RemoveBookMark(bookmark))

+ 1 - 1
PDF Office/ViewModels/BOTA/OutLineControlViewModel.cs

@@ -502,7 +502,7 @@ namespace PDF_Master.ViewModels.BOTA
         public void DeleteAll()
         {
             AlertsMessage alertsMessage = new AlertsMessage();
-            alertsMessage.ShowDialog("", "This action will permanently delete all outlines,Whether to continue?", "No", "Yes");
+            alertsMessage.ShowDialog("",App.MainPageLoader.GetString("OutlineDeleteTips"), App.ServiceLoader.GetString("Text_cancel"), App.ServiceLoader.GetString("Text_ok"));
             if (alertsMessage.result == ContentResult.Ok)
             {
                 foreach (var item in Outlinelist)

+ 3 - 3
PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterCSVDialogViewModel.cs

@@ -187,7 +187,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "","确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"),App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -318,7 +318,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -360,7 +360,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                     catch
                     {
                         AlertsMessage alertsMessage = new AlertsMessage();
-                        alertsMessage.ShowDialog("文件已被占用", "请重新选则目标路径", "确定");
+                        alertsMessage.ShowDialog("",App.MainPageLoader.GetString("FileNotExistWarning"), App.ServiceLoader.GetString("Text_ok"));
                         return;
                     }
 

+ 3 - 3
PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterExcelDialogViewModel.cs

@@ -322,7 +322,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -354,7 +354,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -394,7 +394,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 catch
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("文件已被占用", "请重新选则目标路径", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("FileNotExistWarning"), App.ServiceLoader.GetString("Text_ok"));
                     return;
                 }
 

+ 3 - 3
PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterHTMLDialogViewModel.cs

@@ -164,7 +164,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -197,7 +197,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -237,7 +237,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 catch
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("文件已被占用", "请重新选则目标路径", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("FileNotExistWarning"), App.ServiceLoader.GetString("Text_ok"));
                     return;
                 }
 

+ 2 - 2
PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterImgDialogViewModel.cs

@@ -243,7 +243,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -347,7 +347,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;

+ 3 - 3
PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterPPTDialogViewModel.cs

@@ -192,7 +192,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -226,7 +226,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -266,7 +266,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 catch
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("文件已被占用", "请重新选则目标路径", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("FileNotExistWarning"), App.ServiceLoader.GetString("Text_ok"));
                     return;
                 }
 

+ 3 - 3
PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterRTFDialogViewModel.cs

@@ -165,7 +165,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -197,7 +197,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -237,7 +237,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 catch
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("文件已被占用", "请重新选则目标路径", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("FileNotExistWarning"), App.ServiceLoader.GetString("Text_ok"));
                     return;
                 }
 

+ 3 - 3
PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterTextDialogViewModel.cs

@@ -165,7 +165,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -197,7 +197,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -237,7 +237,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 catch
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("文件已被占用", "请重新选则目标路径", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("FileNotExistWarning"), App.ServiceLoader.GetString("Text_ok"));
                     return;
                 }
 

+ 3 - 3
PDF Office/ViewModels/Dialog/ConverterDialogs/ConverterWordDialogViewModel.cs

@@ -196,7 +196,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -229,7 +229,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, PageRangeText, currentViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         return;
@@ -268,7 +268,7 @@ namespace PDF_Master.ViewModels.Dialog.ConverterDialogs
                 try {if(File.Exists(ConverterWordModel.OutputPath)) File.Delete(ConverterWordModel.OutputPath); }
                 catch {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("文件已被占用", "请重新选则目标路径", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("FileNotExistWarning"), App.ServiceLoader.GetString("Text_ok"));
                     return;
                 }
                

+ 3 - 3
PDF Office/ViewModels/Dialog/HomePageToolsDialogs/HomePagePrinter/HomePagePrinterDialogViewModel.cs

@@ -799,7 +799,7 @@ namespace PDF_Master.ViewModels.Dialog.HomePageToolsDialogs.HomePagePrinter
                 if (!CommonHelper.GetPagesInRange(ref DocumentTargetPages, cmb.Text, PDFViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("错误","输入不对","","确认");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     return;
                 }
                 PrintSettingsInfo.PageRangeList = DocumentTargetPages;
@@ -1025,7 +1025,7 @@ namespace PDF_Master.ViewModels.Dialog.HomePageToolsDialogs.HomePagePrinter
                 if (!CommonHelper.GetPagesInRange(ref PageIndexLists, CustomRangeString, PDFViewer.Document.PageCount, new char[] { ',' }, new char[] { '-' }))
                 { //TODO
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("页面范围输入错误", "", "确定");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     IsHitVisible = true;
                     return;
                 }
@@ -1094,7 +1094,7 @@ namespace PDF_Master.ViewModels.Dialog.HomePageToolsDialogs.HomePagePrinter
                                     FinishedFrontSideFlag = false;
                                 }
                             }
-                        }
+                        } 
                     }
                     else
                     {

+ 1 - 1
PDF Office/ViewModels/Dialog/Redaction/PageMarkDialogViewModel.cs

@@ -98,7 +98,7 @@ namespace PDF_Master.ViewModels.Dialog.Redaction
             if(!result)
             {
                 AlertsMessage alertsMessage = new AlertsMessage();
-                alertsMessage.ShowDialog("","页码错误","ok");
+                alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                 CustomPage = "";
                 return;
             }

+ 1 - 1
PDF Office/ViewModels/Dialog/Redaction/RepeatMarkDialogViewModel.cs

@@ -109,7 +109,7 @@ namespace PDF_Master.ViewModels.Dialog.Redaction
             if (!result)
             {
                 AlertsMessage alertsMessage = new AlertsMessage();
-                alertsMessage.ShowDialog("", "页码错误", "ok");
+                alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                 InputString = "";
                 return;
             }

+ 1 - 1
PDF Office/ViewModels/Dialog/ServiceDialog/UserDialogViewModel.cs

@@ -227,7 +227,7 @@ namespace PDF_Master.ViewModels.Dialog.ServiceDialog
         public void UserOut()
         {
             AlertsMessage alertsMessage = new AlertsMessage();
-            alertsMessage.ShowDialog(Text_userouttol, Text_useroutmsg, "Cancel", "Yes",IconType.Tip);
+            alertsMessage.ShowDialog(Text_userouttol, Text_useroutmsg, App.ServiceLoader.GetString("Text_no"), App.ServiceLoader.GetString("Text_ok"), IconType.Tip);
 
             if (alertsMessage.result == ContentResult.Ok)
             {

+ 1 - 1
PDF Office/ViewModels/Dialog/ToolsDialogs/MergeDialogViewModel.cs

@@ -585,7 +585,7 @@ namespace PDF_Master.ViewModels.Dialog.ToolsDialogs
             if (showDialog)
             {
                 AlertsMessage alertsMessage = new AlertsMessage();
-        alertsMessage.ShowDialog("", "The file was not added successfully, please select the file again.", "OK");
+                alertsMessage.ShowDialog("", App.MainPageLoader.GetString("ErrorFile_Warning"), App.ServiceLoader.GetString("Text_ok"));
                 if (alertsMessage.result == ContentResult.Ok)
                 {
                 }

+ 3 - 2
PDF Office/ViewModels/Dialog/ToolsDialogs/SaftyDialogs/SetPasswordDialogViewModel.cs

@@ -525,8 +525,9 @@ namespace PDF_Master.ViewModels.Dialog.ToolsDialogs.SaftyDialogs
                 {
                     cPDFViewer.Document.Encrypt(openPassword, permissionsPassword, permissionsInfo);
                     cPDFViewer.Document.WriteToFilePath(sfd.FileName);
-                    AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("保存成功","","确认");
+                    //保存成功后没必要弹窗提示,直接显示文件浏览器,选中保存后的文档流程更简洁
+                    //AlertsMessage alertsMessage = new AlertsMessage();
+                    //alertsMessage.ShowDialog("保存成功","","确认");
                     DialogParameters dialogParameters = new DialogParameters();
                     dialogParameters.Add("FilePath", sfd.FileName);
                     RequestClose?.Invoke(new Prism.Services.Dialogs.DialogResult(ButtonResult.OK, dialogParameters));

+ 2 - 2
PDF Office/ViewModels/HomeContentViewModel.cs

@@ -164,7 +164,7 @@ namespace PDF_Master.ViewModels
             if (!System.IO.File.Exists(files[0]))
             {
                 AlertsMessage alertsMessage = new AlertsMessage();
-                alertsMessage.ShowDialog("", "Unsupported file format", "OK");
+                alertsMessage.ShowDialog("", App.MainPageLoader.GetString("ErrorFile_Warning"), App.ServiceLoader.GetString("Text_ok"));
                 IsLoading = Visibility.Collapsed;
                 return;
             }
@@ -186,7 +186,7 @@ namespace PDF_Master.ViewModels
             else
             {
                 AlertsMessage alertsMessage = new AlertsMessage();
-                alertsMessage.ShowDialog("", "Unsupported file format", "OK");
+                alertsMessage.ShowDialog("", App.MainPageLoader.GetString("ErrorFile_Warning"), App.ServiceLoader.GetString("Text_ok"));
                 IsLoading = Visibility.Collapsed;
                 return;
             }

+ 9 - 9
PDF Office/ViewModels/HomePanel/RecentFiles/RecentFilesContentViewModel.cs

@@ -255,7 +255,7 @@ namespace PDF_Master.ViewModels.HomePanel.RecentFiles
                 if (!Settings.Default.AppProperties.DontTipBeforeDeleteRecent)
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.HaveCheckBoxShow("提示", "删除文件", "不再提示", "取消", "OK");
+                    alertsMessage.HaveCheckBoxShow("", App.MainPageLoader.GetString("RecentFiles_AllClearMsg"), App.MainPageLoader.GetString("Main_DoNotRemindAgain"), App.ServiceLoader.GetString("Text_cancel"), App.ServiceLoader.GetString("Text_ok"));
                     if(alertsMessage.result == ContentResult.Ok)
                     {
                         needDelete = true;
@@ -301,21 +301,21 @@ namespace PDF_Master.ViewModels.HomePanel.RecentFiles
 
                 if (openFileInfo.Count == RecentFilesGroup.Count || openFileInfo.Count == 0)
                 {
-                    if(openFileInfo.Count == 1 && RecentFilesGroup.Count == 1)
-                        msg = "ClearFile";
+                    if (openFileInfo.Count == 1 && RecentFilesGroup.Count == 1)
+                        msg = App.MainPageLoader.GetString("RecentFiles_ClearMsg");
                     else
-                        msg = "AllClearFiles";
+                        msg = App.MainPageLoader.GetString("RecentFiles_AllClearMsg");
 
                     SelectedItemsType = 0;
                 }
                 else if(openFileInfo.Count == 1)
                 {
-                    msg = "ClearFile";
+                    msg = App.MainPageLoader.GetString("RecentFiles_ClearMsg");
                     SelectedItemsType = 1;
                 }
                 else
                 {
-                    msg = "ClearSelectedFiles";
+                    msg = App.MainPageLoader.GetString("RecentFiles_SelectedClearMsg");
                     SelectedItemsType = 2;
                 }
 
@@ -323,7 +323,7 @@ namespace PDF_Master.ViewModels.HomePanel.RecentFiles
                 if (!Settings.Default.AppProperties.DontTipBeforeDeleteRecent)
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.HaveCheckBoxShow("提示", msg, "不再提示", "取消", "OK");
+                    alertsMessage.HaveCheckBoxShow("",msg, App.MainPageLoader.GetString("Main_DoNotRemindAgain"), App.ServiceLoader.GetString("Text_cancel"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                     {
                         needDelete = true;
@@ -407,7 +407,7 @@ namespace PDF_Master.ViewModels.HomePanel.RecentFiles
                         if (!File.Exists(fileInfo.FilePath))
                         {
                             AlertsMessage alertsMessage = new AlertsMessage();
-                            alertsMessage.ShowDialog("提示", "文件不存在", "OK");
+                            alertsMessage.ShowDialog("", App.MainPageLoader.GetString("FileNotExistWarning"), App.ServiceLoader.GetString("Text_ok"));
                             SettingHelper.RemoveRecentOpenFile(fileInfo.FilePath);
                             RecentFilesGroup.Remove(fileInfo);
 
@@ -444,7 +444,7 @@ namespace PDF_Master.ViewModels.HomePanel.RecentFiles
                 else
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("提示", "文件不存在", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("FileNotExistWarning"), App.ServiceLoader.GetString("Text_ok"));
                     SettingHelper.RemoveRecentOpenFile(fileInfo.FilePath);
                     RecentFilesGroup.Remove(fileInfo);
 

+ 6 - 6
PDF Office/ViewModels/MainContentViewModel.cs

@@ -416,7 +416,7 @@ namespace PDF_Master.ViewModels
             if (PDFViewer.Document == null)
             {
                 AlertsMessage alertsMessage = new AlertsMessage();
-                alertsMessage.ShowDialog("", "创建文件失败.", "OK");
+                alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Create PDF failed"), App.ServiceLoader.GetString("Text_ok"));
                 return false;
             }
 
@@ -458,7 +458,7 @@ namespace PDF_Master.ViewModels
                 if (!result)
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "创建文件失败.", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Create PDF failed"), App.ServiceLoader.GetString("Text_ok"));
                     return false;
                 }
             }
@@ -492,7 +492,7 @@ namespace PDF_Master.ViewModels
                 if (PDFViewer.Document == null)
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "创建PDF失败", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Create PDF failed"), App.ServiceLoader.GetString("Text_ok"));
                     return false;
                 }
 
@@ -502,7 +502,7 @@ namespace PDF_Master.ViewModels
                 if (tempdoc == null)
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "创建PDF失败", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Create PDF failed"), App.ServiceLoader.GetString("Text_ok"));
                     return false;
                 }
 
@@ -545,11 +545,11 @@ namespace PDF_Master.ViewModels
                 if (str != "没有安装")
                 {
 
-                    alertsMessage.ShowDialog("", "没有安装Office", "OK");
+                    alertsMessage.ShowDialog("", string.Format(App.MainPageLoader.GetString("NoOffice_Warning"), System.IO.Path.GetExtension(sourcepath)), App.ServiceLoader.GetString("Text_ok"));
                 }
                 else
                 {
-                    alertsMessage.ShowDialog("", "创建PDF失败", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Create PDF failed"), App.ServiceLoader.GetString("Text_ok"));
                 }
                 return false;
             }

+ 1 - 1
PDF Office/ViewModels/MainWindowViewModel.cs

@@ -612,7 +612,7 @@ namespace PDF_Master.ViewModels
             {
                 //偏好设置里未设置直接保存时,需要弹窗提示
                 AlertsMessage alertsMessage = new AlertsMessage();
-                alertsMessage.ShowDialog("关闭提示", "当前文档有为保存的操作,是否需要保存?", "Cancel", "No", "Ok");
+                alertsMessage.ShowDialog("",string.Format(App.MainPageLoader.GetString("Main_ModifiedFileWarning"),System.IO.Path.GetFileName(pdfViewer.Document.FilePath)), App.ServiceLoader.GetString("Text_cancel"), App.ServiceLoader.GetString("Text_no"), App.ServiceLoader.GetString("Text_ok"));
                 result = alertsMessage.result;
             }
 

+ 4 - 4
PDF Office/ViewModels/PageEdit/PageEditContentViewModel.cs

@@ -1013,7 +1013,7 @@ namespace PDF_Master.ViewModels.PageEdit
                 if (!result)
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "请输入有效范围", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                     return;
                 }
 
@@ -1054,7 +1054,7 @@ namespace PDF_Master.ViewModels.PageEdit
             if (!result)
             {
                 AlertsMessage alertsMessage = new AlertsMessage();
-                alertsMessage.ShowDialog("", "请输入有效范围", "OK");
+                alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageRangeWarning"), App.ServiceLoader.GetString("Text_ok"));
                 return;
             }
 
@@ -1524,7 +1524,7 @@ namespace PDF_Master.ViewModels.PageEdit
             if (indexList.Count > 0 && indexList.Count == PDFViewer.Document.PageCount)
             {
                 AlertsMessage alertsMessage = new AlertsMessage();
-                alertsMessage.ShowDialog("", "不能删除所有页面", "OK");
+                alertsMessage.ShowDialog("", App.MainPageLoader.GetString("PageEdit_DeleteAllPage"), App.ServiceLoader.GetString("Text_ok"));
                 return;
             }
 
@@ -1564,7 +1564,7 @@ namespace PDF_Master.ViewModels.PageEdit
                 if (string.IsNullOrEmpty(dialog.SelectedPath))
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "", "OK");//补充提示文案
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("OperationFailWarning"), App.ServiceLoader.GetString("Text_ok"));//补充提示文案
                     return;
                 }
             }

+ 2 - 2
PDF Office/ViewModels/PropertyPanel/AnnotPanel/SnapshotEditMenuViewModel.cs

@@ -237,7 +237,7 @@ namespace PDF_Master.ViewModels.PropertyPanel.AnnotPanel
             if (saveToPDFViewer.Document == null)
             {
                 AlertsMessage alertsMessage = new AlertsMessage();
-                alertsMessage.ShowDialog("", "创建文件失败.", "OK");
+                alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Create PDF failed"), App.ServiceLoader.GetString("Text_ok"));
                 return false;
             }
 
@@ -279,7 +279,7 @@ namespace PDF_Master.ViewModels.PropertyPanel.AnnotPanel
                 if (!result)
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "创建文件失败.", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Create PDF failed"), App.ServiceLoader.GetString("Text_ok"));
                     return false;
                 }
             }

+ 1 - 1
PDF Office/ViewModels/PropertyPanel/ViewModular/ViewModularContentViewModel.cs

@@ -332,7 +332,7 @@ namespace PDF_Master.ViewModels.PropertyPanel.ViewModular
                 {
                     //TODO:弹窗提示打开全屏模式失败
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "Error", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("OperationFailWarning"), App.ServiceLoader.GetString("Text_ok"));
                     return;
                 }
                 else if (e.Result == ButtonResult.OK)

+ 2 - 2
PDF Office/ViewModels/Tools/AnnotToolContentViewModel.cs

@@ -1656,8 +1656,8 @@ namespace PDF_Master.ViewModels.Tools
                             tempDoc.CreateDocument();
                             if (tempDoc.Document == null)
                             {
-                                AlertsMessage alertsMessage = new AlertsMessage();
-                                alertsMessage.ShowDialog("", "创建文件失败.", "OK");
+                                AlertsMessage alertsMessage = new AlertsMessage();
+                                alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Create PDF failed"), App.ServiceLoader.GetString("Text_ok"));
                                 return;
                             }
                             byte[] buffer;

+ 6 - 6
PDF Office/ViewModels/ViewContentViewModel.cs

@@ -869,7 +869,7 @@ namespace PDF_Master.ViewModels
                 {
                     //TODO:弹窗提示打开全屏模式失败
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "Error", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("OperationFailWarning"), App.ServiceLoader.GetString("Text_ok"));
                     return;
                 }
             });
@@ -1425,7 +1425,7 @@ namespace PDF_Master.ViewModels
             catch
             {
                 AlertsMessage alertsMessage = new AlertsMessage();
-                alertsMessage.ShowDialog("", "未检测到Ooutlook软件,请先安装Outlook", "OK");
+                alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Share_NoOutLookWarning"), App.ServiceLoader.GetString("Text_ok"));
             }
         }
 
@@ -2334,7 +2334,7 @@ namespace PDF_Master.ViewModels
                 if (PDFViewer.Document.HasRepaired)
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "文件已被修复,建议另存为", "Cancel", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Main_TheFileRepairedWarning"), App.ServiceLoader.GetString("Text_cancel"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                         return saveAsFile();
                     else
@@ -2345,7 +2345,7 @@ namespace PDF_Master.ViewModels
                 if (!File.Exists(PDFViewer.Document.FilePath))
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "文件路径不存在,需要另存为", "Cancel", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Main_TheFileNotExistWarning"), App.ServiceLoader.GetString("Text_cancel"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                         return saveAsFile();
                     else
@@ -2357,7 +2357,7 @@ namespace PDF_Master.ViewModels
                 if (fileInfo.IsReadOnly)
                 {
                     AlertsMessage alertsMessage = new AlertsMessage();
-                    alertsMessage.ShowDialog("", "文件为只读文件,需要另存为", "Cancel", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Main_TheFileReadonlyWarning"), App.ServiceLoader.GetString("Text_cancel"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                         return saveAsFile();
                     else
@@ -2518,7 +2518,7 @@ namespace PDF_Master.ViewModels
                     App.Current.MainWindow.Activate();
                     AlertsMessage alertsMessage = new AlertsMessage();
                     //文件被占用 保存失败时
-                    alertsMessage.ShowDialog("", "文件被占用,需要另存为", "Cancel", "OK");
+                    alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Main_TheFileOccupiedWarning"), App.ServiceLoader.GetString("Text_cancel"), App.ServiceLoader.GetString("Text_ok"));
                     if (alertsMessage.result == ContentResult.Ok)
                         return saveAsFile();
                     else

+ 1 - 1
PDF Office/Views/PropertyPanel/AnnotPanel/SignatureAnnotProperty.xaml.cs

@@ -60,7 +60,7 @@ namespace PDF_Master.Views.PropertyPanel.AnnotPanel
         private void DeleteAll_Click(object sender, RoutedEventArgs e)
         {
             AlertsMessage alertsMessage = new AlertsMessage();
-            alertsMessage.ShowDialog("", "确定要全部删除吗?", "Cancel", "OK");
+            alertsMessage.ShowDialog("", App.MainPageLoader.GetString("Signature_deleteAllWarning"), App.ServiceLoader.GetString("Text_cancel"), App.ServiceLoader.GetString("Text_ok"));
             if (alertsMessage.result == ContentResult.Ok)
             {
                 (DataContext as SignatureAnnotPropertyViewModel).DeleteAll();