|
@@ -139,7 +139,14 @@ class KMToolbarViewController: NSViewController, NSTextFieldDelegate {
|
|
|
|
|
|
override func viewDidLoad() {
|
|
|
super.viewDidLoad()
|
|
|
+
|
|
|
self.zoomTextField.delegate = self
|
|
|
+
|
|
|
+ for item in self.zoomButton.itemArray {
|
|
|
+ let string = item.title
|
|
|
+ item.title = NSLocalizedString(string, comment: "")
|
|
|
+ }
|
|
|
+
|
|
|
NotificationCenter.default.addObserver(self, selector: #selector(listViewAnnotationTypeChangeNotification), name: Notification.Name("CPDFListViewAnnotationTypeChangeNotification"), object: nil)
|
|
|
NotificationCenter.default.addObserver(self, selector: #selector(listViewAnnotationTypeChangeNotification), name: Notification.Name("CPDFListViewToolModeChangeNotification"), object: nil)
|
|
|
}
|