Forráskód Böngészése

文案-注释工具部分

zhuyi 2 éve
szülő
commit
03c7cd4916
23 módosított fájl, 1296 hozzáadás és 49 törlés
  1. 10 9
      PDF Office/CustomControl/ColorDropBoxPop.xaml
  2. 3 2
      PDF Office/CustomControl/CompositeControl/ColorContent.xaml
  3. 2 1
      PDF Office/CustomControl/CompositeControl/SlidContentPop.xaml
  4. 159 0
      PDF Office/MultilingualResources/PDF Office.en.xlf
  5. 159 0
      PDF Office/MultilingualResources/PDF Office.zh-Hans.xlf
  6. 159 0
      PDF Office/MultilingualResources/PDF Office.zh-Hant.xlf
  7. 342 0
      PDF Office/Strings/MainPage/MainPage.Designer.cs
  8. 121 0
      PDF Office/Strings/MainPage/MainPage.resx
  9. 5 5
      PDF Office/Styles/ContextMenuStyle.xaml
  10. 97 0
      PDF Office/ViewModels/BOTA/AnnotationContentViewModel.cs
  11. 34 1
      PDF Office/ViewModels/BOTA/BookmarkContentViewModel.cs
  12. 82 0
      PDF Office/ViewModels/Dialog/BOTA/ScreenAnnotationDialogViewModel.cs
  13. 11 0
      PDF Office/ViewModels/PropertyPanel/AnnotPanel/FreehandAnnotPropertyViewModel.cs
  14. 46 0
      PDF Office/ViewModels/PropertyPanel/AnnotPanel/FreetextAnnotPropertyViewModel.cs
  15. 34 0
      PDF Office/ViewModels/PropertyPanel/AnnotPanel/LinkAnnotPropertyViewModel.cs
  16. 3 3
      PDF Office/ViewModels/PropertyPanel/AnnotPanel/TextAnnotPropertyViewModel.cs
  17. 7 7
      PDF Office/Views/BOTA/AnnotationContent.xaml
  18. 6 5
      PDF Office/Views/BOTA/BookmarkContent.xaml
  19. 6 6
      PDF Office/Views/Dialog/BOTA/ScreenAnnotationDialog.xaml
  20. 1 1
      PDF Office/Views/PropertyPanel/AnnotPanel/FreehandAnnotProperty.xaml
  21. 4 4
      PDF Office/Views/PropertyPanel/AnnotPanel/FreetextAnnotProperty.xaml
  22. 3 4
      PDF Office/Views/PropertyPanel/AnnotPanel/LinkAnnotProperty.xaml
  23. 2 1
      PDF Office/Views/PropertyPanel/AnnotPanel/TextAnnotProperty.xaml

+ 10 - 9
PDF Office/CustomControl/ColorDropBoxPop.xaml

@@ -5,6 +5,7 @@
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     xmlns:local="clr-namespace:PDF_Office.CustomControl"
     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+    xmlns:mainpage="clr-namespace:PDF_Office.Strings.MainPage"
     Width="194"
     Height="auto"
     d:DesignHeight="450"
@@ -50,9 +51,9 @@
                     VerticalAlignment="Bottom"
                     FontFamily="Segoe UI"
                     FontSize="14"
-                    LineHeight="20">
-                    Recently used color
-                </TextBlock>
+                    LineHeight="20"
+                    Text="{x:Static mainpage:MainPage.Palette_Recently}"
+                    />
                 <ListView
                     Name="RecentlyColorList"
                     Grid.Row="1"
@@ -80,9 +81,9 @@
                     Margin="8,5,0,1"
                     FontFamily="SegoeUI"
                     FontSize="14"
-                    LineHeight="20">
-                    Theme colors
-                </TextBlock>
+                    LineHeight="20"
+                    Text="{x:Static mainpage:MainPage.Palette_Color}"
+                    />
                 <ListView
                     Name="ThemeColorList"
                     Grid.Row="3"
@@ -182,9 +183,9 @@
                         Margin="0,0,0,8"
                         VerticalAlignment="Center"
                         FontFamily="Segoe UI"
-                        FontSize="14">
-                        Other Colors
-                    </TextBlock>
+                        FontSize="14"
+                        Text="{x:Static mainpage:MainPage.Palette_More}"
+                        />
                 </StackPanel>
             </Grid>
         </Border>

+ 3 - 2
PDF Office/CustomControl/CompositeControl/ColorContent.xaml

@@ -7,6 +7,7 @@
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     xmlns:local="clr-namespace:PDF_Office.CustomControl.CompositeControl"
     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+    xmlns:mainpage="clr-namespace:PDF_Office.Strings.MainPage"
     d:DesignHeight="450"
     d:DesignWidth="800"
     mc:Ignorable="d">
@@ -44,12 +45,12 @@
                 <MenuItem
                     Name="ChangeColorMenuItem"
                     Click="ChangeColorMenuItem_Click"
-                    Header="更改颜色"
+                    Header="{x:Static mainpage:MainPage.ColorMenuItem_Change}"
                     IsEnabled="True" />
                 <MenuItem
                     Name="BackColorMenuItem"
                     Click="BackColorMenuItem_Click"
-                    Header="恢复默认颜色"
+                    Header="{x:Static mainpage:MainPage.ColorMenuItem_Restore}"
                     IsEnabled="True" />
             </ContextMenu>
 

+ 2 - 1
PDF Office/CustomControl/CompositeControl/SlidContentPop.xaml

@@ -4,6 +4,7 @@
              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
              xmlns:local="clr-namespace:PDF_Office.CustomControl.CompositeControl"
+             xmlns:mainpage="clr-namespace:PDF_Office.Strings.MainPage"
              mc:Ignorable="d" 
              x:Name="usercontorls"
              d:DesignHeight="450" d:DesignWidth="800">
@@ -29,7 +30,7 @@
                 <RowDefinition Height="Auto"/>
                 <RowDefinition/>
             </Grid.RowDefinitions>
-            <TextBlock Text="toumingdu" Margin="8,12,0,0"/>
+            <TextBlock Text="{x:Static mainpage:MainPage.Opacity_Title}" Margin="8,12,0,0"/>
             <Grid Grid.Row="1">
                 <Grid.ColumnDefinitions>
                     <ColumnDefinition />

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

@@ -656,6 +656,165 @@ Drag files to reorder as you need.</target>
           <target state="new">Page {0}</target>
           <note from="MultilingualBuild" annotates="source" priority="2">第N页</note>
         </trans-unit>
