Prechádzať zdrojové kódy

文案-阅读模式属性面板,与进入退出提示

zhuyi 2 rokov pred
rodič
commit
842882ab74

+ 98 - 1
PDF Office/MultilingualResources/PDF Office.en.xlf

@@ -51,7 +51,44 @@
       <tool tool-id="MultilingualAppToolkit" tool-name="Multilingual App Toolkit" tool-version="4.1.12.0" tool-company="Microsoft" />
     </header>
     <body>
-      <group id="PDF OFFICE/STRINGS/HOMEPAGE/HOMEPAGE.RESX" datatype="resx" />
+      <group id="PDF OFFICE/STRINGS/HOMEPAGE/HOMEPAGE.RESX" datatype="resx">
+        <trans-unit id="HomeList_MenuRemove" translate="yes" xml:space="preserve">
+          <source>Remove from Recents</source>
+          <target state="new">Remove from Recents</target>
+        </trans-unit>
+        <trans-unit id="HomeList_MenuShow" translate="yes" xml:space="preserve">
+          <source>Show in Folder</source>
+          <target state="new">Show in Folder</target>
+        </trans-unit>
+        <trans-unit id="HomeList_NoFilesContent" translate="yes" xml:space="preserve">
+          <source>Click “Open Files” or drag file here to open</source>
+          <target state="new">Click “Open Files” or drag file here to open</target>
+        </trans-unit>
+        <trans-unit id="HomeList_NoFilesTitle" translate="yes" xml:space="preserve">
+          <source>No recently opened files</source>
+          <target state="new">No recently opened files</target>
+        </trans-unit>
+        <trans-unit id="HomeList_Title" translate="yes" xml:space="preserve">
+          <source>Recents</source>
+          <target state="new">Recents</target>
+        </trans-unit>
+        <trans-unit id="HomeTool_Title" translate="yes" xml:space="preserve">
+          <source>Quick Tools</source>
+          <target state="new">Quick Tools</target>
+        </trans-unit>
+        <trans-unit id="Home_CreatePDF" translate="yes" xml:space="preserve">
+          <source>Create PDF</source>
+          <target state="new">Create PDF</target>
+        </trans-unit>
+        <trans-unit id="Home_CreateToNew" translate="yes" xml:space="preserve">
+          <source>New Blank Page</source>
+          <target state="new">New Blank Page</target>
+        </trans-unit>
+        <trans-unit id="Home_OpenFiles" translate="yes" xml:space="preserve">
+          <source>Open Files</source>
+          <target state="new">Open Files</target>
+        </trans-unit>
+      </group>
     </body>
   </file>
   <file datatype="xml" source-language="en-US" target-language="en" original="PDF OFFICE/STRINGS/MAINPAGE/MAINPAGE.RESX" tool-id="MultilingualAppToolkit" product-name="n/a" product-version="n/a" build-num="n/a">
@@ -355,6 +392,66 @@ Drag files to reorder as you need.</target>
           <source>Undo</source>
           <target state="new">Undo</target>
         </trans-unit>
+        <trans-unit id="Zoom_Actual" translate="yes" xml:space="preserve">
+          <source>Actual Size</source>
+          <target state="new">Actual Size</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读页底部工具栏-缩放菜单实际大小选项</note>
+        </trans-unit>
+        <trans-unit id="Zoom_FitPage" translate="yes" xml:space="preserve">
+          <source>Fit Page</source>
+          <target state="new">Fit Page</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读页底部工具栏-缩放菜单适应宽度选项</note>
+        </trans-unit>
+        <trans-unit id="Zoom_FitWidth" translate="yes" xml:space="preserve">
+          <source>Fit Width</source>
+          <target state="new">Fit Width</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读页底部工具栏-缩放菜单适应页面选项</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Title" translate="yes" xml:space="preserve">
+          <source>View</source>
+          <target state="new">View</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Book" translate="yes" xml:space="preserve">
+          <source>Book Mode</source>
+          <target state="new">Book Mode</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">书本模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Full" translate="yes" xml:space="preserve">
+          <source>Full Screen</source>
+          <target state="new">Full Screen</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">全屏模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Mode" translate="yes" xml:space="preserve">
+          <source>Display Mode</source>
+          <target state="new">Display Mode</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Read" translate="yes" xml:space="preserve">
+          <source>Read Mode</source>
+          <target state="new">Read Mode</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Single" translate="yes" xml:space="preserve">
+          <source>Single Page</source>
+          <target state="new">Single Page</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">单页模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Two" translate="yes" xml:space="preserve">
+          <source>Two Pages</source>
+          <target state="new">Two Pages</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">双页模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_ContinuousScroll" translate="yes" xml:space="preserve">
+          <source>Continuous Scroll</source>
+          <target state="new">Continuous Scroll</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_PageBreak" translate="yes" xml:space="preserve">
+          <source>Page Break</source>
+          <target state="new">Page Break</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_RotateTitle" translate="yes" xml:space="preserve">
+          <source>Rotate</source>
+          <target state="new">Rotate</target>
+        </trans-unit>
       </group>
     </body>
   </file>

+ 98 - 1
PDF Office/MultilingualResources/PDF Office.zh-Hans.xlf

@@ -51,7 +51,44 @@
       <tool tool-id="MultilingualAppToolkit" tool-name="Multilingual App Toolkit" tool-version="4.1.12.0" tool-company="Microsoft" />
     </header>
     <body>
