|
@@ -643,10 +643,10 @@ extension KMRequestServerManager {
|
|
|
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.2, execute: { [unowned self] in
|
|
|
if loginAlert == nil {
|
|
|
loginAlert = NSAlert()
|
|
|
- loginAlert?.messageText = NSLocalizedString("请重新登录", comment: "")
|
|
|
- loginAlert?.informativeText = NSLocalizedString("您的账号已在其他设备登录,若非本人操作,请尽快修改您的账号密码", comment: "")
|
|
|
- loginAlert?.addButton(withTitle: NSLocalizedString("登录", comment: ""))
|
|
|
- loginAlert?.addButton(withTitle: NSLocalizedString("取消", comment: ""))
|
|
|
+ loginAlert?.messageText = NSLocalizedString("Please Log in again", comment: "")
|
|
|
+ loginAlert?.informativeText = NSLocalizedString("Your account has been logged into another device. If it was not done by you, please change your password as soon as possible.", comment: "")
|
|
|
+ loginAlert?.addButton(withTitle: NSLocalizedString("Change Password", comment: ""))
|
|
|
+ loginAlert?.addButton(withTitle: NSLocalizedString("Cancel", comment: ""))
|
|
|
var window = NSApp.mainWindow
|
|
|
if NSApp.mainWindow?.sheets.first != nil {
|
|
|
window = NSApp.mainWindow?.sheets.first
|