+        <trans-unit id="Bookmark_EmptyContext" translate="yes" xml:space="preserve">
+          <source>Please right-click on the selected page and select "Add Bookmark", or click the "Add" button on the upper right to create a bookmark.</source>
+          <target state="new">Please right-click on the selected page and select "Add Bookmark", or click the "Add" button on the upper right to create a bookmark.</target>
+        </trans-unit>
+        <trans-unit id="Bookmark_EmptyTitle" translate="yes" xml:space="preserve">
+          <source>No Bookmarks</source>
+          <target state="new">No Bookmarks</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogClear" translate="yes" xml:space="preserve">
+          <source>Clear</source>
+          <target state="new">Clear</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogNo" translate="yes" xml:space="preserve">
+          <source>Cancel</source>
+          <target state="new">Cancel</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogYes" translate="yes" xml:space="preserve">
+          <source>Apply</source>
+          <target state="new">Apply</target>
+        </trans-unit>
+        <trans-unit id="Annotation_Title" translate="yes" xml:space="preserve">
+          <source>Annotation</source>
+          <target state="new">Annotation</target>
+        </trans-unit>
+        <trans-unit id="Annotation_EmptyContext" translate="yes" xml:space="preserve">
+          <source>All comments in this file will be displayed here.</source>
+          <target state="new">All comments in this file will be displayed here.</target>
+        </trans-unit>
+        <trans-unit id="Annotation_EmptyTitle" translate="yes" xml:space="preserve">
+          <source>No Annotations</source>
+          <target state="new">No Annotations</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuCollapse" translate="yes" xml:space="preserve">
+          <source>Collapse All</source>
+          <target state="new">Collapse All</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuCopyText" translate="yes" xml:space="preserve">
+          <source>Copy Text</source>
+          <target state="new">Copy Text</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuDelete" translate="yes" xml:space="preserve">
+          <source>Delete</source>
+          <target state="new">Delete</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuDeleteAll" translate="yes" xml:space="preserve">
+          <source>Delete All Anntations</source>
+          <target state="new">Delete All Anntations</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuExpand" translate="yes" xml:space="preserve">
+          <source>Expand All</source>
+          <target state="new">Expand All</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuExport" translate="yes" xml:space="preserve">
+          <source>Export Annotations to XFDX</source>
+          <target state="new">Export Annotations to XFDX</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">导出XFDF</note>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuImport" translate="yes" xml:space="preserve">
+          <source>Import Annotations</source>
+          <target state="new">Import Annotations</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">导入XFDF</note>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogAuthor" translate="yes" xml:space="preserve">
+          <source>Author</source>
+          <target state="new">Author</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogColor" translate="yes" xml:space="preserve">
+          <source>Color</source>
+          <target state="new">Color</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogStyle" translate="yes" xml:space="preserve">
+          <source>Style</source>
+          <target state="new">Style</target>
+        </trans-unit>
+        <trans-unit id="Link_Page" translate="yes" xml:space="preserve">
+          <source>Page</source>
+          <target state="new">Page</target>
+        </trans-unit>
+        <trans-unit id="Link_Title" translate="yes" xml:space="preserve">
+          <source>Link</source>
+          <target state="new">Link</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Copy" translate="yes" xml:space="preserve">
+          <source>Copy</source>
+          <target state="new">Copy</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Crop" translate="yes" xml:space="preserve">
+          <source>Crop</source>
+          <target state="new">Crop</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Output" translate="yes" xml:space="preserve">
+          <source>Output</source>
+          <target state="new">Output</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Print" translate="yes" xml:space="preserve">
+          <source>Print</source>
+          <target state="new">Print</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_ZoomArea" translate="yes" xml:space="preserve">
+          <source>Zoom to Selected Area</source>
+          <target state="new">Zoom to Selected Area</target>
+        </trans-unit>
+        <trans-unit id="ColorMenuItem_Change" translate="yes" xml:space="preserve">
+          <source>Change Color</source>
+          <target state="new">Change Color</target>
+        </trans-unit>
+        <trans-unit id="ColorMenuItem_Restore" translate="yes" xml:space="preserve">
+          <source>Restore Default Color</source>
+          <target state="new">Restore Default Color</target>
+        </trans-unit>
+        <trans-unit id="Palette_Color" translate="yes" xml:space="preserve">
+          <source>Color</source>
+          <target state="new">Color</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">调色板-主题颜色</note>
+        </trans-unit>
+        <trans-unit id="Palette_More" translate="yes" xml:space="preserve">
+          <source>More</source>
+          <target state="new">More</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">调色板-其他颜色</note>
+        </trans-unit>
+        <trans-unit id="Palette_Recently" translate="yes" xml:space="preserve">
+          <source>Recently Used</source>
+          <target state="new">Recently Used</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">调色板-最近使用的颜色</note>
+        </trans-unit>
+        <trans-unit id="Opacity_Title" translate="yes" xml:space="preserve">
+          <source>Opacity</source>
+          <target state="new">Opacity</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">点击水滴按钮打开的透明度弹窗标题</note>
+        </trans-unit>
+        <trans-unit id="Highlight_Title" translate="yes" xml:space="preserve">
+          <source>Highlight</source>
+          <target state="new">Highlight</target>
+        </trans-unit>
+        <trans-unit id="Strikethrough_Title" translate="yes" xml:space="preserve">
+          <source>Strikethrough</source>
+          <target state="new">Strikethrough</target>
+        </trans-unit>
+        <trans-unit id="Underline_Title" translate="yes" xml:space="preserve">
+          <source>Underline</source>
+          <target state="new">Underline</target>
+        </trans-unit>
+        <trans-unit id="Sample" translate="yes" xml:space="preserve">
+          <source>Sample</source>
+          <target state="new">Sample</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">高亮,删除线,下划线的示例文案</note>
+        </trans-unit>
+        <trans-unit id="FreeText_Fill" translate="yes" xml:space="preserve">
+          <source>Fill</source>
+          <target state="new">Fill</target>
+        </trans-unit>
+        <trans-unit id="FreeText_Font" translate="yes" xml:space="preserve">
+          <source>Font</source>
+          <target state="new">Font</target>
+        </trans-unit>
+        <trans-unit id="FreeText_Title" translate="yes" xml:space="preserve">
+          <source>Text</source>
+          <target state="new">Text</target>
+        </trans-unit>
       </group>
     </body>
   </file>

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

@@ -656,6 +656,165 @@ Drag files to reorder as you need.</target>
           <target state="new">Page {0}</target>
           <note from="MultilingualBuild" annotates="source" priority="2">第N页</note>
         </trans-unit>
+        <trans-unit id="Bookmark_EmptyContext" translate="yes" xml:space="preserve">
+          <source>Please right-click on the selected page and select "Add Bookmark", or click the "Add" button on the upper right to create a bookmark.</source>
+          <target state="new">Please right-click on the selected page and select "Add Bookmark", or click the "Add" button on the upper right to create a bookmark.</target>
+        </trans-unit>
+        <trans-unit id="Bookmark_EmptyTitle" translate="yes" xml:space="preserve">
+          <source>No Bookmarks</source>
+          <target state="new">No Bookmarks</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogClear" translate="yes" xml:space="preserve">
+          <source>Clear</source>
+          <target state="new">Clear</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogNo" translate="yes" xml:space="preserve">
+          <source>Cancel</source>
+          <target state="new">Cancel</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogYes" translate="yes" xml:space="preserve">
+          <source>Apply</source>
+          <target state="new">Apply</target>
+        </trans-unit>
+        <trans-unit id="Annotation_Title" translate="yes" xml:space="preserve">
+          <source>Annotation</source>
+          <target state="new">Annotation</target>
+        </trans-unit>
+        <trans-unit id="Annotation_EmptyContext" translate="yes" xml:space="preserve">
+          <source>All comments in this file will be displayed here.</source>
+          <target state="new">All comments in this file will be displayed here.</target>
+        </trans-unit>
+        <trans-unit id="Annotation_EmptyTitle" translate="yes" xml:space="preserve">
+          <source>No Annotations</source>
+          <target state="new">No Annotations</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuCollapse" translate="yes" xml:space="preserve">
+          <source>Collapse All</source>
+          <target state="new">Collapse All</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuCopyText" translate="yes" xml:space="preserve">
+          <source>Copy Text</source>
+          <target state="new">Copy Text</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuDelete" translate="yes" xml:space="preserve">
+          <source>Delete</source>
+          <target state="new">Delete</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuDeleteAll" translate="yes" xml:space="preserve">
+          <source>Delete All Anntations</source>
+          <target state="new">Delete All Anntations</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuExpand" translate="yes" xml:space="preserve">
+          <source>Expand All</source>
+          <target state="new">Expand All</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuExport" translate="yes" xml:space="preserve">
+          <source>Export Annotations to XFDX</source>
+          <target state="new">Export Annotations to XFDX</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">导出XFDF</note>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuImport" translate="yes" xml:space="preserve">
+          <source>Import Annotations</source>
+          <target state="new">Import Annotations</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">导入XFDF</note>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogAuthor" translate="yes" xml:space="preserve">
+          <source>Author</source>
+          <target state="new">Author</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogColor" translate="yes" xml:space="preserve">
+          <source>Color</source>
+          <target state="new">Color</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogStyle" translate="yes" xml:space="preserve">
+          <source>Style</source>
+          <target state="new">Style</target>
+        </trans-unit>
+        <trans-unit id="Link_Page" translate="yes" xml:space="preserve">
+          <source>Page</source>
+          <target state="new">Page</target>
+        </trans-unit>
+        <trans-unit id="Link_Title" translate="yes" xml:space="preserve">
+          <source>Link</source>
+          <target state="new">Link</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Copy" translate="yes" xml:space="preserve">
+          <source>Copy</source>
+          <target state="new">Copy</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Crop" translate="yes" xml:space="preserve">
+          <source>Crop</source>
+          <target state="new">Crop</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Output" translate="yes" xml:space="preserve">
+          <source>Output</source>
+          <target state="new">Output</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Print" translate="yes" xml:space="preserve">
+          <source>Print</source>
+          <target state="new">Print</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_ZoomArea" translate="yes" xml:space="preserve">
+          <source>Zoom to Selected Area</source>
+          <target state="new">Zoom to Selected Area</target>
+        </trans-unit>
+        <trans-unit id="ColorMenuItem_Change" translate="yes" xml:space="preserve">
+          <source>Change Color</source>
+          <target state="new">Change Color</target>
+        </trans-unit>
+        <trans-unit id="ColorMenuItem_Restore" translate="yes" xml:space="preserve">
+          <source>Restore Default Color</source>
+          <target state="new">Restore Default Color</target>
+        </trans-unit>
+        <trans-unit id="Palette_Color" translate="yes" xml:space="preserve">
+          <source>Color</source>
+          <target state="new">Color</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">调色板-主题颜色</note>
+        </trans-unit>
+        <trans-unit id="Palette_More" translate="yes" xml:space="preserve">
+          <source>More</source>
+          <target state="new">More</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">调色板-其他颜色</note>
+        </trans-unit>
+        <trans-unit id="Palette_Recently" translate="yes" xml:space="preserve">
+          <source>Recently Used</source>
+          <target state="new">Recently Used</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">调色板-最近使用的颜色</note>
+        </trans-unit>
+        <trans-unit id="Opacity_Title" translate="yes" xml:space="preserve">
+          <source>Opacity</source>
+          <target state="new">Opacity</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">点击水滴按钮打开的透明度弹窗标题</note>
+        </trans-unit>
+        <trans-unit id="Highlight_Title" translate="yes" xml:space="preserve">
+          <source>Highlight</source>
+          <target state="new">Highlight</target>
+        </trans-unit>
+        <trans-unit id="Strikethrough_Title" translate="yes" xml:space="preserve">
+          <source>Strikethrough</source>
+          <target state="new">Strikethrough</target>
+        </trans-unit>
+        <trans-unit id="Underline_Title" translate="yes" xml:space="preserve">
+          <source>Underline</source>
+          <target state="new">Underline</target>
+        </trans-unit>
+        <trans-unit id="Sample" translate="yes" xml:space="preserve">
+          <source>Sample</source>
+          <target state="new">Sample</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">高亮,删除线,下划线的示例文案</note>
+        </trans-unit>
+        <trans-unit id="FreeText_Fill" translate="yes" xml:space="preserve">
+          <source>Fill</source>
+          <target state="new">Fill</target>
+        </trans-unit>
+        <trans-unit id="FreeText_Font" translate="yes" xml:space="preserve">
+          <source>Font</source>
+          <target state="new">Font</target>
+        </trans-unit>
+        <trans-unit id="FreeText_Title" translate="yes" xml:space="preserve">
+          <source>Text</source>
+          <target state="new">Text</target>
+        </trans-unit>
       </group>
     </body>
   </file>

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

