|
@@ -247,7 +247,7 @@ extension KMAccountInfoView: KMAccountInfoViewAction {
|
|
|
|
|
|
@IBAction func moreButtonAction(_ sender: NSButton) {
|
|
|
self.updateMoreButtonState(select: true)
|
|
|
- let vc: KMHomePopViewController = KMHomePopViewController().initWithPopViewDataArr([NSLocalizedString("Log out", comment: ""), NSLocalizedString("Cancellation", comment: "")])
|
|
|
+ let vc: KMHomePopViewController = KMHomePopViewController().initWithPopViewDataArr([NSLocalizedString("Log out", comment: ""), NSLocalizedString("Cancel", comment: "")])
|
|
|
let createFilePopover: NSPopover = NSPopover.init()
|
|
|
createFilePopover.contentViewController = vc
|
|
|
createFilePopover.delegate = self
|
|
@@ -259,7 +259,7 @@ extension KMAccountInfoView: KMAccountInfoViewAction {
|
|
|
// vc.customBoxWidthLayoutConstraint.constant = sender.frame.width
|
|
|
vc.downCallback = { [unowned self] (downEntered: Bool, count: String) -> Void in
|
|
|
if downEntered {
|
|
|
- if count == "Cancel" {
|
|
|
+ if count == NSLocalizedString("Cancel", comment: "") {
|
|
|
createFilePopover.close()
|
|
|
|
|
|
guard let callBack = self.cancellationAction else { return }
|