소스 검색

编辑-文案补充

lvle 1 년 전
부모
커밋
9e8a42145f

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

@@ -2670,6 +2670,10 @@ Some functions may not work, please restart or re-download PDF Reader Pro from o
           <source>Please add your note</source>
           <target state="new">Please add your note</target>
         </trans-unit>
+        <trans-unit id="ViewTopToolbar_T_EditPDF" translate="yes" xml:space="preserve">
+          <source>EditPDF</source>
+          <target state="new">EditPDF</target>
+        </trans-unit>
       </group>
     </body>
   </file>

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

@@ -2670,6 +2670,10 @@ Some functions may not work, please restart or re-download PDF Reader Pro from o
           <source>Please add your note</source>
           <target state="new">Please add your note</target>
         </trans-unit>
+        <trans-unit id="ViewTopToolbar_T_EditPDF" translate="yes" xml:space="preserve">
+          <source>EditPDF</source>
+          <target state="new">EditPDF</target>
+        </trans-unit>
       </group>
     </body>
   </file>

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

@@ -2670,6 +2670,10 @@ Some functions may not work, please restart or re-download PDF Reader Pro from o
           <source>Please add your note</source>
           <target state="new">Please add your note</target>
         </trans-unit>
+        <trans-unit id="ViewTopToolbar_T_EditPDF" translate="yes" xml:space="preserve">
+          <source>EditPDF</source>
+          <target state="new">EditPDF</target>
+        </trans-unit>
       </group>
     </body>
   </file>

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

@@ -19,7 +19,7 @@ namespace PDF_Master.Strings.MainPage {
     // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
     // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
     // (以 /str 作为命令选项),或重新生成 VS 项目。
-    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
     [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
     public class MainPage {
@@ -4407,6 +4407,15 @@ namespace PDF_Master.Strings.MainPage {
             }
         }
         
+        /// <summary>
+        ///   查找类似 EditPDF 的本地化字符串。
+        /// </summary>
+        public static string ViewTopToolbar_T_EditPDF {
+            get {
+                return ResourceManager.GetString("ViewTopToolbar_T_EditPDF", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   查找类似 Tools 的本地化字符串。
         /// </summary>

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

@@ -1653,6 +1653,9 @@ Some functions may not work, please restart or re-download PDF Reader Pro from o
   <data name="ViewTopToolbar_Tools" xml:space="preserve">
     <value>Tools</value>
   </data>
+  <data name="ViewTopToolbar_T_EditPDF" xml:space="preserve">
+    <value>EditPDF</value>
+  </data>
   <data name="ViewTopToolbar_Undo" xml:space="preserve">
     <value>Undo</value>
   </data>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 38 - 38
PDF Office/Styles/ContextMenuTextEditStyle.xaml


+ 14 - 0
PDF Office/ViewModels/ViewContentViewModel.cs

@@ -188,7 +188,20 @@ namespace PDF_Master.ViewModels
                 SetProperty(ref T_properties, value);
             }
         }
+        private string _T_EditPDF;
 
+        public string T_EditPDF
+        {
+            get { return _T_EditPDF; }
+            set
+            {
+                SetProperty(ref _T_EditPDF, value);
+            }
+        }
+
+
+
+      
         private void InitStirng()
         {
             T_File = App.MainPageLoader.GetString("ViewTopToolbar_File");
@@ -197,6 +210,7 @@ namespace PDF_Master.ViewModels
             T_Redo = App.MainPageLoader.GetString("ViewTopToolbar_Redo");
             T_Annotation = App.MainPageLoader.GetString("ViewTopToolbar_Annotation");
             T_PageEdit = App.MainPageLoader.GetString("ViewTopToolbar_PageEdit");
+            T_EditPDF = App.MainPageLoader.GetString("ViewTopToolbar_T_EditPDF");
             T_Converter = App.MainPageLoader.GetString("ViewTopToolbar_Converter");
             T_FillSign = App.MainPageLoader.GetString("ViewTopToolbar_Fill&Sign");
             T_Tools = App.MainPageLoader.GetString("ViewTopToolbar_Tools");

+ 2 - 2
PDF Office/Views/PropertyPanel/PDFEdit/ImageEditProperty.xaml

@@ -39,7 +39,7 @@
                 FontSize="14"
                 FontWeight="SemiBold"
                 LineHeight="24">
-                Image
+                Edit Image
             </TextBlock>
             <Border
                 Width="228"
@@ -143,7 +143,7 @@
                         <Button
                             Height="32"
                             Command="{Binding CropImgCommand}"
-                            Content="Confirm Cut"
+                            Content="Crop"
                             FontSize="14"
                             Style="{StaticResource Btn.cta}" />
                         <Button

+ 1 - 1
PDF Office/Views/PropertyPanel/PDFEdit/TextEditProperty.xaml

@@ -54,7 +54,7 @@
                     FontSize="14"
                     FontWeight="SemiBold"
                     LineHeight="22">
-                    Freetext
+                    Edit Text
                 </TextBlock>
                 <Border
                     Width="228"

+ 1 - 1
PDF Office/Views/ViewContent.xaml

@@ -507,7 +507,7 @@
                     <cus:IconAndTextTabItem
                         x:Name="TabItemEdit"
                         Height="40"
-                        Header="编辑"
+                        Header="{Binding T_EditPDF}"
                         Style="{StaticResource ToolbarTabs}"
                         Visibility="Visible">
                         <Grid Grid.Row="1" Height="40" />