|
@@ -195,7 +195,7 @@ extension KMMainViewController {
|
|
|
}
|
|
|
|
|
|
func enterAnnotationStype() -> NSMenuItem {
|
|
|
- let stypItem = NSMenuItem(title: NSLocalizedString("Annotation", comment: ""), action: nil, target: self)
|
|
|
+ let stypItem = NSMenuItem(title: NSLocalizedString("Annotate", comment: ""), action: nil, target: self)
|
|
|
let stypeMenu = NSMenu()
|
|
|
if listView.currentSelection != nil && listView.currentSelection.selectionType() == .text {
|
|
|
_ = stypeMenu.addItem(withTitle: NSLocalizedString("Highlight", comment: ""), action: #selector(menuItemAnnotationClick_add), target: self, tag: 0)
|
|
@@ -204,7 +204,7 @@ extension KMMainViewController {
|
|
|
stypeMenu.addItem(NSMenuItem.separator())
|
|
|
}
|
|
|
// stypeMenu.addItem(withTitle: NSLocalizedString("Freehand", comment: ""), action: #selector(menuItemAnnotationClick_addStype), target: self, tag: 0)
|
|
|
- _ = stypeMenu.addItem(withTitle: NSLocalizedString("Text Box", comment: ""), action: #selector(menuItemAnnotationClick_addStype), target: self, tag: 1)
|
|
|
+ _ = stypeMenu.addItem(withTitle: NSLocalizedString("Text Note", comment: ""), action: #selector(menuItemAnnotationClick_addStype), target: self, tag: 1)
|
|
|
_ = stypeMenu.addItem(withTitle: NSLocalizedString("Anchored Note", comment: ""), action: #selector(menuItemAnnotationClick_addStype), target: self, tag: 2)
|
|
|
// stypeMenu.insertItem(NSMenuItem.separator(), at: 10000)
|
|
|
stypeMenu.addItem(NSMenuItem.separator())
|
|
@@ -344,8 +344,8 @@ extension KMMainViewController {
|
|
|
if dic.num == 100{
|
|
|
newStr = str.prefix(dic.indexN) + "..."
|
|
|
}
|
|
|
- newStr = "Look Up " + newStr
|
|
|
- let stypItem = NSMenuItem(title: NSLocalizedString(newStr, comment: ""), action: #selector(lookUpAction), target: self)
|
|
|
+ newStr = NSLocalizedString("Look Up ", comment: "") + "\"" + newStr + "\""
|
|
|
+ let stypItem = NSMenuItem(title: newStr, action: #selector(lookUpAction), target: self)
|
|
|
|
|
|
return stypItem
|
|
|
}
|
|
@@ -366,12 +366,12 @@ extension KMMainViewController {
|
|
|
return stypItem
|
|
|
}
|
|
|
func setColorsStype() -> NSMenuItem {
|
|
|
- let stypItem = NSMenuItem(title: NSLocalizedString("Colors...", comment: ""), action: #selector(ColorsItemAction), target: self)
|
|
|
+ let stypItem = NSMenuItem(title: NSLocalizedString("Colors", comment: ""), action: #selector(ColorsItemAction), target: self)
|
|
|
|
|
|
return stypItem
|
|
|
}
|
|
|
func setLinesStype() -> NSMenuItem {
|
|
|
- let stypItem = NSMenuItem(title: NSLocalizedString("Lines...", comment: ""), action: #selector(LinesItemAction), target: self)
|
|
|
+ let stypItem = NSMenuItem(title: NSLocalizedString("Lines", comment: ""), action: #selector(LinesItemAction), target: self)
|
|
|
|
|
|
return stypItem
|
|
|
}
|
|
@@ -419,9 +419,9 @@ extension KMMainViewController {
|
|
|
if dic.num == 100{
|
|
|
newStr = str.prefix(dic.indexN) + "..."
|
|
|
}
|
|
|
- newStr = "Translate " + newStr
|
|
|
+ newStr = NSLocalizedString("Translate", comment: "") + " \"" + newStr + "\""
|
|
|
|
|
|
- let stypItem = NSMenuItem(title: NSLocalizedString(newStr, comment: ""), action: #selector(TranslateItemAction), target: self)
|
|
|
+ let stypItem = NSMenuItem(title: newStr, action: #selector(TranslateItemAction), target: self)
|
|
|
|
|
|
return stypItem
|
|
|
}
|