-      <group id="PDF OFFICE/STRINGS/HOMEPAGE/HOMEPAGE.RESX" datatype="resx" />
+      <group id="PDF OFFICE/STRINGS/HOMEPAGE/HOMEPAGE.RESX" datatype="resx">
+        <trans-unit id="HomeList_MenuRemove" translate="yes" xml:space="preserve">
+          <source>Remove from Recents</source>
+          <target state="new">Remove from Recents</target>
+        </trans-unit>
+        <trans-unit id="HomeList_MenuShow" translate="yes" xml:space="preserve">
+          <source>Show in Folder</source>
+          <target state="new">Show in Folder</target>
+        </trans-unit>
+        <trans-unit id="HomeList_NoFilesContent" translate="yes" xml:space="preserve">
+          <source>Click “Open Files” or drag file here to open</source>
+          <target state="new">Click “Open Files” or drag file here to open</target>
+        </trans-unit>
+        <trans-unit id="HomeList_NoFilesTitle" translate="yes" xml:space="preserve">
+          <source>No recently opened files</source>
+          <target state="new">No recently opened files</target>
+        </trans-unit>
+        <trans-unit id="HomeList_Title" translate="yes" xml:space="preserve">
+          <source>Recents</source>
+          <target state="new">Recents</target>
+        </trans-unit>
+        <trans-unit id="HomeTool_Title" translate="yes" xml:space="preserve">
+          <source>Quick Tools</source>
+          <target state="new">Quick Tools</target>
+        </trans-unit>
+        <trans-unit id="Home_CreatePDF" translate="yes" xml:space="preserve">
+          <source>Create PDF</source>
+          <target state="new">Create PDF</target>
+        </trans-unit>
+        <trans-unit id="Home_CreateToNew" translate="yes" xml:space="preserve">
+          <source>New Blank Page</source>
+          <target state="new">New Blank Page</target>
+        </trans-unit>
+        <trans-unit id="Home_OpenFiles" translate="yes" xml:space="preserve">
+          <source>Open Files</source>
+          <target state="new">Open Files</target>
+        </trans-unit>
+      </group>
     </body>
   </file>
   <file datatype="xml" source-language="en-US" target-language="zh-Hans" original="PDF OFFICE/STRINGS/MAINPAGE/MAINPAGE.RESX" tool-id="MultilingualAppToolkit" product-name="n/a" product-version="n/a" build-num="n/a">
@@ -355,6 +392,66 @@ Drag files to reorder as you need.</target>
           <source>Undo</source>
           <target state="new">Undo</target>
         </trans-unit>
+        <trans-unit id="Zoom_Actual" translate="yes" xml:space="preserve">
+          <source>Actual Size</source>
+          <target state="new">Actual Size</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读页底部工具栏-缩放菜单实际大小选项</note>
+        </trans-unit>
+        <trans-unit id="Zoom_FitPage" translate="yes" xml:space="preserve">
+          <source>Fit Page</source>
+          <target state="new">Fit Page</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读页底部工具栏-缩放菜单适应宽度选项</note>
+        </trans-unit>
+        <trans-unit id="Zoom_FitWidth" translate="yes" xml:space="preserve">
+          <source>Fit Width</source>
+          <target state="new">Fit Width</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读页底部工具栏-缩放菜单适应页面选项</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Title" translate="yes" xml:space="preserve">
+          <source>View</source>
+          <target state="new">View</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Book" translate="yes" xml:space="preserve">
+          <source>Book Mode</source>
+          <target state="new">Book Mode</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">书本模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Full" translate="yes" xml:space="preserve">
+          <source>Full Screen</source>
+          <target state="new">Full Screen</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">全屏模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Mode" translate="yes" xml:space="preserve">
+          <source>Display Mode</source>
+          <target state="new">Display Mode</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Read" translate="yes" xml:space="preserve">
+          <source>Read Mode</source>
+          <target state="new">Read Mode</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Single" translate="yes" xml:space="preserve">
+          <source>Single Page</source>
+          <target state="new">Single Page</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">单页模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Two" translate="yes" xml:space="preserve">
+          <source>Two Pages</source>
+          <target state="new">Two Pages</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">双页模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_ContinuousScroll" translate="yes" xml:space="preserve">
+          <source>Continuous Scroll</source>
+          <target state="new">Continuous Scroll</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_PageBreak" translate="yes" xml:space="preserve">
+          <source>Page Break</source>
+          <target state="new">Page Break</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_RotateTitle" translate="yes" xml:space="preserve">
+          <source>Rotate</source>
+          <target state="new">Rotate</target>
+        </trans-unit>
       </group>
     </body>
   </file>

+ 98 - 1
PDF Office/MultilingualResources/PDF Office.zh-Hant.xlf

@@ -51,7 +51,44 @@
       <tool tool-id="MultilingualAppToolkit" tool-name="Multilingual App Toolkit" tool-version="4.1.12.0" tool-company="Microsoft" />
     </header>
     <body>
