i18n // Fix the localization key name according to recent changes.
This commit is contained in:
parent
f75bafdd01
commit
df1a531c6c
|
@ -38,7 +38,7 @@ extension SessionCtl {
|
|||
// Caps Lock 通知與切換處理。
|
||||
if event.type == .flagsChanged, event.keyCode == KeyCode.kCapsLock.rawValue {
|
||||
let isCapsLockTurnedOn = event.modifierFlags.intersection(.deviceIndependentFlagsMask).contains(.capsLock)
|
||||
let status = NSLocalizedString("NotificationSwitchShift", comment: "")
|
||||
let status = NSLocalizedString("NotificationSwitchASCII", comment: "")
|
||||
Notifier.notify(
|
||||
message: isCapsLockTurnedOn
|
||||
? "Caps Lock" + NSLocalizedString("Alphanumerical Input Mode", comment: "") + "\n" + status
|
||||
|
@ -61,7 +61,7 @@ extension SessionCtl {
|
|||
if #available(macOS 10.15, *) {
|
||||
if Self.theShiftKeyDetector.check(event), !PrefMgr.shared.disableShiftTogglingAlphanumericalMode {
|
||||
if !shouldUseShiftToggleHandle || (!rencentKeyHandledByKeyHandlerEtc && shouldUseShiftToggleHandle) {
|
||||
let status = NSLocalizedString("NotificationSwitchShift", comment: "")
|
||||
let status = NSLocalizedString("NotificationSwitchASCII", comment: "")
|
||||
Notifier.notify(
|
||||
message: isASCIIMode.toggled()
|
||||
? NSLocalizedString("Alphanumerical Input Mode", comment: "") + "\n" + status
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"Force KangXi Writing" = "Force KangXi Writing";
|
||||
"NotificationSwitchON" = "✔ ON";
|
||||
"NotificationSwitchOFF" = "✘ OFF";
|
||||
"NotificationSwitchShift" = "↺ Switched";
|
||||
"NotificationSwitchASCII" = "↺ Switched";
|
||||
"Edit User Phrases…" = "Edit User Phrases…";
|
||||
"Reload User Phrases" = "Reload User Phrases";
|
||||
"Unable to create the user phrase file." = "Unable to create the user phrase file.";
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"Force KangXi Writing" = "Force KangXi Writing";
|
||||
"NotificationSwitchON" = "✔ ON";
|
||||
"NotificationSwitchOFF" = "✘ OFF";
|
||||
"NotificationSwitchShift" = "↺ Switched";
|
||||
"NotificationSwitchASCII" = "↺ Switched";
|
||||
"Edit User Phrases…" = "Edit User Phrases…";
|
||||
"Reload User Phrases" = "Reload User Phrases";
|
||||
"Unable to create the user phrase file." = "Unable to create the user phrase file.";
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"Force KangXi Writing" = "康熙文字変換モード";
|
||||
"NotificationSwitchON" = "✔ 機能起動";
|
||||
"NotificationSwitchOFF" = "✘ 機能停止";
|
||||
"NotificationSwitchShift" = "↺ 切替完了";
|
||||
"NotificationSwitchASCII" = "↺ 切替完了";
|
||||
"Edit User Phrases…" = "ユーザー辞書を編集…";
|
||||
"Reload User Phrases" = "ユーザー辞書を再び読込む";
|
||||
"Unable to create the user phrase file." = "ユーザー辞書ファイルの作成は失敗しました。";
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"Force KangXi Writing" = "康熙正体字模式";
|
||||
"NotificationSwitchON" = "✔ 已启用";
|
||||
"NotificationSwitchOFF" = "✘ 已停用";
|
||||
"NotificationSwitchShift" = "↺ 切换完毕";
|
||||
"NotificationSwitchASCII" = "↺ 切换完毕";
|
||||
"Edit User Phrases…" = "编辑自订语汇…";
|
||||
"Reload User Phrases" = "重载自订语汇";
|
||||
"Unable to create the user phrase file." = "无法创建自订语汇档案。";
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"Force KangXi Writing" = "康熙正體字模式";
|
||||
"NotificationSwitchON" = "✔ 已啟用";
|
||||
"NotificationSwitchOFF" = "✘ 已停用";
|
||||
"NotificationSwitchShift" = "↺ 切換完畢";
|
||||
"NotificationSwitchASCII" = "↺ 切換完畢";
|
||||
"Edit User Phrases…" = "編輯自訂語彙…";
|
||||
"Reload User Phrases" = "重載自訂語彙";
|
||||
"Unable to create the user phrase file." = "無法創建自訂語彙檔案。";
|
||||
|
|
Loading…
Reference in New Issue