Parcourir la source

【综合】补充多语

tangchao il y a 5 mois
Parent
commit
b4be121701

+ 1 - 1
PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/Annotation/Controller/KMNoteOutlineFilterViewController.swift

@@ -228,7 +228,7 @@ class KMNoteOutlineFilterViewController: NSViewController {
     @IBOutlet weak var mainScrollView: NSScrollView!
     
     lazy var stateLabel: NSTextField = {
-        let view = NSTextField(labelWithString: "State")
+        let view = NSTextField(labelWithString: NSLocalizedString("Note State", comment: ""))
         return view
     }()
     

+ 1 - 1
PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/Annotation/View/KMNoteFooterCellView.swift

@@ -127,7 +127,7 @@ class KMNoteFooterCellView: NSTableCellView, NibLoadable {
         self.replyButtonBox.borderWidth = 0
         self.replyButton.target = self
         self.replyButton.action = #selector(replyAction)
-        self.cancelButton.title = NSLocalizedString("Clear", comment: "")
+        self.cancelButton.title = NSLocalizedString("Cancel", comment: "")
         self.cancelButton.setTitleColor(color: KMAppearance.Layout.h2Color(), font: .SFProTextRegularFont(14))
         self.cancelButton.target = self
         self.cancelButton.action = #selector(cancelAction)

+ 7 - 6
PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/Annotation/View/KMNoteTableViewCell.swift

@@ -444,13 +444,14 @@ extension KMNoteTableViewCell {
 //                }
             } else {
                 self.annotationContentLabel.stringValue = noteString
-                self.imageViewHeightConstraint.constant = self.contentView.frame.size.height
-                self.isFold = isFold
-                if (noteString.isEmpty == false) {
+//                self.imageViewHeightConstraint.constant = self.contentView.frame.size.height
+//                self.isFold = isFold
+                self.foldButton.isHidden = false
+//                if (noteString.isEmpty == false) {
                     self.contentViewHidden(false)
-                } else {
-                    self.contentViewHidden(true)
-                }
+//                } else {
+//                    self.contentViewHidden(true)
+//                }
             }
         }
 

+ 2 - 0
PDF Office/PDF Master/Strings/ar.lproj/Localizable.strings

@@ -4731,3 +4731,5 @@
 "Delete All Reply" = "حذف كافة الردود";
 
 "Are you sure to delete all comment replies?" = "هل أنت متأكد من حذف جميع الردود على التعليقات؟";
+
+"Note State" = "ولاية";

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

@@ -3096,3 +3096,5 @@
 "Delete All Reply" = "Alle Antworten löschen";
 
 "Are you sure to delete all comment replies?" = "Sind Sie sicher, alle Kommentarantworten zu löschen?";
+
+"Note State" = "Zustand";

+ 2 - 0
PDF Office/PDF Master/Strings/en.lproj/Localizable.strings

@@ -4262,3 +4262,5 @@
 "Delete All Reply" = "Delete All Reply";
 
 "Are you sure to delete all comment replies?" = "Are you sure to delete all comment replies?";
+
+"Note State" = "State";

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

@@ -3179,3 +3179,5 @@
 
 "Are you sure to delete all comment replies?" = "¿Estás seguro de eliminar todas las respuestas a los comentarios?";
 
+"Note State" = "estado";
+

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

@@ -3060,3 +3060,5 @@
 "Delete All Reply" = "Supprimer toutes les réponses";
 
 "Are you sure to delete all comment replies?" = "Êtes-vous sûr de supprimer toutes les réponses aux commentaires ?";
+
+"Note State" = "État";

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

@@ -2974,3 +2974,5 @@
 "Delete All Reply" = "Elimina tutte le risposte";
 
 "Are you sure to delete all comment replies?" = "Sei sicuro di eliminare tutte le risposte ai commenti?";
+
+"Note State" = "stato";

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

@@ -3253,3 +3253,5 @@
 "Delete All Reply" = "すべての返信を削除する";
 
 "Are you sure to delete all comment replies?" = "コメント返信をすべて削除してもよろしいですか?";
+
+"Note State" = "州";

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

@@ -3133,3 +3133,5 @@
 "Delete All Reply" = "Verwijder alle antwoorden";
 
 "Are you sure to delete all comment replies?" = "Weet u zeker dat u alle reacties wilt verwijderen?";
+
+"Note State" = "staat";

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

@@ -3190,3 +3190,5 @@
 "Delete All Reply" = "Usuń wszystkie odpowiedzi";
 
 "Are you sure to delete all comment replies?" = "Czy na pewno chcesz usunąć wszystkie odpowiedzi na komentarze?";
+
+"Note State" = "państwo";

+ 2 - 0
PDF Office/PDF Master/Strings/pt.lproj/Localizable.strings

@@ -4652,3 +4652,5 @@
 "Delete All Reply" = "Excluir todas as respostas";
 
 "Are you sure to delete all comment replies?" = "Tem certeza de que deseja excluir todas as respostas aos comentários?";
+
+"Note State" = "estado";

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

@@ -3124,3 +3124,5 @@
 "Delete All Reply" = "Удалить все ответы";
 
 "Are you sure to delete all comment replies?" = "Вы уверены, что удалите все ответы на комментарии?";
+
+"Note State" = "состояние";

+ 2 - 0
PDF Office/PDF Master/Strings/zh-Hans.lproj/Localizable.strings

@@ -4164,3 +4164,5 @@
 "Delete All Reply" = "删除所有回复";
 
 "Are you sure to delete all comment replies?" = "确定删除所有注释回复?";
+
+"Note State" = "状态";

+ 2 - 0
PDF Office/PDF Master/Strings/zh-Hant.lproj/Localizable.strings

@@ -4294,3 +4294,5 @@
 "Delete All Reply" = "刪除所有回复";
 
 "Are you sure to delete all comment replies?" = "確定删除所有注釋回復?";
+
+"Note State" = "狀態";