-      <group id="PDF OFFICE/STRINGS/HOMEPAGE/HOMEPAGE.RESX" datatype="resx" />
+      <group id="PDF OFFICE/STRINGS/HOMEPAGE/HOMEPAGE.RESX" datatype="resx">
+        <trans-unit id="HomeList_MenuRemove" translate="yes" xml:space="preserve">
+          <source>Remove from Recents</source>
+          <target state="new">Remove from Recents</target>
+        </trans-unit>
+        <trans-unit id="HomeList_MenuShow" translate="yes" xml:space="preserve">
+          <source>Show in Folder</source>
+          <target state="new">Show in Folder</target>
+        </trans-unit>
+        <trans-unit id="HomeList_NoFilesContent" translate="yes" xml:space="preserve">
+          <source>Click “Open Files” or drag file here to open</source>
+          <target state="new">Click “Open Files” or drag file here to open</target>
+        </trans-unit>
+        <trans-unit id="HomeList_NoFilesTitle" translate="yes" xml:space="preserve">
+          <source>No recently opened files</source>
+          <target state="new">No recently opened files</target>
+        </trans-unit>
+        <trans-unit id="HomeList_Title" translate="yes" xml:space="preserve">
+          <source>Recents</source>
+          <target state="new">Recents</target>
+        </trans-unit>
+        <trans-unit id="HomeTool_Title" translate="yes" xml:space="preserve">
+          <source>Quick Tools</source>
+          <target state="new">Quick Tools</target>
+        </trans-unit>
+        <trans-unit id="Home_CreatePDF" translate="yes" xml:space="preserve">
+          <source>Create PDF</source>
+          <target state="new">Create PDF</target>
+        </trans-unit>
+        <trans-unit id="Home_CreateToNew" translate="yes" xml:space="preserve">
+          <source>New Blank Page</source>
+          <target state="new">New Blank Page</target>
+        </trans-unit>
+        <trans-unit id="Home_OpenFiles" translate="yes" xml:space="preserve">
+          <source>Open Files</source>
+          <target state="new">Open Files</target>
+        </trans-unit>
+      </group>
     </body>
   </file>
   <file datatype="xml" source-language="en-US" target-language="zh-Hant" original="PDF OFFICE/STRINGS/MAINPAGE/MAINPAGE.RESX" tool-id="MultilingualAppToolkit" product-name="n/a" product-version="n/a" build-num="n/a">
@@ -355,6 +392,66 @@ Drag files to reorder as you need.</target>
           <source>Undo</source>
           <target state="new">Undo</target>
         </trans-unit>
+        <trans-unit id="Zoom_Actual" translate="yes" xml:space="preserve">
+          <source>Actual Size</source>
+          <target state="new">Actual Size</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读页底部工具栏-缩放菜单实际大小选项</note>
+        </trans-unit>
+        <trans-unit id="Zoom_FitPage" translate="yes" xml:space="preserve">
+          <source>Fit Page</source>
+          <target state="new">Fit Page</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读页底部工具栏-缩放菜单适应宽度选项</note>
+        </trans-unit>
+        <trans-unit id="Zoom_FitWidth" translate="yes" xml:space="preserve">
+          <source>Fit Width</source>
+          <target state="new">Fit Width</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读页底部工具栏-缩放菜单适应页面选项</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Title" translate="yes" xml:space="preserve">
+          <source>View</source>
+          <target state="new">View</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Book" translate="yes" xml:space="preserve">
+          <source>Book Mode</source>
+          <target state="new">Book Mode</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">书本模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Full" translate="yes" xml:space="preserve">
+          <source>Full Screen</source>
+          <target state="new">Full Screen</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">全屏模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Mode" translate="yes" xml:space="preserve">
+          <source>Display Mode</source>
+          <target state="new">Display Mode</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Read" translate="yes" xml:space="preserve">
+          <source>Read Mode</source>
+          <target state="new">Read Mode</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">阅读模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Single" translate="yes" xml:space="preserve">
+          <source>Single Page</source>
+          <target state="new">Single Page</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">单页模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_Two" translate="yes" xml:space="preserve">
+          <source>Two Pages</source>
+          <target state="new">Two Pages</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">双页模式</note>
+        </trans-unit>
+        <trans-unit id="ViewProperties_ContinuousScroll" translate="yes" xml:space="preserve">
+          <source>Continuous Scroll</source>
+          <target state="new">Continuous Scroll</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_PageBreak" translate="yes" xml:space="preserve">
+          <source>Page Break</source>
+          <target state="new">Page Break</target>
+        </trans-unit>
+        <trans-unit id="ViewProperties_RotateTitle" translate="yes" xml:space="preserve">
+          <source>Rotate</source>
+          <target state="new">Rotate</target>
+        </trans-unit>
       </group>
     </body>
   </file>

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

@@ -59,5 +59,86 @@ namespace PDF_Office.Strings.HomePage {
                 resourceCulture = value;
             }
         }
