瀏覽代碼

【2025】【综合】文案内容修改

niehaoyu 2 周之前
父節點
當前提交
b7e1b7c6f8
共有 18 個文件被更改,包括 47 次插入29 次删除
  1. 3 0
      PDF Office/KMComponentLibrary/KMComponentLibrary/View/Input/ComponentPasswordView/ComponentPasswordView.swift
  2. 16 11
      PDF Office/PDF Master/Class/PDFTools/AddPassword/View/KMSecurityContentView.swift
  3. 4 4
      PDF Office/PDF Master/Class/PDFTools/OCRNew/Controller/KMOCRPDFWindowController.xib
  4. 1 1
      PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/KMLinkViewController/KMLinkViewController.swift
  5. 1 1
      PDF Office/PDF Master/KMClass/KMPDFViewController/RightSideController/Views/EditPDF/KMEditPDFTextPropertyViewController.swift
  6. 2 2
      PDF Office/PDF Master/KMClass/KMPDFViewController/RightSideController/Views/OCR/Tool/Contoller/KMOCRController.xib
  7. 1 1
      PDF Office/PDF Master/KMClass/KMPDFViewController/RightSideController/Views/Signature/CreateSignWindowController/KMCreateSignWindowController.swift
  8. 1 1
      PDF Office/PDF Master/KMClass/PDFListView/WindowController/KMNPopAnnotationViewController.swift
  9. 1 0
      PDF Office/PDF Master/Strings/de.lproj/Localizable.strings
  10. 1 0
      PDF Office/PDF Master/Strings/es.lproj/Localizable.strings
  11. 1 0
      PDF Office/PDF Master/Strings/fr.lproj/Localizable.strings
  12. 1 0
      PDF Office/PDF Master/Strings/it.lproj/Localizable.strings
  13. 1 0
      PDF Office/PDF Master/Strings/ja.lproj/Localizable.strings
  14. 1 0
      PDF Office/PDF Master/Strings/nl.lproj/Localizable.strings
  15. 1 0
      PDF Office/PDF Master/Strings/pl.lproj/Localizable.strings
  16. 1 0
      PDF Office/PDF Master/Strings/ru.lproj/Localizable.strings
  17. 6 5
      PDF Office/PDF Master/Strings/zh-Hans.lproj/Localizable.strings
  18. 4 3
      PDF Office/PDF Master/Strings/zh-Hant.lproj/Localizable.strings

+ 3 - 0
PDF Office/KMComponentLibrary/KMComponentLibrary/View/Input/ComponentPasswordView/ComponentPasswordView.swift

@@ -110,7 +110,10 @@ public class ComponentPasswordView: ComponentBaseXibView {
         }
         
         self.inputField.stringValue = self.properties.text
+        self.inputField.placeholderString = self.properties.placeholderString
+        
         self.secureField.stringValue = self.properties.text
+        self.secureField.placeholderString = self.properties.placeholderString
         
         self.updatePWState(false)
          

+ 16 - 11
PDF Office/PDF Master/Class/PDFTools/AddPassword/View/KMSecurityContentView.swift

