Installer // Add debug intel for certain NSAlert messages.

This commit is contained in:
ShikiSuen 2023-07-22 20:57:08 +08:00
parent b57c0ca117
commit dcff84c482
3 changed files with 4 additions and 7 deletions

View File

@ -146,13 +146,10 @@ extension AppDelegate {
let message = String( let message = String(
format: NSLocalizedString( format: NSLocalizedString(
"Cannot find input source %@ after registration.", comment: "" "Cannot find input source %@ after registration.", comment: ""
), ) + "(#D41J0U8U)",
imeIdentifier imeIdentifier
) )
runAlertPanel( NSLog(message)
title: NSLocalizedString("Fatal Error", comment: ""), message: message,
buttonTitle: NSLocalizedString("Abort", comment: "")
)
} }
} }

View File

@ -13,7 +13,7 @@
"Fatal Error" = "安装错误"; "Fatal Error" = "安装错误";
"Abort" = "放弃安装"; "Abort" = "放弃安装";
"Cannot register input source %@ at %@." = "无法从档案位置 %2$@ 安装输入法 \"%1$@\"。"; "Cannot register input source %@ at %@." = "无法从档案位置 %2$@ 安装输入法 \"%1$@\"。";
"Cannot find input source %@ after registration." = "在注册完输入法 \"%@\" 仍然无法找到输入法。"; "Cannot find input source %@ after registration." = "在注册完输入法 \"%@\" 之后仍然无法找到输入法。";
"Warning" = "安装不完整"; "Warning" = "安装不完整";
"Input method may not be fully enabled. Please enable it through System Preferences > Keyboard > Input Sources." = "输入法已经安装好,但可能没有完全启用。请从「系统偏好设定」 > 「键盘」 > 「输入方式」分页加入输入法。"; "Input method may not be fully enabled. Please enable it through System Preferences > Keyboard > Input Sources." = "输入法已经安装好,但可能没有完全启用。请从「系统偏好设定」 > 「键盘」 > 「输入方式」分页加入输入法。";
"Continue" = "继续"; "Continue" = "继续";

View File

@ -13,7 +13,7 @@
"Fatal Error" = "安裝錯誤"; "Fatal Error" = "安裝錯誤";
"Abort" = "放棄安裝"; "Abort" = "放棄安裝";
"Cannot register input source %@ at %@." = "無法從檔案位置 %2$@ 安裝輸入法 \"%1$@\"。"; "Cannot register input source %@ at %@." = "無法從檔案位置 %2$@ 安裝輸入法 \"%1$@\"。";
"Cannot find input source %@ after registration." = "在註冊完輸入法 \"%@\" 仍然無法找到輸入法。"; "Cannot find input source %@ after registration." = "在註冊完輸入法 \"%@\" 之後仍然無法找到輸入法。";
"Warning" = "安裝不完整"; "Warning" = "安裝不完整";
"Input method may not be fully enabled. Please enable it through System Preferences > Keyboard > Input Sources." = "輸入法已經安裝好,但可能沒有完全啟用。請從「系統偏好設定」 > 「鍵盤」 > 「輸入方式」分頁加入輸入法。"; "Input method may not be fully enabled. Please enable it through System Preferences > Keyboard > Input Sources." = "輸入法已經安裝好,但可能沒有完全啟用。請從「系統偏好設定」 > 「鍵盤」 > 「輸入方式」分頁加入輸入法。";
"Continue" = "繼續"; "Continue" = "繼續";