+        
+        /// <summary>
+        ///   查找类似 Create PDF 的本地化字符串。
+        /// </summary>
+        public static string Home_CreatePDF {
+            get {
+                return ResourceManager.GetString("Home_CreatePDF", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 New Blank Page 的本地化字符串。
+        /// </summary>
+        public static string Home_CreateToNew {
+            get {
+                return ResourceManager.GetString("Home_CreateToNew", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Open Files 的本地化字符串。
+        /// </summary>
+        public static string Home_OpenFiles {
+            get {
+                return ResourceManager.GetString("Home_OpenFiles", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Remove from Recents 的本地化字符串。
+        /// </summary>
+        public static string HomeList_MenuRemove {
+            get {
+                return ResourceManager.GetString("HomeList_MenuRemove", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Show in Folder 的本地化字符串。
+        /// </summary>
+        public static string HomeList_MenuShow {
+            get {
+                return ResourceManager.GetString("HomeList_MenuShow", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Click “Open Files” or drag file here to open 的本地化字符串。
+        /// </summary>
+        public static string HomeList_NoFilesContent {
+            get {
+                return ResourceManager.GetString("HomeList_NoFilesContent", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 No recently opened files 的本地化字符串。
+        /// </summary>
+        public static string HomeList_NoFilesTitle {
+            get {
+                return ResourceManager.GetString("HomeList_NoFilesTitle", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Recents 的本地化字符串。
+        /// </summary>
+        public static string HomeList_Title {
+            get {
+                return ResourceManager.GetString("HomeList_Title", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Quick Tools 的本地化字符串。
+        /// </summary>
+        public static string HomeTool_Title {
+            get {
+                return ResourceManager.GetString("HomeTool_Title", resourceCulture);
+            }
+        }
     }
 }

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

@@ -117,4 +117,31 @@
   <resheader name="writer">
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
+  <data name="HomeList_MenuRemove" xml:space="preserve">
+    <value>Remove from Recents</value>
+  </data>
+  <data name="HomeList_MenuShow" xml:space="preserve">
+    <value>Show in Folder</value>
+  </data>
+  <data name="HomeList_NoFilesContent" xml:space="preserve">
+    <value>Click “Open Files” or drag file here to open</value>
+  </data>
+  <data name="HomeList_NoFilesTitle" xml:space="preserve">
+    <value>No recently opened files</value>
+  </data>
+  <data name="HomeList_Title" xml:space="preserve">
+    <value>Recents</value>
+  </data>
+  <data name="HomeTool_Title" xml:space="preserve">
+    <value>Quick Tools</value>
+  </data>
+  <data name="Home_CreatePDF" xml:space="preserve">
+    <value>Create PDF</value>
+  </data>
+  <data name="Home_CreateToNew" xml:space="preserve">
+    <value>New Blank Page</value>
+  </data>
+  <data name="Home_OpenFiles" xml:space="preserve">
+    <value>Open Files</value>
+  </data>
 </root>

+ 123 - 69
PDF Office/Strings/MainPage/MainPage.Designer.cs

@@ -61,83 +61,20 @@ namespace PDF_Office.Strings.MainPage {
         }
         
         /// <summary>
-        ///   查找类似 Create PDF 的本地化字符串。
+        ///   查找类似 Enter Read Mode, tap ESC to exit 的本地化字符串。
         /// </summary>
-        public static string Home_CreatePDF {
+        public static string GlobalTip_ESCReadMode {
             get {
-                return ResourceManager.GetString("Home_CreatePDF", resourceCulture);
+                return ResourceManager.GetString("GlobalTip_ESCReadMode", resourceCulture);
             }
         }
         
         /// <summary>
-        ///   查找类似 New Blank Page 的本地化字符串。
+        ///   查找类似 Exit Read Mode 的本地化字符串。
         /// </summary>
-        public static string Home_CreateToNew {
+        public static string GlobalTip_ExitReadMode {
             get {
-                return ResourceManager.GetString("Home_CreateToNew", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   查找类似 Open Files 的本地化字符串。
-        /// </summary>
-        public static string Home_OpenFiles {
-            get {
-                return ResourceManager.GetString("Home_OpenFiles", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   查找类似 Remove from Recents 的本地化字符串。
-        /// </summary>
-        public static string HomeList_MenuRemove {
-            get {
-                return ResourceManager.GetString("HomeList_MenuRemove", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   查找类似 Show in Folder 的本地化字符串。
-        /// </summary>
-        public static string HomeList_MenuShow {
-            get {
-                return ResourceManager.GetString("HomeList_MenuShow", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   查找类似 Click “Open Files” or drag file here to open 的本地化字符串。
-        /// </summary>
-        public static string HomeList_NoFilesContent {
-            get {
-                return ResourceManager.GetString("HomeList_NoFilesContent", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   查找类似 No recently opened files 的本地化字符串。
-        /// </summary>
-        public static string HomeList_NoFilesTitle {
-            get {
-                return ResourceManager.GetString("HomeList_NoFilesTitle", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   查找类似 Recents 的本地化字符串。
-        /// </summary>
-        public static string HomeList_Title {
-            get {
-                return ResourceManager.GetString("HomeList_Title", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   查找类似 Quick Tools 的本地化字符串。
-        /// </summary>
-        public static string HomeTool_Title {
-            get {
-                return ResourceManager.GetString("HomeTool_Title", resourceCulture);
+                return ResourceManager.GetString("GlobalTip_ExitReadMode", resourceCulture);
             }
         }
         
@@ -548,6 +485,96 @@ namespace PDF_Office.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Book Mode 的本地化字符串。
+        /// </summary>
+        public static string ViewProperties_Book {
+            get {
+                return ResourceManager.GetString("ViewProperties_Book", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Continuous Scroll 的本地化字符串。
+        /// </summary>
+        public static string ViewProperties_ContinuousScroll {
+            get {
+                return ResourceManager.GetString("ViewProperties_ContinuousScroll", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Full Screen 的本地化字符串。
+        /// </summary>
+        public static string ViewProperties_Full {
+            get {
+                return ResourceManager.GetString("ViewProperties_Full", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Display Mode 的本地化字符串。
+        /// </summary>
+        public static string ViewProperties_Mode {
+            get {
+                return ResourceManager.GetString("ViewProperties_Mode", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Page Break 的本地化字符串。
+        /// </summary>
+        public static string ViewProperties_PageBreak {
+            get {
+                return ResourceManager.GetString("ViewProperties_PageBreak", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Read Mode 的本地化字符串。
+        /// </summary>
+        public static string ViewProperties_Read {
+            get {
+                return ResourceManager.GetString("ViewProperties_Read", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Rotate 的本地化字符串。
+        /// </summary>
+        public static string ViewProperties_RotateTitle {
+            get {
+                return ResourceManager.GetString("ViewProperties_RotateTitle", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Single Page 的本地化字符串。
+        /// </summary>
+        public static string ViewProperties_Single {
+            get {
+                return ResourceManager.GetString("ViewProperties_Single", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 View 的本地化字符串。
+        /// </summary>
+        public static string ViewProperties_Title {
+            get {
+                return ResourceManager.GetString("ViewProperties_Title", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Two Pages 的本地化字符串。
+        /// </summary>
+        public static string ViewProperties_Two {
+            get {
+                return ResourceManager.GetString("ViewProperties_Two", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Annotation 的本地化字符串。
         /// </summary>
@@ -691,5 +718,32 @@ namespace PDF_Office.Strings.MainPage {
                 return ResourceManager.GetString("WritableComboBox_OddPage", resourceCulture);
             }
         }
+        
+        /// <summary>
+        ///   查找类似 Actual Size 的本地化字符串。
+        /// </summary>
+        public static string Zoom_Actual {
+            get {
+                return ResourceManager.GetString("Zoom_Actual", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Fit Page 的本地化字符串。
+        /// </summary>
+        public static string Zoom_FitPage {
+            get {
+                return ResourceManager.GetString("Zoom_FitPage", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Fit Width 的本地化字符串。
+        /// </summary>
+        public static string Zoom_FitWidth {
+            get {
+                return ResourceManager.GetString("Zoom_FitWidth", resourceCulture);
+            }
+        }
     }
 }

+ 52 - 26
PDF Office/Strings/MainPage/MainPage.resx

@@ -117,33 +117,12 @@
   <resheader name="writer">
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
-  <data name="HomeList_MenuRemove" xml:space="preserve">
-    <value>Remove from Recents</value>
+  <data name="GlobalTip_ESCReadMode" xml:space="preserve">
+    <value>Enter Read Mode, tap ESC to exit</value>
+    <comment>进入阅读模式,提示可以按ESC退出</comment>
   </data>
-  <data name="HomeList_MenuShow" xml:space="preserve">
-    <value>Show in Folder</value>
-  </data>
-  <data name="HomeList_NoFilesContent" xml:space="preserve">
-    <value>Click “Open Files” or drag file here to open</value>
-  </data>
-  <data name="HomeList_NoFilesTitle" xml:space="preserve">
-    <value>No recently opened files</value>
-  </data>
-  <data name="HomeList_Title" xml:space="preserve">
-    <value>Recents</value>
-  </data>
-  <data name="HomeTool_Title" xml:space="preserve">
-    <value>Quick Tools</value>
-  </data>
-  <data name="Home_CreatePDF" xml:space="preserve">
-    <value>Create PDF</value>
-  </data>
-  <data name="Home_CreateToNew" xml:space="preserve">
-    <value>New Blank Page</value>
-    <comment>下拉菜单-新建空白文档</comment>
-  </data>
-  <data name="Home_OpenFiles" xml:space="preserve">
-    <value>Open Files</value>
+  <data name="GlobalTip_ExitReadMode" xml:space="preserve">
+    <value>Exit Read Mode</value>
   </data>
   <data name="Merge_AddFiles" xml:space="preserve">
     <value>Add Files</value>
@@ -291,6 +270,41 @@ Drag files to reorder as you need.</value>
   <data name="Stamp_Title" xml:space="preserve">
     <value>Stamp</value>
   </data>
+  <data name="ViewProperties_Book" xml:space="preserve">
+    <value>Book Mode</value>
+    <comment>书本模式</comment>
+  </data>
+  <data name="ViewProperties_ContinuousScroll" xml:space="preserve">
+    <value>Continuous Scroll</value>
+  </data>
+  <data name="ViewProperties_Full" xml:space="preserve">
+    <value>Full Screen</value>
+    <comment>全屏模式</comment>
+  </data>
+  <data name="ViewProperties_Mode" xml:space="preserve">
+    <value>Display Mode</value>
+  </data>
+  <data name="ViewProperties_PageBreak" xml:space="preserve">
+    <value>Page Break</value>
+  </data>
+  <data name="ViewProperties_Read" xml:space="preserve">
+    <value>Read Mode</value>
+    <comment>阅读模式</comment>
+  </data>
+  <data name="ViewProperties_RotateTitle" xml:space="preserve">
+    <value>Rotate</value>
+  </data>
+  <data name="ViewProperties_Single" xml:space="preserve">
+    <value>Single Page</value>
+    <comment>单页模式</comment>
+  </data>
+  <data name="ViewProperties_Title" xml:space="preserve">
+    <value>View</value>
+  </data>
+  <data name="ViewProperties_Two" xml:space="preserve">
+    <value>Two Pages</value>
+    <comment>双页模式</comment>
+  </data>
   <data name="ViewTopToolbar_Annotation" xml:space="preserve">
     <value>Annotation</value>
   </data>
@@ -340,4 +354,16 @@ Drag files to reorder as you need.</value>
   <data name="WritableComboBox_OddPage" xml:space="preserve">
     <value>Odd Pages</value>
   </data>
+  <data name="Zoom_Actual" xml:space="preserve">
+    <value>Actual Size</value>
+    <comment>阅读页底部工具栏-缩放菜单实际大小选项</comment>
+  </data>
+  <data name="Zoom_FitPage" xml:space="preserve">
+    <value>Fit Page</value>
+    <comment>阅读页底部工具栏-缩放菜单适应宽度选项</comment>
+  </data>
+  <data name="Zoom_FitWidth" xml:space="preserve">
+    <value>Fit Width</value>
+    <comment>阅读页底部工具栏-缩放菜单适应页面选项</comment>
+  </data>
 </root>

+ 44 - 0
PDF Office/ViewModels/BottomToolContentViewModel.cs

@@ -27,6 +27,49 @@ namespace PDF_Office.ViewModels
 {
     public class BottomToolContentViewModel : BindableBase, INavigationAware
     {
+        #region 文案
+
+        private string T_actual;
+
+        public string T_Actual
+        {
+            get { return T_actual; }
+            set
+            {
+                SetProperty(ref T_actual, value);
+            }
+        }
+
+        private string T_fitWidth;
+
+        public string T_FitWidth
+        {
+            get { return T_fitWidth; }
+            set
+            {
+                SetProperty(ref T_fitWidth, value);
+            }
+        }
+
+        private string T_fitPage;
+
+        public string T_FitPage
+        {
+            get { return T_fitPage; }
+            set
+            {
+                SetProperty(ref T_fitPage, value);
+            }
+        }
+
+        private void InitString()
+        {
+            T_Actual = App.MainPageLoader.GetString("Zoom_Actual");
+            T_FitWidth = App.MainPageLoader.GetString("Zoom_FitWidth");
+            T_FitPage = App.MainPageLoader.GetString("Zoom_FitPage");
+        }
+
+        #endregion
         public DelegateCommand Load { get; set; }
 
         public DelegateCommand FirstPageCommand { get; set; }
@@ -264,6 +307,7 @@ namespace PDF_Office.ViewModels
             PreViewCommand = new DelegateCommand(undo);
 
             NextViewCommnad = new DelegateCommand(redo);
+            InitString();
         }
 
         private void undo()

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

@@ -56,9 +56,9 @@ namespace PDF_Office.ViewModels
         }
         private void InitString()
         {
-            T_OpenFiles= App.MainPageLoader.GetString("Home_OpenFiles");
-            T_CreatePDF = App.MainPageLoader.GetString("Home_CreatePDF");
-            T_CreatePDFToNew = App.MainPageLoader.GetString("Home_CreateToNew");
+            T_OpenFiles= App.HomePageLoader.GetString("Home_OpenFiles");
+            T_CreatePDF = App.HomePageLoader.GetString("Home_CreatePDF");
+            T_CreatePDFToNew = App.HomePageLoader.GetString("Home_CreateToNew");
         }
 
         #endregion

+ 21 - 1
PDF Office/ViewModels/HomePanel/PDFTools/QuickToolsContentViewModel.cs

@@ -25,6 +25,26 @@ namespace PDF_Office.ViewModels.HomePanel.PDFTools
 {
     public class QuickToolsContentViewModel : BindableBase
     {
+        #region 文案
+
+        private string T_title;
+
+        public string T_Title
+        {
+            get { return T_title; }
+            set
+            {
+                SetProperty(ref T_title, value);
+            }
+        }
+
+
+        private void InitString()
+        {
+            T_Title = App.HomePageLoader.GetString("HomeTool_Title");
+        }
+
+        #endregion
         #region 属性
         /// <summary>
         /// 扩展/收缩
@@ -70,7 +90,7 @@ namespace PDF_Office.ViewModels.HomePanel.PDFTools
 
             InitVariable();
             InitCommand();
-            
+            InitString();
         }
 
         #region 初始化和绑定

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

@@ -82,11 +82,11 @@ namespace PDF_Office.ViewModels.HomePanel.RecentFiles
 
         private void InitString()
         {
-            T_Title = App.MainPageLoader.GetString("HomeList_Title");
-            T_MenuShow = App.MainPageLoader.GetString("HomeList_MenuShow");
-            T_MenuRemove = App.MainPageLoader.GetString("HomeList_MenuRemove");
-            T_NoFilesTitle = App.MainPageLoader.GetString("HomeList_NoFilesTitle");
-            T_NoFilesContent = App.MainPageLoader.GetString("HomeList_NoFilesContent");
+            T_Title = App.HomePageLoader.GetString("HomeList_Title");
+            T_MenuShow = App.HomePageLoader.GetString("HomeList_MenuShow");
+            T_MenuRemove = App.HomePageLoader.GetString("HomeList_MenuRemove");
+            T_NoFilesTitle = App.HomePageLoader.GetString("HomeList_NoFilesTitle");
+            T_NoFilesContent = App.HomePageLoader.GetString("HomeList_NoFilesContent");
         }
 
         #endregion

+ 21 - 0
PDF Office/ViewModels/PropertyPanel/ViewModular/ReadViewContentViewModel.cs

@@ -17,6 +17,26 @@ namespace PDF_Office.ViewModels.PropertyPanel.ViewModular
 {
     public class ReadViewContentViewModel : BindableBase, INavigationAware
     {
+        #region 文案
+
+        private string T_ESCreadMode;
+
+        public string T_ESCReadMode
+        {
+            get { return T_ESCreadMode; }
+            set
+            {
+                SetProperty(ref T_ESCreadMode, value);
+            }
+        }
+
+
+        private void InitString()
+        {
+            T_ESCReadMode = App.MainPageLoader.GetString("GlobalTip_ESCReadMode");
+        }
+
+        #endregion
         public string ReadRegionName { get; set; }
         public string ReadModeRegionName { get; set; }
 
@@ -117,6 +137,7 @@ namespace PDF_Office.ViewModels.PropertyPanel.ViewModular
             ReadModeRegionName = RegionNames.ReadModePageRegionName;
             ReadModeContentVisibility = Visibility.Visible;
             RectangleReadModeVisibility = Visibility.Collapsed;
+            InitString();
         }
 
         public bool IsNavigationTarget(NavigationContext navigationContext)

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

@@ -23,6 +23,137 @@ namespace PDF_Office.ViewModels.PropertyPanel.ViewModular
 {
     public class ViewModularContentViewModel : BindableBase, INavigationAware
     {
+
+        #region 文案
+        private string T_title;
+
+        public string T_Title
+        {
+            get { return T_title; }
+            set
+            {
+                SetProperty(ref T_title, value);
+            }
+        }
+
+        private string T_modeTitle;
+
+        public string T_ModeTitle
+        {
+            get { return T_modeTitle; }
+            set
+            {
+                SetProperty(ref T_modeTitle, value);
+            }
+        }
+
+        private string T_single;
+
+        public string T_Single
+        {
+            get { return T_single; }
+            set
+            {
+                SetProperty(ref T_single, value);
+            }
+        }
+
+        private string T_two;
+
+        public string T_Two
+        {
+            get { return T_two; }
+            set
+            {
+                SetProperty(ref T_two, value);
+            }
+        }
+
+        private string T_book;
+
+        public string T_Book
+        {
+            get { return T_book; }
+            set
+            {
+                SetProperty(ref T_book, value);
+            }
+        }
+
+        private string T_read;
+
+        public string T_Read
+        {
+            get { return T_read; }
+            set
+            {
+                SetProperty(ref T_read, value);
+            }
+        }
+
+        private string T_full;
+
+        public string T_Full
+        {
+            get { return T_full; }
+            set
+            {
+                SetProperty(ref T_full, value);
+            }
+        }
+
+        private string T_continuousScroll;
+
+        public string T_ContinuousScroll
+        {
+            get { return T_continuousScroll; }
+            set
+            {
+                SetProperty(ref T_continuousScroll, value);
+            }
+        }
+
+        private string T_pageBreak;
+
+        public string T_PageBreak
+        {
+            get { return T_pageBreak; }
+            set
+            {
+                SetProperty(ref T_pageBreak, value);
+            }
+        }
+
+        private string T_rotateTitle;
+
+        public string T_RotateTitle
+        {
+            get { return T_rotateTitle; }
+            set
+            {
+                SetProperty(ref T_rotateTitle, value);
+            }
+        }
+
+
+
+        private void InitString()
+        {
+            T_Title = App.MainPageLoader.GetString("ViewProperties_Title");
+            T_ModeTitle = App.MainPageLoader.GetString("ViewProperties_Mode");
+            T_Single = App.MainPageLoader.GetString("ViewProperties_Single");
+            T_Two = App.MainPageLoader.GetString("ViewProperties_Two");
+            T_Book = App.MainPageLoader.GetString("ViewProperties_Book");
+            T_Read = App.MainPageLoader.GetString("ViewProperties_Read");
+            T_Full = App.MainPageLoader.GetString("ViewProperties_Full");
+            T_ContinuousScroll = App.MainPageLoader.GetString("ViewProperties_ContinuousScroll");
+            T_PageBreak = App.MainPageLoader.GetString("ViewProperties_PageBreak");
+            T_RotateTitle = App.MainPageLoader.GetString("ViewProperties_RotateTitle");
+        }
+
+
+        #endregion
+
         private IRegionManager region;
 
         private IDialogService dialogs;
@@ -146,6 +277,7 @@ namespace PDF_Office.ViewModels.PropertyPanel.ViewModular
 
         public ViewModularContentViewModel(IRegionManager regionManager, IDialogService dialogService)
         {
+            InitString();
             region = regionManager;
             dialogs = dialogService;
             //未显示时无法注册上Region名称,所以需要短暂显示
@@ -353,7 +485,7 @@ namespace PDF_Office.ViewModels.PropertyPanel.ViewModular
                 {
                     case "VerticalSplit":
                         ViewContentViewModel.EnterSplitMode(EventAggregators.SplitMode.Vertical);
-                        OpenFileInfo.LastSplitMode= ComPDFKitViewer.SplitMode.Vertical;
+                        OpenFileInfo.LastSplitMode = ComPDFKitViewer.SplitMode.Vertical;
                         break;
 
                     case "HorizontalSplit":

+ 1 - 1
PDF Office/Views/HomePanel/PDFTools/QuickToolsContent.xaml

@@ -64,7 +64,7 @@
             FontSize="20"
             FontWeight="SemiBold"
             LineHeight="28"
-            Text="Quick Tools" />
+            Text="{Binding T_Title}" />
 
 
         <StackPanel

+ 1 - 1
PDF Office/Views/PropertyPanel/ViewModular/ReadViewContent.xaml

@@ -34,7 +34,7 @@
                 x:Name="PressEscTip"
                 Padding="11"
                 Foreground="#FFFFFFFF"
-                Text="Enter reading mode, you can press ESC to exit"
+                Text="{Binding T_ESCReadMode}"
                 TextAlignment="Center" />
         </Border>
 

+ 10 - 10
PDF Office/Views/PropertyPanel/ViewModular/ViewModularContent.xaml

@@ -37,13 +37,13 @@
                 FontSize="14"
                 FontWeight="SemiBold"
                 Foreground="{StaticResource color.sys.text.neutral.lv1}"
-                Text="视图" />
+                Text="{Binding T_Title}" />
             <TextBlock
                 Name="txtDisplayMode"
                 Margin="16,16,0,14"
                 FontSize="12"
                 Foreground="{StaticResource color.sys.text.neutral.lv2}"
-                Text="显示模式" />
+                Text="{Binding T_ModeTitle}" />
 
             <Grid>
                 <Grid.ColumnDefinitions>
@@ -76,7 +76,7 @@
                     HorizontalAlignment="Center"
                     VerticalAlignment="Center"
                     Style="{StaticResource ViewMode_txtContext}"
-                    Text="单页" />
+                    Text="{Binding T_Single}" />
                 <RadioButton
                     Name="RBtnTwoPage"
                     Grid.Column="1"
@@ -100,7 +100,7 @@
                     HorizontalAlignment="Center"
                     VerticalAlignment="Center"
                     Style="{StaticResource ViewMode_txtContext}"
-                    Text="双页" />
+                    Text="{Binding T_Two}" />
                 <RadioButton
                     Name="RBtnBookMode"
                     Grid.Column="2"
@@ -124,7 +124,7 @@
                     HorizontalAlignment="Center"
                     VerticalAlignment="Center"
                     Style="{StaticResource ViewMode_txtContext}"
-                    Text="书本模式" />
+                    Text="{Binding T_Book}" />
             </Grid>
             <Grid Margin="0,8">
                 <Grid.ColumnDefinitions>
@@ -158,7 +158,7 @@
                     HorizontalAlignment="Center"
                     VerticalAlignment="Center"
                     Style="{StaticResource ViewMode_txtContext}"
-                    Text="阅读模式" />
+                    Text="{Binding T_Read}" />
 
                 <RadioButton
                     Name="RBtnFullScreen"
@@ -182,7 +182,7 @@
                     HorizontalAlignment="Center"
                     VerticalAlignment="Center"
                     Style="{StaticResource ViewMode_txtContext}"
-                    Text="全屏" />
+                    Text="{Binding T_Full}" />
             </Grid>
             <!--<Separator
             Width="248"
@@ -196,7 +196,7 @@
                 Margin="17,16,0,6"
                 VerticalContentAlignment="Center"
                 Command="{Binding ContinueCommand}"
-                Content="连续滚动"
+                Content="{Binding T_ContinuousScroll}"
                 FontFamily="Segoe UI"
                 FontSize="14"
                 IsChecked="{Binding IsContinue}" />
@@ -205,7 +205,7 @@
                 Margin="17,6,0,6"
                 VerticalContentAlignment="Center"
                 Command="{Binding PagesBreakCommand}"
-                Content="分页符"
+                Content="{Binding T_PageBreak}"
                 FontFamily="Segoe UI"
                 FontSize="14"
                 IsChecked="{Binding IsPagesBreak}" />
@@ -340,7 +340,7 @@
                 Margin="16,26,0,14"
                 FontSize="12"
                 Foreground="{StaticResource color.sys.text.neutral.lv2}"
-                Text="旋转" />
+                Text="{Binding T_RotateTitle}" />
             <StackPanel Margin="15,0,0,0" Orientation="Horizontal">
                 <Button
                     x:Name="btnRotateRight"

+ 2 - 1
PDF Office/Views/TipContent/ReadModelTip.xaml

@@ -5,6 +5,7 @@
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     xmlns:local="clr-namespace:PDF_Office.Views.TipContent"
     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+    xmlns:mainpage="clr-namespace:PDF_Office.Strings.MainPage"
     xmlns:prism="http://prismlibrary.com/"
     d:DesignHeight="450"
     d:DesignWidth="800"
@@ -21,7 +22,7 @@
                 x:Name="ReadModelTip1"
                 Padding="11"
                 Foreground="#FFFFFFFF"
-                Text="Exit reading mode"
+                Text="{x:Static mainpage:MainPage.GlobalTip_ExitReadMode}"
                 TextAlignment="Center" />
         </Border>
     </Grid>