@@ -656,6 +656,165 @@ Drag files to reorder as you need.</target>
           <target state="new">Page {0}</target>
           <note from="MultilingualBuild" annotates="source" priority="2">第N页</note>
         </trans-unit>
+        <trans-unit id="Bookmark_EmptyContext" translate="yes" xml:space="preserve">
+          <source>Please right-click on the selected page and select "Add Bookmark", or click the "Add" button on the upper right to create a bookmark.</source>
+          <target state="new">Please right-click on the selected page and select "Add Bookmark", or click the "Add" button on the upper right to create a bookmark.</target>
+        </trans-unit>
+        <trans-unit id="Bookmark_EmptyTitle" translate="yes" xml:space="preserve">
+          <source>No Bookmarks</source>
+          <target state="new">No Bookmarks</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogClear" translate="yes" xml:space="preserve">
+          <source>Clear</source>
+          <target state="new">Clear</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogNo" translate="yes" xml:space="preserve">
+          <source>Cancel</source>
+          <target state="new">Cancel</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogYes" translate="yes" xml:space="preserve">
+          <source>Apply</source>
+          <target state="new">Apply</target>
+        </trans-unit>
+        <trans-unit id="Annotation_Title" translate="yes" xml:space="preserve">
+          <source>Annotation</source>
+          <target state="new">Annotation</target>
+        </trans-unit>
+        <trans-unit id="Annotation_EmptyContext" translate="yes" xml:space="preserve">
+          <source>All comments in this file will be displayed here.</source>
+          <target state="new">All comments in this file will be displayed here.</target>
+        </trans-unit>
+        <trans-unit id="Annotation_EmptyTitle" translate="yes" xml:space="preserve">
+          <source>No Annotations</source>
+          <target state="new">No Annotations</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuCollapse" translate="yes" xml:space="preserve">
+          <source>Collapse All</source>
+          <target state="new">Collapse All</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuCopyText" translate="yes" xml:space="preserve">
+          <source>Copy Text</source>
+          <target state="new">Copy Text</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuDelete" translate="yes" xml:space="preserve">
+          <source>Delete</source>
+          <target state="new">Delete</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuDeleteAll" translate="yes" xml:space="preserve">
+          <source>Delete All Anntations</source>
+          <target state="new">Delete All Anntations</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuExpand" translate="yes" xml:space="preserve">
+          <source>Expand All</source>
+          <target state="new">Expand All</target>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuExport" translate="yes" xml:space="preserve">
+          <source>Export Annotations to XFDX</source>
+          <target state="new">Export Annotations to XFDX</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">导出XFDF</note>
+        </trans-unit>
+        <trans-unit id="Annotation_MenuImport" translate="yes" xml:space="preserve">
+          <source>Import Annotations</source>
+          <target state="new">Import Annotations</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">导入XFDF</note>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogAuthor" translate="yes" xml:space="preserve">
+          <source>Author</source>
+          <target state="new">Author</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogColor" translate="yes" xml:space="preserve">
+          <source>Color</source>
+          <target state="new">Color</target>
+        </trans-unit>
+        <trans-unit id="Annotation_DialogStyle" translate="yes" xml:space="preserve">
+          <source>Style</source>
+          <target state="new">Style</target>
+        </trans-unit>
+        <trans-unit id="Link_Page" translate="yes" xml:space="preserve">
+          <source>Page</source>
+          <target state="new">Page</target>
+        </trans-unit>
+        <trans-unit id="Link_Title" translate="yes" xml:space="preserve">
+          <source>Link</source>
+          <target state="new">Link</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Copy" translate="yes" xml:space="preserve">
+          <source>Copy</source>
+          <target state="new">Copy</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Crop" translate="yes" xml:space="preserve">
+          <source>Crop</source>
+          <target state="new">Crop</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Output" translate="yes" xml:space="preserve">
+          <source>Output</source>
+          <target state="new">Output</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_Print" translate="yes" xml:space="preserve">
+          <source>Print</source>
+          <target state="new">Print</target>
+        </trans-unit>
+        <trans-unit id="ContentSelection_ZoomArea" translate="yes" xml:space="preserve">
+          <source>Zoom to Selected Area</source>
+          <target state="new">Zoom to Selected Area</target>
+        </trans-unit>
+        <trans-unit id="ColorMenuItem_Change" translate="yes" xml:space="preserve">
+          <source>Change Color</source>
+          <target state="new">Change Color</target>
+        </trans-unit>
+        <trans-unit id="ColorMenuItem_Restore" translate="yes" xml:space="preserve">
+          <source>Restore Default Color</source>
+          <target state="new">Restore Default Color</target>
+        </trans-unit>
+        <trans-unit id="Palette_Color" translate="yes" xml:space="preserve">
+          <source>Color</source>
+          <target state="new">Color</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">调色板-主题颜色</note>
+        </trans-unit>
+        <trans-unit id="Palette_More" translate="yes" xml:space="preserve">
+          <source>More</source>
+          <target state="new">More</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">调色板-其他颜色</note>
+        </trans-unit>
+        <trans-unit id="Palette_Recently" translate="yes" xml:space="preserve">
+          <source>Recently Used</source>
+          <target state="new">Recently Used</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">调色板-最近使用的颜色</note>
+        </trans-unit>
+        <trans-unit id="Opacity_Title" translate="yes" xml:space="preserve">
+          <source>Opacity</source>
+          <target state="new">Opacity</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">点击水滴按钮打开的透明度弹窗标题</note>
+        </trans-unit>
+        <trans-unit id="Highlight_Title" translate="yes" xml:space="preserve">
+          <source>Highlight</source>
+          <target state="new">Highlight</target>
+        </trans-unit>
+        <trans-unit id="Strikethrough_Title" translate="yes" xml:space="preserve">
+          <source>Strikethrough</source>
+          <target state="new">Strikethrough</target>
+        </trans-unit>
+        <trans-unit id="Underline_Title" translate="yes" xml:space="preserve">
+          <source>Underline</source>
+          <target state="new">Underline</target>
+        </trans-unit>
+        <trans-unit id="Sample" translate="yes" xml:space="preserve">
+          <source>Sample</source>
+          <target state="new">Sample</target>
+          <note from="MultilingualBuild" annotates="source" priority="2">高亮,删除线,下划线的示例文案</note>
+        </trans-unit>
+        <trans-unit id="FreeText_Fill" translate="yes" xml:space="preserve">
+          <source>Fill</source>
+          <target state="new">Fill</target>
+        </trans-unit>
+        <trans-unit id="FreeText_Font" translate="yes" xml:space="preserve">
+          <source>Font</source>
+          <target state="new">Font</target>
+        </trans-unit>
+        <trans-unit id="FreeText_Title" translate="yes" xml:space="preserve">
+          <source>Text</source>
+          <target state="new">Text</target>
+        </trans-unit>
       </group>
     </body>
   </file>