@@ -43,7 +43,15 @@ class KMSecurityContentView: BaseXibView {
     
     override func setup() {
         updateLanguage()
+        
         self.updateOwnerButtonState()
+        
+        openPwdCheckBox.setTarget(self, action: #selector(openPasswordButtonAction(_:)))
+
+        openPasswordView.delegate = self
+
+        ownerPasswordView.delegate = self
+
     }
     
     func updateLanguage() {
@@ -51,11 +59,10 @@ class KMSecurityContentView: BaseXibView {
         titleLabel.textColor = ComponentLibrary.shared.getComponentColorFromKey("colorText/1")
         titleLabel.font = ComponentLibrary.shared.getFontFromKey("mac/body-m-medium")
         
-        openPwdCheckBox.properties = ComponentCheckBoxProperty(size: .s, state: .normal, showhelp: true, text: KMLocalizedString("Require a password to open the document", comment: ""), checkboxType: .normal)
+        openPwdCheckBox.properties = ComponentCheckBoxProperty(size: .s, state: .normal, showhelp: true, text: KMLocalizedString("Open Password", comment: ""), checkboxType: .normal)
         openPwdCheckBox.properties.propertyInfo.maxWidth = CGRectGetWidth(self.frame) - 48
         openPwdCheckBox.properties = openPwdCheckBox.properties
-        openPwdCheckBox.setTarget(self, action: #selector(openPasswordButtonAction(_:)))
-        openPwdCheckBox.toolTip = KMLocalizedString("Here is the error message description.")
+        openPwdCheckBox.toolTip = KMLocalizedString("Require a password to open the document")
         openPwdCheckBox.reloadData()
         
         openPwdCheckBoxWidthConstraint.constant = openPwdCheckBox.properties.propertyInfo.viewWidth
@@ -64,27 +71,25 @@ class KMSecurityContentView: BaseXibView {
         openPasswordView.properties = ComponentPasswordProperty(size: .m,
                                                                 state: .normal,
                                                                 isError: false,
-                                                                placeholderString: "Please enter password",
+                                                                placeholderString: KMLocalizedString("Please enter password"),
                                                                 text: "",
                                                                 isDisabled: false,
-                                                                errorText: "Here is the error message description.")
-        openPasswordView.delegate = self
+                                                                errorText: "")
         openPasswordView.reloadData()
         
-        ownerPwdCheckBox.properties = ComponentCheckBoxProperty(size: .s, state: .normal, showhelp: true, text: KMLocalizedString("Restrict printing and copying of the document", comment: ""), checkboxType: .normal)
+        ownerPwdCheckBox.properties = ComponentCheckBoxProperty(size: .s, state: .normal, showhelp: true, text: KMLocalizedString("Permission Password", comment: ""), checkboxType: .normal)
         ownerPwdCheckBox.properties.propertyInfo.maxWidth = CGRectGetWidth(self.frame) - 48
         ownerPwdCheckBox.properties = ownerPwdCheckBox.properties
-        ownerPwdCheckBox.toolTip = KMLocalizedString("Here is the error message description.")
+        ownerPwdCheckBox.toolTip = KMLocalizedString("Restrict printing and copying of the document")
         ownerPwdCheckBox.setTarget(self, action: #selector(ownerPaasswordButtonAction(_:)))
         
         ownerPasswordView.properties = ComponentPasswordProperty(size: .m,
                                                                  state: .normal,
                                                                  isError: false,
-                                                                 placeholderString: "Please enter password",
+                                                                 placeholderString: KMLocalizedString("Please enter password"),
                                                                  text: "",
                                                                  isDisabled: false,
-                                                                 errorText: "Here is the error message description.")
-        ownerPasswordView.delegate = self
+                                                                 errorText: KMLocalizedString(""))
         ownerPwdCheckBoxWidthConstraint.constant = ownerPwdCheckBox.properties.propertyInfo.viewWidth
         ownerPwdCheckBoxHeightConstraint.constant = ownerPwdCheckBox.properties.propertyInfo.viewHeight
         

+ 4 - 4
PDF Office/PDF Master/Class/PDFTools/OCRNew/Controller/KMOCRPDFWindowController.xib

@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="23504" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23504"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
         <capability name="System colors introduced in macOS 10.14" minToolsVersion="10.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
@@ -44,7 +44,7 @@
             <windowStyleMask key="styleMask" titled="YES" closable="YES"/>
             <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
             <rect key="contentRect" x="196" y="240" width="648" height="622"/>
-            <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1415"/>
+            <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
             <view key="contentView" wantsLayer="YES" id="se5-gp-TjO">
                 <rect key="frame" x="0.0" y="0.0" width="648" height="622"/>
                 <autoresizingMask key="autoresizingMask"/>
@@ -269,7 +269,7 @@ Please try to change the OCR Plan to “Plan 2 (Offline)”</string>
                                     <rect key="frame" x="161" y="35" width="395" height="25"/>
                                     <popUpButtonCell key="cell" type="push" title="Item 3" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="cNL-S3-gJw" id="ZzG-hZ-YtK">
                                         <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
-                                        <font key="font" metaFont="message"/>
+                                        <font key="font" metaFont="menu"/>
                                         <menu key="menu" id="OnY-X5-N8e">
                                             <items>
                                                 <menuItem title="Item 1" id="qEm-O8-rTN"/>

+ 1 - 1
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/KMLinkViewController/KMLinkViewController.swift

@@ -58,7 +58,7 @@ import KMComponentLibrary
     var multiController: KMNAlignmentController = KMNAlignmentController.init() //注释多选界面
     
     let pageProperty = ComponentTabsProperty(tabsType: .underline_Fill, state: .normal, showIcon: false, title: KMLocalizedString("Page", comment: ""))
-    let webProperty = ComponentTabsProperty(tabsType: .underline_Fill, state: .normal, showIcon: false, title: KMLocalizedString("Web", comment: ""))
+    let webProperty = ComponentTabsProperty(tabsType: .underline_Fill, state: .normal, showIcon: false, title: KMLocalizedString("Hyperlink", comment: ""))
     let emailProperty = ComponentTabsProperty(tabsType: .underline_Fill, state: .normal, showIcon: false, title: KMLocalizedString("Email", comment: ""))
     
     weak open var delegate: KMLinkViewControllerDelegate?

+ 1 - 1
PDF Office/PDF Master/KMClass/KMPDFViewController/RightSideController/Views/EditPDF/KMEditPDFTextPropertyViewController.swift

@@ -206,7 +206,7 @@ class KMEditPDFTextPropertyViewController: KMNBaseViewController {
         fontLabel.font = ComponentLibrary.shared.getFontFromKey("mac/body-s-medium")
          
         //Color
-        colorLabel.stringValue = KMLocalizedString("Font")
+        colorLabel.stringValue = KMLocalizedString("Color")
         colorLabel.textColor = ComponentLibrary.shared.getComponentColorFromKey("colorText/2")
         colorLabel.font = ComponentLibrary.shared.getFontFromKey("mac/body-s-medium")
         

+ 2 - 2
PDF Office/PDF Master/KMClass/KMPDFViewController/RightSideController/Views/OCR/Tool/Contoller/KMOCRController.xib

@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="23504" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23504"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>

+ 1 - 1
PDF Office/PDF Master/KMClass/KMPDFViewController/RightSideController/Views/Signature/CreateSignWindowController/KMCreateSignWindowController.swift

@@ -130,7 +130,7 @@ class KMCreateSignWindowController: KMNBaseWindowController {
         contendView.wantsLayer = true
         contendView.layer?.backgroundColor = ComponentLibrary.shared.getComponentColorFromKey("colorBg/popup").cgColor
         
-        titleLabel.stringValue = KMLocalizedString("Create Stamp")
+        titleLabel.stringValue = KMLocalizedString("Create Sign")
         titleLabel.textColor = ComponentLibrary.shared.getComponentColorFromKey("colorText/1")
         titleLabel.font = ComponentLibrary.shared.getFontFromKey("mac/body-m-medium")
         

+ 1 - 1
PDF Office/PDF Master/KMClass/PDFListView/WindowController/KMNPopAnnotationViewController.swift

@@ -548,7 +548,7 @@ class KMNPopAnnotationViewController: KMNBaseViewController {
                                                            state: .normal,
                                                            onlyIcon: false,
                                                            showLeftIcon:true,
-                                                           buttonText:KMLocalizedString("Web"),
+                                                           buttonText:KMLocalizedString("Hyperlink"),
                                                            icon:NSImage(named: "KMNImageNameListViewLinkUrl"),keepPressState: false)
         
         emailLinkButton.properties = ComponentButtonProperty(type: .text_gray,

+ 1 - 0
PDF Office/PDF Master/Strings/de.lproj/Localizable.strings

@@ -446,6 +446,7 @@
 "Restrict document printing" = "Dokumentdruck einschränken";
 "Restrict content copying" = "Einschränken des Kopierens des Inhalts";
 "Open Password:" = "Passwort öffnen:";
+"Open Password" = "Passwort öffnen";
 "Owner Password:" = "Eigentümer Passwort:";
 "Please select one file for removal!" = "Bitte wählen Sie eine Datei zum Entfernen aus!";
 "Please select at least one encryption level." = "Bitte wählen Sie mindestens eine Verschlüsselungsstufe.";

+ 1 - 0
PDF Office/PDF Master/Strings/es.lproj/Localizable.strings

@@ -446,6 +446,7 @@
 "Restrict document printing" = "Restringir la impresión de documentos";
 "Restrict content copying" = "Restringir la copia del contenido";
 "Open Password:" = "Abra la contraseña:";
+"Open Password" = "Abra la contraseña";
 "Owner Password:" = "Contraseña del propietario:";
 "Please select one file for removal!" = "¡Seleccione un archivo para la eliminación!";
 "Please select at least one encryption level." = "Seleccione al menos un nivel de cifrado.";

+ 1 - 0
PDF Office/PDF Master/Strings/fr.lproj/Localizable.strings

@@ -446,6 +446,7 @@
 "Restrict document printing" = "Restreindre l'impression de documents";
 "Restrict content copying" = "Restreindre la copie du contenu";
 "Open Password:" = "Mot de passe ouvert:";
+"Open Password" = "Mot de passe ouvert";
 "Owner Password:" = "Mot de passe du propriétaire:";
 "Please select one file for removal!" = "Veuillez sélectionner un fichier pour le retrait!";
 "Please select at least one encryption level." = "Veuillez sélectionner au moins un niveau de chiffrement.";

+ 1 - 0
PDF Office/PDF Master/Strings/it.lproj/Localizable.strings

@@ -446,6 +446,7 @@
 "Restrict document printing" = "Limitare la stampa dei documenti";
 "Restrict content copying" = "Limitare la copia dei contenuti";
 "Open Password:" = "Apri password:";
+"Open Password" = "Apri password";
 "Owner Password:" = "Password del proprietario:";
 "Please select one file for removal!" = "Seleziona un file per la rimozione!";
 "Please select at least one encryption level." = "Seleziona almeno un livello di crittografia.";

+ 1 - 0
PDF Office/PDF Master/Strings/ja.lproj/Localizable.strings

@@ -447,6 +447,7 @@
 "Restrict document printing" = "ドキュメント印刷を制限します";
 "Restrict content copying" = "コンテンツのコピーを制限します";
 "Open Password:" = "パスワードを開く:";
+"Open Password" = "パスワードを開く";
 "Owner Password:" = "所有者のパスワード:";
 "Please select one file for removal!" = "削除のために1つのファイルを選択してください!";
 "Please select at least one encryption level." = "少なくとも1つの暗号化レベルを選択してください。";

+ 1 - 0
PDF Office/PDF Master/Strings/nl.lproj/Localizable.strings

@@ -446,6 +446,7 @@
 "Restrict document printing" = "Beperk documentafdrukken";
 "Restrict content copying" = "Beperk inhoud kopiëren";
 "Open Password:" = "Open wachtwoord:";
+"Open Password" = "Open wachtwoord";
 "Owner Password:" = "Wachtwoord van de eigenaar:";
 "Please select one file for removal!" = "Selecteer een bestand voor verwijdering!";
 "Please select at least one encryption level." = "Selecteer ten minste één coderingsniveau.";

+ 1 - 0
PDF Office/PDF Master/Strings/pl.lproj/Localizable.strings

@@ -446,6 +446,7 @@
 "Restrict document printing" = "Ogranicz drukowanie dokumentów";
 "Restrict content copying" = "Ogranicz kopiowanie treści";
 "Open Password:" = "Otwarte hasło:";
+"Open Password" = "Otwarte hasło";
 "Owner Password:" = "Hasło właściciela:";
 "Please select one file for removal!" = "Wybierz jeden plik do usunięcia!";
 "Please select at least one encryption level." = "Wybierz co najmniej jeden poziom szyfrowania.";

+ 1 - 0
PDF Office/PDF Master/Strings/ru.lproj/Localizable.strings

@@ -446,6 +446,7 @@
 "Restrict document printing" = "Ограничить печать документа";
 "Restrict content copying" = "Ограничить копирование контента";
 "Open Password:" = "Откройте пароль:";
+"Open Password" = "Откройте пароль";
 "Owner Password:" = "Пароль владельца:";
 "Please select one file for removal!" = "Пожалуйста, выберите один файл для удаления!";
 "Please select at least one encryption level." = "Пожалуйста, выберите хотя бы один уровень шифрования.";

+ 6 - 5
PDF Office/PDF Master/Strings/zh-Hans.lproj/Localizable.strings

@@ -1294,6 +1294,7 @@
 "Restrict content copying" = "禁止复制";
 
 "Open Password:" = "文档开启密码:";
+"Open Password" = "文档开启密码";
 
 "Owner Password:" = "权限密码:";
 
@@ -2091,8 +2092,8 @@
 "Submit to URL" = "添加超链接";
 "Submit" = "提交";
 
-"Form" = "Form表单";
-"Forms" = "Form表单";
+"Form" = "创建表单";
+"Forms" = "创建表单";
 "Button" = "按钮";
 "Check Box" = "复选框";
 "Combo Box" = "下拉菜单";
@@ -2468,7 +2469,7 @@
 "Cell Size" = "单元格大小";
 "Headers & Footers" = "标题与表尾";
 "Borders & Colors" = "表格外框和颜色";
-"Fill" = "填充";
+"Fill" = "表单填写";
 "Scroll long text" = "滚动显示长文本";
 "Batch Remove Background" = "批量移除背景";
 "Batch Add Background" = "批量添加背景";
@@ -3605,8 +3606,8 @@
 "Take Screenshot" = "截屏";
 "From Window…" = "从窗口…";
 
-"Form" = "Form表单";
-"Forms" = "Form表单";
+"Form" = "创建表单";
+"Forms" = "创建表单";
 "Button" = "按钮";
 "Check Box" = "复选框";
 "Combo Box" = "下拉菜单";

+ 4 - 3
PDF Office/PDF Master/Strings/zh-Hant.lproj/Localizable.strings

@@ -1296,6 +1296,7 @@
 "Restrict content copying" = "禁止複製";
 
 "Open Password:" = "文件開啟密碼:";
+"Open Password" = "文件開啟密碼";
 
 "Owner Password:" = "文件權限密碼:";
 
@@ -2415,7 +2416,7 @@
 "Cell Size" = "單元格大小";
 "Headers & Footers" = "標題與表尾";
 "Borders & Colors" = "表格外框和顏色";
-"Fill" = "填充";
+"Fill" = "表单填写";
 "Scroll long text" = "滾動顯示長文本";
 "Batch Remove Background" = "批次移除背景";
 "Batch Add Background" = "批次插入背景";
@@ -3478,8 +3479,8 @@
 "Take Screenshot" = "拍攝螢幕快照";
 "From Window…" = "從視窗⋯";
 
-"Form" = "Form表格";
-"Forms" = "Form表格";
+"Form" = "创建表格";
+"Forms" = "创建表格";
 "Button" = "按鈕";
 "Check Box" = "複選框";
 "Combo Box" = "下拉菜單";