+ 342 - 0
PDF Office/Strings/MainPage/MainPage.Designer.cs

@@ -60,6 +60,150 @@ namespace PDF_Office.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Author 的本地化字符串。
+        /// </summary>
+        public static string Annotation_DialogAuthor {
+            get {
+                return ResourceManager.GetString("Annotation_DialogAuthor", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Clear 的本地化字符串。
+        /// </summary>
+        public static string Annotation_DialogClear {
+            get {
+                return ResourceManager.GetString("Annotation_DialogClear", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Color 的本地化字符串。
+        /// </summary>
+        public static string Annotation_DialogColor {
+            get {
+                return ResourceManager.GetString("Annotation_DialogColor", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Cancel 的本地化字符串。
+        /// </summary>
+        public static string Annotation_DialogNo {
+            get {
+                return ResourceManager.GetString("Annotation_DialogNo", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Style 的本地化字符串。
+        /// </summary>
+        public static string Annotation_DialogStyle {
+            get {
+                return ResourceManager.GetString("Annotation_DialogStyle", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Apply 的本地化字符串。
+        /// </summary>
+        public static string Annotation_DialogYes {
+            get {
+                return ResourceManager.GetString("Annotation_DialogYes", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 All comments in this file will be displayed here. 的本地化字符串。
+        /// </summary>
+        public static string Annotation_EmptyContext {
+            get {
+                return ResourceManager.GetString("Annotation_EmptyContext", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 No Annotations 的本地化字符串。
+        /// </summary>
+        public static string Annotation_EmptyTitle {
+            get {
+                return ResourceManager.GetString("Annotation_EmptyTitle", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Collapse All 的本地化字符串。
+        /// </summary>
+        public static string Annotation_MenuCollapse {
+            get {
+                return ResourceManager.GetString("Annotation_MenuCollapse", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Copy Text 的本地化字符串。
+        /// </summary>
+        public static string Annotation_MenuCopyText {
+            get {
+                return ResourceManager.GetString("Annotation_MenuCopyText", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Delete 的本地化字符串。
+        /// </summary>
+        public static string Annotation_MenuDelete {
+            get {
+                return ResourceManager.GetString("Annotation_MenuDelete", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Delete All Anntations 的本地化字符串。
+        /// </summary>
+        public static string Annotation_MenuDeleteAll {
+            get {
+                return ResourceManager.GetString("Annotation_MenuDeleteAll", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Expand All 的本地化字符串。
+        /// </summary>
+        public static string Annotation_MenuExpand {
+            get {
+                return ResourceManager.GetString("Annotation_MenuExpand", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Export Annotations to XFDX 的本地化字符串。
+        /// </summary>
+        public static string Annotation_MenuExport {
+            get {
+                return ResourceManager.GetString("Annotation_MenuExport", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Import Annotations 的本地化字符串。
+        /// </summary>
+        public static string Annotation_MenuImport {
+            get {
+                return ResourceManager.GetString("Annotation_MenuImport", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Annotation 的本地化字符串。
+        /// </summary>
+        public static string Annotation_Title {
+            get {
+                return ResourceManager.GetString("Annotation_Title", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Change Target Location 的本地化字符串。
         /// </summary>
@@ -78,6 +222,24 @@ namespace PDF_Office.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Please right-click on the selected page and select &quot;Add Bookmark&quot;, or click the &quot;Add&quot; button on the upper right to create a bookmark. 的本地化字符串。
+        /// </summary>
+        public static string Bookmark_EmptyContext {
+            get {
+                return ResourceManager.GetString("Bookmark_EmptyContext", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 No Bookmarks 的本地化字符串。
+        /// </summary>
+        public static string Bookmark_EmptyTitle {
+            get {
+                return ResourceManager.GetString("Bookmark_EmptyTitle", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Page {0} 的本地化字符串。
         /// </summary>
@@ -105,6 +267,96 @@ namespace PDF_Office.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Change Color 的本地化字符串。
+        /// </summary>
+        public static string ColorMenuItem_Change {
+            get {
+                return ResourceManager.GetString("ColorMenuItem_Change", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Restore Default Color 的本地化字符串。
+        /// </summary>
+        public static string ColorMenuItem_Restore {
+            get {
+                return ResourceManager.GetString("ColorMenuItem_Restore", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Copy 的本地化字符串。
+        /// </summary>
+        public static string ContentSelection_Copy {
+            get {
+                return ResourceManager.GetString("ContentSelection_Copy", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Crop 的本地化字符串。
+        /// </summary>
+        public static string ContentSelection_Crop {
+            get {
+                return ResourceManager.GetString("ContentSelection_Crop", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Output 的本地化字符串。
+        /// </summary>
+        public static string ContentSelection_Output {
+            get {
+                return ResourceManager.GetString("ContentSelection_Output", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Print 的本地化字符串。
+        /// </summary>
+        public static string ContentSelection_Print {
+            get {
+                return ResourceManager.GetString("ContentSelection_Print", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Zoom to Selected Area 的本地化字符串。
+        /// </summary>
+        public static string ContentSelection_ZoomArea {
+            get {
+                return ResourceManager.GetString("ContentSelection_ZoomArea", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Fill 的本地化字符串。
+        /// </summary>
+        public static string FreeText_Fill {
+            get {
+                return ResourceManager.GetString("FreeText_Fill", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Font 的本地化字符串。
+        /// </summary>
+        public static string FreeText_Font {
+            get {
+                return ResourceManager.GetString("FreeText_Font", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Text 的本地化字符串。
+        /// </summary>
+        public static string FreeText_Title {
+            get {
+                return ResourceManager.GetString("FreeText_Title", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Enter Read Mode, tap ESC to exit 的本地化字符串。
         /// </summary>
@@ -123,6 +375,33 @@ namespace PDF_Office.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Highlight 的本地化字符串。
+        /// </summary>
+        public static string Highlight_Title {
+            get {
+                return ResourceManager.GetString("Highlight_Title", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Page 的本地化字符串。
+        /// </summary>
+        public static string Link_Page {
+            get {
+                return ResourceManager.GetString("Link_Page", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Link 的本地化字符串。
+        /// </summary>
+        public static string Link_Title {
+            get {
+                return ResourceManager.GetString("Link_Title", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Add Files 的本地化字符串。
         /// </summary>
@@ -260,6 +539,15 @@ namespace PDF_Office.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Opacity 的本地化字符串。
+        /// </summary>
+        public static string Opacity_Title {
+            get {
+                return ResourceManager.GetString("Opacity_Title", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Add Item 的本地化字符串。
         /// </summary>
@@ -395,6 +683,42 @@ namespace PDF_Office.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Color 的本地化字符串。
+        /// </summary>
+        public static string Palette_Color {
+            get {
+                return ResourceManager.GetString("Palette_Color", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 More 的本地化字符串。
+        /// </summary>
+        public static string Palette_More {
+            get {
+                return ResourceManager.GetString("Palette_More", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Recently Used 的本地化字符串。
+        /// </summary>
+        public static string Palette_Recently {
+            get {
+                return ResourceManager.GetString("Palette_Recently", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   查找类似 Sample 的本地化字符串。
+        /// </summary>
+        public static string Sample {
+            get {
+                return ResourceManager.GetString("Sample", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Clear 的本地化字符串。
         /// </summary>
@@ -530,6 +854,15 @@ namespace PDF_Office.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Strikethrough 的本地化字符串。
+        /// </summary>
+        public static string Strikethrough_Title {
+            get {
+                return ResourceManager.GetString("Strikethrough_Title", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Thumbnails 的本地化字符串。
         /// </summary>
@@ -539,6 +872,15 @@ namespace PDF_Office.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 Underline 的本地化字符串。
+        /// </summary>
+        public static string Underline_Title {
+            get {
+                return ResourceManager.GetString("Underline_Title", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Book Mode 的本地化字符串。
         /// </summary>

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

@@ -117,6 +117,56 @@
   <resheader name="writer">
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
+  <data name="Annotation_DialogAuthor" xml:space="preserve">
+    <value>Author</value>
+  </data>
+  <data name="Annotation_DialogClear" xml:space="preserve">
+    <value>Clear</value>
+  </data>
+  <data name="Annotation_DialogColor" xml:space="preserve">
+    <value>Color</value>
+  </data>
+  <data name="Annotation_DialogNo" xml:space="preserve">
+    <value>Cancel</value>
+  </data>
+  <data name="Annotation_DialogStyle" xml:space="preserve">
+    <value>Style</value>
+  </data>
+  <data name="Annotation_DialogYes" xml:space="preserve">
+    <value>Apply</value>
+  </data>
+  <data name="Annotation_EmptyContext" xml:space="preserve">
+    <value>All comments in this file will be displayed here.</value>
+  </data>
+  <data name="Annotation_EmptyTitle" xml:space="preserve">
+    <value>No Annotations</value>
+  </data>
+  <data name="Annotation_MenuCollapse" xml:space="preserve">
+    <value>Collapse All</value>
+  </data>
+  <data name="Annotation_MenuCopyText" xml:space="preserve">
+    <value>Copy Text</value>
+  </data>
+  <data name="Annotation_MenuDelete" xml:space="preserve">
+    <value>Delete</value>
+  </data>
+  <data name="Annotation_MenuDeleteAll" xml:space="preserve">
+    <value>Delete All Anntations</value>
+  </data>
+  <data name="Annotation_MenuExpand" xml:space="preserve">
+    <value>Expand All</value>
+  </data>
+  <data name="Annotation_MenuExport" xml:space="preserve">
+    <value>Export Annotations to XFDX</value>
+    <comment>导出XFDF</comment>
+  </data>
+  <data name="Annotation_MenuImport" xml:space="preserve">
+    <value>Import Annotations</value>
+    <comment>导入XFDF</comment>
+  </data>
+  <data name="Annotation_Title" xml:space="preserve">
+    <value>Annotation</value>
+  </data>
   <data name="Bookmark_Change" xml:space="preserve">
     <value>Change Target Location</value>
     <comment>更改目标位置</comment>
@@ -124,6 +174,12 @@
   <data name="Bookmark_Delete" xml:space="preserve">
     <value>Delete</value>
   </data>
+  <data name="Bookmark_EmptyContext" xml:space="preserve">
+    <value>Please right-click on the selected page and select "Add Bookmark", or click the "Add" button on the upper right to create a bookmark.</value>
+  </data>
+  <data name="Bookmark_EmptyTitle" xml:space="preserve">
+    <value>No Bookmarks</value>
+  </data>
   <data name="Bookmark_PageN" xml:space="preserve">
     <value>Page {0}</value>
     <comment>第N页</comment>
@@ -134,6 +190,36 @@
   <data name="Bookmark_Title" xml:space="preserve">
     <value>Bookmark</value>
   </data>
+  <data name="ColorMenuItem_Change" xml:space="preserve">
+    <value>Change Color</value>
+  </data>
+  <data name="ColorMenuItem_Restore" xml:space="preserve">
+    <value>Restore Default Color</value>
+  </data>
+  <data name="ContentSelection_Copy" xml:space="preserve">
+    <value>Copy</value>
+  </data>
+  <data name="ContentSelection_Crop" xml:space="preserve">
+    <value>Crop</value>
+  </data>
+  <data name="ContentSelection_Output" xml:space="preserve">
+    <value>Output</value>
+  </data>
+  <data name="ContentSelection_Print" xml:space="preserve">
+    <value>Print</value>
+  </data>
+  <data name="ContentSelection_ZoomArea" xml:space="preserve">
+    <value>Zoom to Selected Area</value>
+  </data>
+  <data name="FreeText_Fill" xml:space="preserve">
+    <value>Fill</value>
+  </data>
+  <data name="FreeText_Font" xml:space="preserve">
+    <value>Font</value>
+  </data>
+  <data name="FreeText_Title" xml:space="preserve">
+    <value>Text</value>
+  </data>
   <data name="GlobalTip_ESCReadMode" xml:space="preserve">
     <value>Enter Read Mode, tap ESC to exit</value>
     <comment>进入阅读模式,提示可以按ESC退出</comment>
@@ -141,6 +227,15 @@
   <data name="GlobalTip_ExitReadMode" xml:space="preserve">
     <value>Exit Read Mode</value>
   </data>
+  <data name="Highlight_Title" xml:space="preserve">
+    <value>Highlight</value>
+  </data>
+  <data name="Link_Page" xml:space="preserve">
+    <value>Page</value>
+  </data>
+  <data name="Link_Title" xml:space="preserve">
+    <value>Link</value>
+  </data>
   <data name="Merge_AddFiles" xml:space="preserve">
     <value>Add Files</value>
   </data>
@@ -192,6 +287,10 @@ Drag files to reorder as you need.</value>
     <value>Rename</value>
     <comment>右键菜单-重命名</comment>
   </data>
+  <data name="Opacity_Title" xml:space="preserve">
+    <value>Opacity</value>
+    <comment>点击水滴按钮打开的透明度弹窗标题</comment>
+  </data>
   <data name="Outline_Add" xml:space="preserve">
     <value>Add Item</value>
   </data>
@@ -237,6 +336,22 @@ Drag files to reorder as you need.</value>
   <data name="Outline_Up" xml:space="preserve">
     <value>Promote</value>
   </data>
+  <data name="Palette_Color" xml:space="preserve">
+    <value>Color</value>
+    <comment>调色板-主题颜色</comment>
+  </data>
+  <data name="Palette_More" xml:space="preserve">
+    <value>More</value>
+    <comment>调色板-其他颜色</comment>
+  </data>
+  <data name="Palette_Recently" xml:space="preserve">
+    <value>Recently Used</value>
+    <comment>调色板-最近使用的颜色</comment>
+  </data>
+  <data name="Sample" xml:space="preserve">
+    <value>Sample</value>
+    <comment>高亮,删除线,下划线的示例文案</comment>
+  </data>
   <data name="Signatur_DialogClear" xml:space="preserve">
     <value>Clear</value>
   </data>
@@ -287,9 +402,15 @@ Drag files to reorder as you need.</value>
   <data name="Stamp_Title" xml:space="preserve">
     <value>Stamp</value>
   </data>
+  <data name="Strikethrough_Title" xml:space="preserve">
+    <value>Strikethrough</value>
+  </data>
   <data name="Thumbnails_Title" xml:space="preserve">
     <value>Thumbnails</value>
   </data>
+  <data name="Underline_Title" xml:space="preserve">
+    <value>Underline</value>
+  </data>
   <data name="ViewProperties_Book" xml:space="preserve">
     <value>Book Mode</value>
     <comment>书本模式</comment>

+ 5 - 5
PDF Office/Styles/ContextMenuStyle.xaml

@@ -65,7 +65,7 @@
 
         <MenuItem
             Name="BtnSnapCopy"
-            Header="复制"
+            Header="{x:Static mainpage:MainPage.ContentSelection_Copy}"
             IsEnabled="True">
             <!--<MenuItem.Icon>
             <Path Data="M5.24031 1.5H0.5V14.5H15.5V4H7.24031L5.24031 1.5ZM1.5 13.5V2.5H4.75969L6.75969 5H14.5V13.5H1.5ZM4 7.5H12V6.5H4V7.5Z" Fill="Black">
@@ -78,7 +78,7 @@
 
         <MenuItem
             Name="BtnSnapExport"
-            Header="导出"
+            Header="{x:Static mainpage:MainPage.ContentSelection_Output}"
             IsEnabled="True">
             <!--<MenuItem.Icon>
             <Path Data="M5.24031 1.5H0.5V14.5H15.5V4H7.24031L5.24031 1.5ZM1.5 13.5V2.5H4.75969L6.75969 5H14.5V13.5H1.5ZM4 7.5H12V6.5H4V7.5Z" Fill="Black">
@@ -94,7 +94,7 @@
 
         <MenuItem
             Name="BtnSnapCropping"
-            Header="裁剪"
+            Header="{x:Static mainpage:MainPage.ContentSelection_Crop}"
             IsEnabled="True">
             <!--<MenuItem.Icon>
             <Path Data="M5.24031 1.5H0.5V14.5H15.5V4H7.24031L5.24031 1.5ZM1.5 13.5V2.5H4.75969L6.75969 5H14.5V13.5H1.5ZM4 7.5H12V6.5H4V7.5Z" Fill="Black">
@@ -107,7 +107,7 @@
 
         <MenuItem
             Name="BtnSnapZoom"
-            Header="缩放至所选区域"
+            Header="{x:Static mainpage:MainPage.ContentSelection_ZoomArea}"
             IsEnabled="True">
             <!--<MenuItem.Icon>
             <Path Data="M5.24031 1.5H0.5V14.5H15.5V4H7.24031L5.24031 1.5ZM1.5 13.5V2.5H4.75969L6.75969 5H14.5V13.5H1.5ZM4 7.5H12V6.5H4V7.5Z" Fill="Black">
@@ -120,7 +120,7 @@
 
         <MenuItem
             Name="BtnSnapPrint"
-            Header="打印"
+            Header="{x:Static mainpage:MainPage.ContentSelection_Print}"
             IsEnabled="True">
             <!--<MenuItem.Icon>
             <Path Data="M5.24031 1.5H0.5V14.5H15.5V4H7.24031L5.24031 1.5ZM1.5 13.5V2.5H4.75969L6.75969 5H14.5V13.5H1.5ZM4 7.5H12V6.5H4V7.5Z" Fill="Black">

+ 97 - 0
PDF Office/ViewModels/BOTA/AnnotationContentViewModel.cs

@@ -60,6 +60,102 @@ namespace PDF_Office.ViewModels.BOTA
 {
     public class AnnotationContentViewModel : BindableBase, INavigationAware
     {
+        #region 文案
+
+
+        private string T_expand;
+
+        public string T_Expand
+        {
+            get { return T_expand; }
+            set
+            {
+                SetProperty(ref T_expand, value);
+            }
+        }
+        
+
+        private string T_collapse;
+
+        public string T_Collapse
+        {
+            get { return T_collapse; }
+            set
+            {
+                SetProperty(ref T_collapse, value);
+            }
+        }
+        
+
+        private string T_import;
+
+        public string T_Import
+        {
+            get { return T_import; }
+            set
+            {
+                SetProperty(ref T_import, value);
+            }
+        }
+
+        private string T_export;
+
+        public string T_Export
+        {
+            get { return T_export; }
+            set
+            {
+                SetProperty(ref T_export, value);
+            }
+        }
+
+        private string T_deleteAll;
+
+        public string T_DeleteAll
+        {
+            get { return T_deleteAll; }
+            set
+            {
+                SetProperty(ref T_deleteAll, value);
+            }
+        }
+
+        private string T_emptyTitle;
+
+        public string T_EmptyTitle
+        {
+            get { return T_emptyTitle; }
+            set
+            {
+                SetProperty(ref T_emptyTitle, value);
+            }
+        }
+
+        private string T_emptyContext;
+
+        public string T_EmptyContext
+        {
+            get { return T_emptyContext; }
+            set
+            {
+                SetProperty(ref T_emptyContext, value);
+            }
+        }
+
+
+        private void InitString()
+        {
+            T_Expand = App.MainPageLoader.GetString("Annotation_MenuExpand");
+            T_Collapse = App.MainPageLoader.GetString("Annotation_MenuCollapse");
+            T_Import = App.MainPageLoader.GetString("Annotation_MenuImport");
+            T_Export = App.MainPageLoader.GetString("Annotation_MenuExport");
+            T_DeleteAll = App.MainPageLoader.GetString("Annotation_MenuDeleteAll");
+            T_EmptyTitle = App.MainPageLoader.GetString("Annotation_EmptyTitle");
+            T_EmptyContext = App.MainPageLoader.GetString("Annotation_EmptyContext");
+        }
+
+        #endregion
+
         private ListBox listBox;
         private IRegionManager region;
         private IDialogService dialogs;
@@ -144,6 +240,7 @@ namespace PDF_Office.ViewModels.BOTA
             PageSortCommand = new DelegateCommand(PageSortEvent);
             TimeAscendingCommand = new DelegateCommand(TimeAscendingEvent);
             TimeDescendingCommand = new DelegateCommand(TimeDescendingEvent);
+            InitString();
         }
 
         public void HiddenAnnot()

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

@@ -42,6 +42,37 @@ namespace PDF_Office.ViewModels.BOTA
 {
     public class BookmarkContentViewModel : BindableBase, INavigationAware
     {
+        #region 文案
+
+        private string T_emptyTitle;
+
+        public string T_EmptyTitle
+        {
+            get { return T_emptyTitle; }
+            set
+            {
+                SetProperty(ref T_emptyTitle, value);
+            }
+        }
+
+        private string T_emptyContext;
+
+        public string T_EmptyContext
+        {
+            get { return T_emptyContext; }
+            set
+            {
+                SetProperty(ref T_emptyContext, value);
+            }
+        }
+
+        private void InitString()
+        {
+            T_EmptyTitle = App.MainPageLoader.GetString("Bookmark_EmptyTitle");
+            T_EmptyContext = App.MainPageLoader.GetString("Bookmark_EmptyContext");
+        }
+
+        #endregion
         #region 属性
 
         public bool isAddBookMark = false;
@@ -120,6 +151,7 @@ namespace PDF_Office.ViewModels.BOTA
             DeleteCommand = new DelegateCommand<object>(DelegateEvent);
             EditPageIndexCommand = new DelegateCommand<object>(EditPageIndexEvent);
             KeyDownCommand = new DelegateCommand<object>(KeyDownEvent);
+            InitString();
         }
 
         /// <summary>
@@ -312,8 +344,9 @@ namespace PDF_Office.ViewModels.BOTA
         /// <param name="obj"></param>
         private void AddBookmarkEvent(object obj)
         {
+            string info = App.MainPageLoader.GetString("Bookmark_PageN");
             int index = PDFViewer.CurrentIndex;
-            string mark = string.Format($"第{index + 1}页");
+            string mark = string.Format(info, (index + 1).ToString());
 
             System.Windows.Controls.ListView listView = obj as System.Windows.Controls.ListView;
             listView.SelectedItems.Clear();

+ 82 - 0
PDF Office/ViewModels/Dialog/BOTA/ScreenAnnotationDialogViewModel.cs

@@ -34,6 +34,87 @@ namespace PDF_Office.ViewModels.Dialog.BOTA
 {
     internal class ScreenAnnotationDialogViewModel : BindableBase, IDialogAware
     {
+        #region 文案
+
+        private string T_style;
+
+        public string T_Style
+        {
+            get { return T_style; }
+            set
+            {
+                SetProperty(ref T_style, value);
+            }
+        }
+
+        private string T_color;
+
+        public string T_Color
+        {
+            get { return T_color; }
+            set
+            {
+                SetProperty(ref T_color, value);
+            }
+        }
+
+        private string T_author;
+
+        public string T_Author
+        {
+            get { return T_author; }
+            set
+            {
+                SetProperty(ref T_author, value);
+            }
+        }
+
+        private string T_clear;
+
+        public string T_Clear
+        {
+            get { return T_clear; }
+            set
+            {
+                SetProperty(ref T_clear, value);
+            }
+        }
+
+        private string T_apply;
+
+        public string T_Apply
+        {
+            get { return T_apply; }
+            set
+            {
+                SetProperty(ref T_apply, value);
+            }
+        }
+
+        private string T_cancel;
+
+        public string T_Cancel
+        {
+            get { return T_cancel; }
+            set
+            {
+                SetProperty(ref T_cancel, value);
+            }
+        }
+
+
+        private void InitString()
+        {
+            T_Style = App.MainPageLoader.GetString("Annotation_DialogStyle");
+            T_Color = App.MainPageLoader.GetString("Annotation_DialogColor");
+            T_Author = App.MainPageLoader.GetString("Annotation_DialogAuthor");
+            T_Clear = App.MainPageLoader.GetString("Annotation_DialogClear");
+            T_Apply = App.MainPageLoader.GetString("Annotation_DialogYes");
+            T_Cancel = App.MainPageLoader.GetString("Annotation_DialogNo");
+        }
+
+
+        #endregion
         public string Title => "";
 
         public event Action<IDialogResult> RequestClose;
@@ -271,6 +352,7 @@ namespace PDF_Office.ViewModels.Dialog.BOTA
             CancelCommand = new DelegateCommand(CancelEvent);
             OkCommnad = new DelegateCommand<Object>(OkEvent);
             CleanCommand = new DelegateCommand<Object>(CleanEvent);
+            InitString();
         }
 
         private void Loaded(object obj)

+ 11 - 0
PDF Office/ViewModels/PropertyPanel/AnnotPanel/FreehandAnnotPropertyViewModel.cs

@@ -42,6 +42,16 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
 
     public class FreehandAnnotPropertyViewModel : BindableBase, INavigationAware
     {
+        #region 文案
+
+
+        private void InitSting()
+        {
+
+        }
+
+        #endregion
+
         #region 属性
         //手绘画笔橡皮擦的大小列表
         public List<ComboDataItem> PenSizeItems { get; protected set; }
@@ -99,6 +109,7 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
             SetEraserThickCommand = new DelegateCommand<object>(SelectEraserThickChanged);
             LineModeCheckedCommand = new DelegateCommand<object>(LineMode_Checked);
             SelectedOpacityValueCommand = new DelegateCommand<object>(SelectedOpacityValue);
+            InitSting();
 
             InitVariable();
         }

+ 46 - 0
PDF Office/ViewModels/PropertyPanel/AnnotPanel/FreetextAnnotPropertyViewModel.cs

@@ -22,6 +22,51 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
 {
     public class FreetextAnnotPropertyViewModel : BindableBase, INavigationAware
     {
+        #region 文案
+
+        private string T_title;
+
+        public string T_Title
+        {
+            get { return T_title; }
+            set
+            {
+                SetProperty(ref T_title, value);
+            }
+        }
+
+        private string T_font;
+
+        public string T_Font
+        {
+            get { return T_font; }
+            set
+            {
+                SetProperty(ref T_font, value);
+            }
+        }
+        
+        private string T_fill;
+
+        public string T_Fill
+        {
+            get { return T_fill; }
+            set
+            {
+                SetProperty(ref T_fill, value);
+            }
+        }
+
+
+        private void InitString()
+        {
+            T_Title = App.MainPageLoader.GetString("FreeText_Title");
+            T_Font = App.MainPageLoader.GetString("FreeText_Font");
+            T_Fill = App.MainPageLoader.GetString("FreeText_Fill");
+        }
+
+        #endregion
+
         private FontBoardVm _fontVm = new FontBoardVm(true);
         public FontBoardVm FontVm
         {
@@ -91,6 +136,7 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
 
         public FreetextAnnotPropertyViewModel()
         {
+            InitString();
             //文本设置
             //预设文本样式
             SelectedPresetFontCommand = new DelegateCommand(SelectedPresetFont);

+ 34 - 0
PDF Office/ViewModels/PropertyPanel/AnnotPanel/LinkAnnotPropertyViewModel.cs

@@ -38,6 +38,39 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
 {
     internal class LinkAnnotPropertyViewModel : BindableBase, INavigationAware
     {
+
+        #region 文案
+
+        private string T_title;
+
+        public string T_Title
+        {
+            get { return T_title; }
+            set
+            {
+                SetProperty(ref T_title, value);
+            }
+        }
+
+        private string T_page;
+
+        public string T_Page
+        {
+            get { return T_page; }
+            set
+            {
+                SetProperty(ref T_page, value);
+            }
+        }
+
+        private void InitString()
+        {
+            T_Title = App.MainPageLoader.GetString("Link_Title");
+            T_Page = App.MainPageLoader.GetString("Link_Page");
+        }
+
+        #endregion
+
         public AnnotAttribEvent AnnotAttribEvent { get; set; }
 
         private LinkAnnotArgs linkAnnotArgs;
@@ -489,6 +522,7 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
             ToggleButtonTabCommand = new DelegateCommand<object>(ToggleButtonTabSelected);
 
             isLoaded = true;
+            InitString();
         }
 
         private void PageWebTextKeyDown(object obj)

+ 3 - 3
PDF Office/ViewModels/PropertyPanel/AnnotPanel/TextAnnotPropertyViewModel.cs

@@ -158,13 +158,13 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
             switch (BasicVm.AnnotType)
             {
                 case AnnotArgsType.AnnotHighlight:
-                    BasicVm.AnnotTypeTitle = "高亮";
+                    BasicVm.AnnotTypeTitle = App.MainPageLoader.GetString("Highlight_Title");
                     break;
                 case AnnotArgsType.AnnotUnderline:
-                    BasicVm.AnnotTypeTitle = "下划线";
+                    BasicVm.AnnotTypeTitle = App.MainPageLoader.GetString("Underline_Title");
                     break;
                 case AnnotArgsType.AnnotStrikeout:
-                    BasicVm.AnnotTypeTitle = "删除线";
+                    BasicVm.AnnotTypeTitle = App.MainPageLoader.GetString("Strikethrough_Title");
                     break;
                 case AnnotArgsType.AnnotSquiggly:
                     BasicVm.AnnotTypeTitle = "波浪线";

+ 7 - 7
PDF Office/Views/BOTA/AnnotationContent.xaml

@@ -171,7 +171,7 @@
                     Margin="0,12,0,0"
                     FontFamily="Segoe UI"
                     FontSize="16"
-                    Text="No markup found"
+                    Text="{Binding T_EmptyTitle}"
                     TextAlignment="Center" />
                 <TextBlock
                     Name="txtEmpty2"
@@ -180,7 +180,7 @@
                     FontFamily="Segoe UI"
                     FontSize="16"
                     Foreground="#94989C"
-                    Text="All comments for this document will be displayed here."
+                    Text="{Binding T_EmptyContext}"
                     TextAlignment="Center"
                     TextWrapping="Wrap" />
             </StackPanel>
@@ -247,7 +247,7 @@
                                     Name="MenuExpandAll"
                                     Width="auto"
                                     Click="MenuExpandAll_Click"
-                                    Header="全部展开">
+                                    Header="{Binding T_Expand}">
                                     <MenuItem.Icon>
                                         <Border Background="Transparent" />
                                     </MenuItem.Icon>
@@ -255,7 +255,7 @@
                                 <MenuItem
                                     Name="MenuCollapseAll"
                                     Click="MenuCollapseAll_Click"
-                                    Header="全部折叠" />
+                                    Header="{Binding T_Collapse}" />
                                 <MenuItem Name="MenuSort" Visibility="Collapsed">
                                     <MenuItem.Header>
                                         <TextBlock Name="MenuSortText" Text="排序" />
@@ -306,15 +306,15 @@
                                 <MenuItem
                                     Name="MenuImport"
                                     Command="{Binding ImportCommentsCommand}"
-                                    Header="导入注释为XFDF格式" />
+                                    Header="{Binding T_Import}" />
                                 <MenuItem
                                     Name="MenuExport"
                                     Command="{Binding ExportCommentsCommand}"
-                                    Header="导出注释为XFDF格式" />
+                                    Header="{Binding T_Export}" />
                                 <MenuItem
                                     Name="MenuDeleteAll"
                                     Command="{Binding DeleteAllCommand}"
-                                    Header="删除所有注释" />
+                                    Header="{Binding T_DeleteAll}" />
                             </ContextMenu>
                         </Button.ContextMenu>
                     </Button>

+ 6 - 5
PDF Office/Views/BOTA/BookmarkContent.xaml

@@ -12,6 +12,7 @@
     xmlns:local="clr-namespace:PDF_Office.Views.BOTA"
     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     xmlns:prism="http://prismlibrary.com/"
+    xmlns:mainPageLoader="clr-namespace:PDF_Office.Strings.MainPage"
     d:DataContext="{d:DesignInstance Type=bota:BookmarkContentViewModel}"
     d:DesignHeight="450"
     d:DesignWidth="300"
@@ -92,12 +93,12 @@
                 <MenuItem
                     Click="MenuItemRename_Click"
                     CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=ContextMenu}, Path=PlacementTarget.DataContext}"
-                    Header="重命名" />
+                    Header="{x:Static mainPageLoader:MainPage.Bookmark_Rename}" />
                 <MenuItem
                     Command="{Binding DataContext.EditPageIndexCommand, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"
                     CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=ContextMenu}, Path=PlacementTarget.DataContext}"
-                    Header="更改目标位置" />
-                <MenuItem Click="MenuItemDeleteCommand_Click" Header="删除" />
+                    Header="{x:Static mainPageLoader:MainPage.Bookmark_Change}" />
+                <MenuItem Click="MenuItemDeleteCommand_Click" Header="{x:Static mainPageLoader:MainPage.Bookmark_Delete}" />
             </ContextMenu>
         </ResourceDictionary>
     </UserControl.Resources>
@@ -181,7 +182,7 @@
                 FontFamily="Segoe UI"
                 FontSize="14"
                 Foreground="{StaticResource color.sys.text.neutral.lv2}"
-                Text="No bookmark found"
+                Text="{Binding T_EmptyTitle}"
                 TextAlignment="Center" />
             <TextBlock
                 Name="txtEmpty2"
@@ -189,7 +190,7 @@
                 FontFamily="Segoe UI"
                 FontSize="14"
                 Foreground="{StaticResource color.sys.text.neutral.lv3}"
-                Text="Please right-click on the selected page and select Add Bookmark, or click the Add button on the upper right to create a bookmark."
+                Text="{Binding T_EmptyContext}"
                 TextAlignment="Center"
                 TextWrapping="Wrap" />
         </StackPanel>

+ 6 - 6
PDF Office/Views/Dialog/BOTA/ScreenAnnotationDialog.xaml

@@ -205,19 +205,19 @@
                     Margin="20,0"
                     FontSize="14"
                     FontWeight="Bold"
-                    Text="类型" />
+                    Text="{Binding T_Style}" />
                 <TextBlock
                     Grid.Row="2"
                     Margin="20,0"
                     FontSize="14"
                     FontWeight="Bold"
-                    Text="颜色" />
+                    Text="{Binding T_Color}" />
                 <TextBlock
                     Grid.Row="4"
                     Margin="20,0"
                     FontSize="14"
                     FontWeight="Bold"
-                    Text="作者" />
+                    Text="{Binding T_Author}" />
                 <WrapPanel
                     Name="WrapPanelIco"
                     Grid.Row="1"
@@ -527,7 +527,7 @@
                     Background="Transparent"
                     BorderBrush="Transparent"
                     Command="{Binding CleanCommand}"
-                    Content="清除"
+                    Content="{Binding T_Clear}"
                     FontFamily="Segoe UI"
                     FontSize="14"
                     Foreground=" #1770F4"
@@ -539,7 +539,7 @@
                         Margin="20,0,0,0"
                         HorizontalAlignment="Left"
                         Command="{Binding OkCommnad}"
-                        Content="确定"
+                        Content="{Binding T_Apply}"
                         FontFamily="Segoe UI"
                         FontSize="14"
                         Style="{StaticResource Btn.cta}" />
@@ -549,7 +549,7 @@
                         Margin="30,0,0,0"
                         HorizontalAlignment="Right"
                         Command="{Binding CancelCommand}"
-                        Content="取消"
+                        Content="{Binding T_Cancel}"
                         FontFamily="Segoe UI"
                         FontSize="14"
                         Style="{StaticResource Btn.cta}" />

+ 1 - 1
PDF Office/Views/PropertyPanel/AnnotPanel/FreehandAnnotProperty.xaml

@@ -9,7 +9,7 @@
               xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
              xmlns:prism="http://prismlibrary.com/"             
              xmlns:Convert="clr-namespace:PDF_Office.DataConvert"
-              xmlns:EraseThickConvert="clr-namespace:PDF_Office.ViewModels.PropertyPanel.AnnotPanel"
+              xmlns:EraseThickConvert="clr-namespace:PDF_Office.ViewModels.PropertyPanel.AnnotPanel" d:DataContext="{d:DesignInstance Type=EraseThickConvert:FreehandAnnotPropertyViewModel}"
              mc:Ignorable="d" 
              d:DesignHeight="450" d:DesignWidth="800">
     <UserControl.Resources>

+ 4 - 4
PDF Office/Views/PropertyPanel/AnnotPanel/FreetextAnnotProperty.xaml

@@ -10,7 +10,7 @@
              xmlns:prism="http://prismlibrary.com/"             
              prism:ViewModelLocator.AutoWireViewModel="True"
              xmlns:Convert="clr-namespace:PDF_Office.DataConvert"
-             xmlns:cus="clr-namespace:PDF_Office.CustomControl"
+             xmlns:cus="clr-namespace:PDF_Office.CustomControl" xmlns:annotpanel="clr-namespace:PDF_Office.ViewModels.PropertyPanel.AnnotPanel" d:DataContext="{d:DesignInstance Type=annotpanel:FreetextAnnotPropertyViewModel}"
              mc:Ignorable="d"
              d:DesignHeight="850" d:DesignWidth="800">
     <UserControl.Resources>
@@ -53,7 +53,7 @@
     </UserControl.Resources>
     <Grid Background="#F3F3F3">
         <StackPanel>
-            <TextBlock Name="AnnotTypeTitle" FontFamily="Segoe UI Semibold" FontWeight="SemiBold" FontSize="18" LineHeight="24" HorizontalAlignment="Left" Margin="10,8,0,0">Freetext</TextBlock>
+            <TextBlock Name="AnnotTypeTitle" FontFamily="Segoe UI Semibold" FontWeight="SemiBold" FontSize="18" LineHeight="24" HorizontalAlignment="Left" Margin="10,8,0,0" Text="{Binding T_Title}"/>
             <Border Width="228" Height="100" BorderThickness="1" CornerRadius="2" BorderBrush="#DDDDDD" Background="White" Margin="0,8,0,0"
                      Visibility="{Binding BasicVm.IsMultiSelected,Converter={StaticResource InvertBoolToVisibleConvert}}"
                     >
@@ -132,7 +132,7 @@
                         Margin="0,0,0,10" FontWeight="Normal" 
                         Foreground="{StaticResource color.sys.text.neutral.lv2}"
                         Style="{StaticResource PropertyHeaderLv2}"
-                        Text="文本" />
+                        Text="{Binding T_Font}" />
 
                 <StackPanel>
                     <CompositeControl:CustomComboControl
@@ -384,7 +384,7 @@
                     <RowDefinition Height="auto"/>
                     <RowDefinition/>
                 </Grid.RowDefinitions>
-                <TextBlock Text="Fill" FontWeight="Normal" Foreground="{StaticResource color.sys.text.neutral.lv2}" VerticalAlignment="Center"/>
+                <TextBlock Text="{Binding T_Fill}" FontWeight="Normal" Foreground="{StaticResource color.sys.text.neutral.lv2}" VerticalAlignment="Center"/>
                 <CompositeControl:SlidContent x:Name="layerThick" HorizontalAlignment="Right"
                                               InitValue="{Binding BasicVm.FillOpacity,Mode=OneWay}"
                     Visibility="{Binding BasicVm.IsMultiSelected,Converter={StaticResource InvertBoolToVisibleConvert}}"                           

+ 3 - 4
PDF Office/Views/PropertyPanel/AnnotPanel/LinkAnnotProperty.xaml

@@ -40,9 +40,8 @@
                 FontFamily="Segoe UI"
                 FontSize="14"
                 FontWeight="Bold"
-                LineHeight="24">
-                Link
-            </TextBlock>
+                LineHeight="24"
+                Text="{Binding T_Title}"/>
             <StackPanel
                 Name="ToggleButtonTab"
                 Margin="12,0,0,0"
@@ -177,7 +176,7 @@
                         FontWeight="Bold"
                         Foreground="{StaticResource color.sys.text.neutral.lv2}"
                         LineHeight="20"
-                        Text="Page" />
+                        Text="{Binding T_Page}" />
                     <StackPanel Orientation="Horizontal">
                         <CustomControl:TextBoxWithTip
                             x:Name="PageNumText"

+ 2 - 1
PDF Office/Views/PropertyPanel/AnnotPanel/TextAnnotProperty.xaml

@@ -12,6 +12,7 @@
              xmlns:AnnotPanel="clr-namespace:PDF_Office.ViewModels.PropertyPanel.AnnotPanel"
              d:DataContext="{d:DesignInstance Type=AnnotPanel:TextAnnotPropertyViewModel}"
              xmlns:Convert="clr-namespace:PDF_Office.ViewModels.PropertyPanel.AnnotPanel"
+             xmlns:mainpage="clr-namespace:PDF_Office.Strings.MainPage"
              xmlns:dataconvert="clr-namespace:PDF_Office.DataConvert"
              mc:Ignorable="d" 
              d:DesignHeight="450" d:DesignWidth="800">
@@ -54,7 +55,7 @@
                     <Rectangle Grid.Row="1" Grid.Column="1" VerticalAlignment="Bottom"  Height="2" StrokeThickness="2" HorizontalAlignment="Stretch" 
                                Stroke="{Binding BasicVm.FontColor}" Visibility="{Binding BasicVm.AnnotType,Converter={StaticResource AnnotArgsTypeConverter},ConverterParameter=AnnotUnderline}" />
 
-                    <TextBlock Name="SampleText" Padding="4,2,4,2" Grid.Row="1" Grid.Column="1" Text="Sample" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontFamily="Segoe UI" FontSize="18" >
+                    <TextBlock Name="SampleText" Padding="4,2,4,2" Grid.Row="1" Grid.Column="1" Text="{x:Static mainpage:MainPage.Sample}" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontFamily="Segoe UI" FontSize="18" >
                     </TextBlock>
                 </Grid>
             </Border>