i18n // Localization fix: keyboard names and strings.

This commit is contained in:
ShikiSuen 2022-02-13 18:45:21 +08:00
parent 175fc558ed
commit fa0cd101da
8 changed files with 24 additions and 19 deletions

View File

@ -241,7 +241,7 @@ class ctlInputMethod: IMKInputController {
private func open(userFileAt path: String) { private func open(userFileAt path: String) {
func checkIfUserFilesExist() -> Bool { func checkIfUserFilesExist() -> Bool {
if !mgrLangModel.checkIfUserLanguageModelFilesExist() { if !mgrLangModel.checkIfUserLanguageModelFilesExist() {
let content = String(format: NSLocalizedString("Please check the permission of at \"%@\".", comment: ""), mgrLangModel.dataFolderPath) let content = String(format: NSLocalizedString("Please check the permission at \"%@\".", comment: ""), mgrLangModel.dataFolderPath)
ctlNonModalAlertWindow.shared.show(title: NSLocalizedString("Unable to create the user phrase file.", comment: ""), content: content, confirmButtonTitle: NSLocalizedString("OK", comment: ""), cancelButtonTitle: nil, cancelAsDefault: false, delegate: nil) ctlNonModalAlertWindow.shared.show(title: NSLocalizedString("Unable to create the user phrase file.", comment: ""), content: content, confirmButtonTitle: NSLocalizedString("OK", comment: ""), cancelButtonTitle: nil, cancelAsDefault: false, delegate: nil)
return false return false
} }

View File

@ -18,7 +18,7 @@
"Edit User Phrases…" = "Edit User Phrases…"; "Edit User Phrases…" = "Edit User Phrases…";
"Reload User Phrases" = "Reload User Phrases"; "Reload User Phrases" = "Reload User Phrases";
"Unable to create the user phrase file." = "Unable to create the user phrase file."; "Unable to create the user phrase file." = "Unable to create the user phrase file.";
"Please check the permission of at \"%@\"." = "Please check the permission of at \"%@\"."; "Please check the permission at \"%@\"." = "Please check the permission at \"%@\".";
"Edit Excluded Phrases" = "Edit Excluded Phrases…"; "Edit Excluded Phrases" = "Edit Excluded Phrases…";
"Half-Width Punctuation Mode" = "Half-Width Punctuation Mode"; "Half-Width Punctuation Mode" = "Half-Width Punctuation Mode";
"\"%@\" length must ≥ 2 for a user phrase." = "\"%@\" length must ≥ 2 for a user phrase."; "\"%@\" length must ≥ 2 for a user phrase." = "\"%@\" length must ≥ 2 for a user phrase.";
@ -46,7 +46,8 @@
"zh-Hans" = "Simplified Chinese"; "zh-Hans" = "Simplified Chinese";
"zh-Hant" = "Traditional Chinese"; "zh-Hant" = "Traditional Chinese";
"ja" = "Japanese"; "ja" = "Japanese";
"Apple Zhuyin Bopomofo" = "Apple Zhuyin Bopomofo"; "Apple Zhuyin Bopomofo" = "Apple Zhuyin Bopomofo (Standard)";
"Apple Zhuyin Eten" = "Apple Zhuyin Eten";
// The followings are the category names used in the Symbol menu. // The followings are the category names used in the Symbol menu.
"catCommonSymbols" = "CommonSymbols"; "catCommonSymbols" = "CommonSymbols";

View File

@ -18,7 +18,7 @@
"Edit User Phrases…" = "Edit User Phrases…"; "Edit User Phrases…" = "Edit User Phrases…";
"Reload User Phrases" = "Reload User Phrases"; "Reload User Phrases" = "Reload User Phrases";
"Unable to create the user phrase file." = "Unable to create the user phrase file."; "Unable to create the user phrase file." = "Unable to create the user phrase file.";
"Please check the permission of at \"%@\"." = "Please check the permission of at \"%@\"."; "Please check the permission at \"%@\"." = "Please check the permission at \"%@\".";
"Edit Excluded Phrases" = "Edit Excluded Phrases…"; "Edit Excluded Phrases" = "Edit Excluded Phrases…";
"Half-Width Punctuation Mode" = "Half-Width Punctuation Mode"; "Half-Width Punctuation Mode" = "Half-Width Punctuation Mode";
"\"%@\" length must ≥ 2 for a user phrase." = "\"%@\" length must ≥ 2 for a user phrase."; "\"%@\" length must ≥ 2 for a user phrase." = "\"%@\" length must ≥ 2 for a user phrase.";
@ -46,12 +46,13 @@
"zh-Hans" = "Simplified Chinese"; "zh-Hans" = "Simplified Chinese";
"zh-Hant" = "Traditional Chinese"; "zh-Hant" = "Traditional Chinese";
"ja" = "Japanese"; "ja" = "Japanese";
"Apple Zhuyin Bopomofo" = "Apple Zhuyin Bopomofo"; "Apple Zhuyin Bopomofo" = "Apple Zhuyin Bopomofo (Standard)";
"Apple Zhuyin Eten" = "Apple Zhuyin Eten";
// The followings are the category names used in the Symbol menu. // The followings are the category names used in the Symbol menu.
"catCommonSymbols" = "CommonSymbols"; "catCommonSymbols" = "CommonSymbols";
"catHoriBrackets" = "HoriBrackets"; "catHoriBrackets" = "HorizontalBrackets";
"catVertBrackets" = "VertBrackets"; "catVertBrackets" = "VerticalBrackets";
"catGreekLetters" = "GreekLetters"; "catGreekLetters" = "GreekLetters";
"catMathSymbols" = "MathSymbols"; "catMathSymbols" = "MathSymbols";
"catCurrencyUnits" = "CurrencyUnits"; "catCurrencyUnits" = "CurrencyUnits";

View File

@ -18,14 +18,14 @@
"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." = "ユーザー辞書ファイルの作成は失敗しました。";
"Please check the permission of at \"%@\"." = "「%@」に書き出す権限は不足らしい。"; "Please check the permission at \"%@\"." = "「%@」に書き出す権限は不足らしい。";
"Edit Excluded Phrases" = "辞書条目排除表を編集…"; "Edit Excluded Phrases" = "辞書条目排除表を編集…";
"Half-Width Punctuation Mode" = "半角句読モード"; "Half-Width Punctuation Mode" = "半角句読モード";
"\"%@\" length must ≥ 2 for a user phrase." = "「%@」もう1つ文字のお選びを。"; "\"%@\" length must ≥ 2 for a user phrase." = "「%@」もう1つ文字のお選びを。";
"\"%@\" length should ≤ %d for a user phrase." = "「%@」文字数過剰で登録不可、%d 文字以内にして下さい。"; "\"%@\" length should ≤ %d for a user phrase." = "「%@」文字数過剰で登録不可、%d 文字以内にして下さい。";
"\"%@\" selected. ENTER to add user phrase." = "「%@」を ENTER で辞書に登録。"; "\"%@\" selected. ENTER to add user phrase." = "「%@」を ENTER で辞書に登録。";
"\"%@\" already exists." = "「%@」は既存語彙である。"; "\"%@\" already exists." = "「%@」は既存語彙である。";
"Edit Phrase Replacement Table" = "言葉置換表を編集…"; "Edit Phrase Replacement Table" = "言葉置換表を編集…";
"Use Phrase Replacement" = "言葉置換機能"; "Use Phrase Replacement" = "言葉置換機能";
"Candidates keys cannot be empty." = "言選り用キー陣列に何かキーをご登録ください。"; "Candidates keys cannot be empty." = "言選り用キー陣列に何かキーをご登録ください。";
"Candidate keys can only contain ASCII characters like alphanumerals." = "言選り用キー陣列にはASCII文字だけをご登録ください英数など。"; "Candidate keys can only contain ASCII characters like alphanumerals." = "言選り用キー陣列にはASCII文字だけをご登録ください英数など。";
@ -46,7 +46,8 @@
"zh-Hans" = "簡體中国語"; "zh-Hans" = "簡體中国語";
"zh-Hant" = "繁體中国語"; "zh-Hant" = "繁體中国語";
"ja" = "和語"; "ja" = "和語";
"Apple Zhuyin Bopomofo" = "Apple 注音ボポモフォ配列"; "Apple Zhuyin Bopomofo" = "Apple 注音ボポモフォ配列(大千標準)";
"Apple Zhuyin Bopomofo" = "Apple 注音ボポモフォ配列(倚天伝統)";
// The followings are the category names used in the Symbol menu. // The followings are the category names used in the Symbol menu.
"catCommonSymbols" = "常用"; "catCommonSymbols" = "常用";

View File

@ -18,7 +18,7 @@
"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." = "无法创建自订语汇档案。";
"Please check the permission of at \"%@\"." = "请检查此处的存取权限:\"%@\"."; "Please check the permission at \"%@\"." = "请检查此处的存取权限:\"%@\".";
"Edit Excluded Phrases" = "编辑要滤除的语汇…"; "Edit Excluded Phrases" = "编辑要滤除的语汇…";
"Half-Width Punctuation Mode" = "半角标点模式"; "Half-Width Punctuation Mode" = "半角标点模式";
"\"%@\" length must ≥ 2 for a user phrase." = "「%@」字数不足以自订语汇。"; "\"%@\" length must ≥ 2 for a user phrase." = "「%@」字数不足以自订语汇。";
@ -38,7 +38,7 @@
"Per-Char Select Mode" = "仿真逐字选字输入"; "Per-Char Select Mode" = "仿真逐字选字输入";
"CNS11643 Mode" = "全字库模式"; "CNS11643 Mode" = "全字库模式";
"Per-Char Associated Phrases" = "逐字选字联想模式"; "Per-Char Associated Phrases" = "逐字选字联想模式";
"Open User Data Folder" = "开启使用者数据夹"; "Open User Data Folder" = "开启使用者资料夹";
"Edit Associated Phrases…" = "编辑联想词…"; "Edit Associated Phrases…" = "编辑联想词…";
"Reboot vChewing…" = "重新启动输入法…"; "Reboot vChewing…" = "重新启动输入法…";
"auto" = "与系统设定一致"; "auto" = "与系统设定一致";
@ -46,7 +46,8 @@
"zh-Hans" = "简体中文"; "zh-Hans" = "简体中文";
"zh-Hant" = "繁体中文"; "zh-Hant" = "繁体中文";
"ja" = "和文"; "ja" = "和文";
"Apple Zhuyin Bopomofo" = "Apple 注音键盘布局"; "Apple Zhuyin Bopomofo" = "Apple 标准注音键盘布局";
"Apple Zhuyin Eten" = "Apple 倚天注音键盘布局";
// The followings are the category names used in the Symbol menu. // The followings are the category names used in the Symbol menu.
"catCommonSymbols" = "常用"; "catCommonSymbols" = "常用";

View File

@ -18,7 +18,7 @@
"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." = "無法創建自訂語彙檔案。";
"Please check the permission of at \"%@\"." = "請檢查此處的存取權限:\"%@\"."; "Please check the permission at \"%@\"." = "請檢查此處的存取權限:\"%@\".";
"Edit Excluded Phrases" = "編輯要濾除的語彙…"; "Edit Excluded Phrases" = "編輯要濾除的語彙…";
"Half-Width Punctuation Mode" = "半形標點模式"; "Half-Width Punctuation Mode" = "半形標點模式";
"\"%@\" length must ≥ 2 for a user phrase." = "「%@」字數不足以自訂語彙。"; "\"%@\" length must ≥ 2 for a user phrase." = "「%@」字數不足以自訂語彙。";
@ -46,7 +46,8 @@
"zh-Hans" = "簡體中文"; "zh-Hans" = "簡體中文";
"zh-Hant" = "繁體中文"; "zh-Hant" = "繁體中文";
"ja" = "和文"; "ja" = "和文";
"Apple Zhuyin Bopomofo" = "Apple 注音鍵盤佈局"; "Apple Zhuyin Bopomofo" = "Apple 標準注音鍵盤佈局";
"Apple Zhuyin Eten" = "Apple 倚天注音鍵盤佈局";
// The followings are the category names used in the Symbol menu. // The followings are the category names used in the Symbol menu.
"catCommonSymbols" = "常用"; "catCommonSymbols" = "常用";

View File

@ -165,13 +165,13 @@
"f2j-xD-4xK.title" = "敲 ESC 键以清空整个输入缓冲区"; "f2j-xD-4xK.title" = "敲 ESC 键以清空整个输入缓冲区";
/* Class = "NSButtonCell"; title = "Automatically reload user data files if changes detected"; ObjectID = "f8i-69-zxm"; */ /* Class = "NSButtonCell"; title = "Automatically reload user data files if changes detected"; ObjectID = "f8i-69-zxm"; */
"f8i-69-zxm.title" = "自动重新加载变更过的使用者数据内容"; "f8i-69-zxm.title" = "自动重新加载变更过的使用者资料内容";
/* Class = "NSTextFieldCell"; title = "Change UI font size of candidate window for a better visual clarity."; ObjectID = "iRg-wx-Nx2"; */ /* Class = "NSTextFieldCell"; title = "Change UI font size of candidate window for a better visual clarity."; ObjectID = "iRg-wx-Nx2"; */
"iRg-wx-Nx2.title" = "变更候选字窗的字型大小。"; "iRg-wx-Nx2.title" = "变更候选字窗的字型大小。";
/* Class = "NSTextFieldCell"; title = "Define your preferred action when user data files reload."; ObjectID = "j48-5a-cEs"; */ /* Class = "NSTextFieldCell"; title = "Define your preferred action when user data files reload."; ObjectID = "j48-5a-cEs"; */
"j48-5a-cEs.title" = "请指定在使用者数据重载时要启用的功能。"; "j48-5a-cEs.title" = "请指定在使用者资料重载时要启用的功能。";
/* Class = "NSComboBoxCell"; jQC-12-UuK.ibShadowedObjectValues[0] = "Item 1"; ObjectID = "jQC-12-UuK"; */ /* Class = "NSComboBoxCell"; jQC-12-UuK.ibShadowedObjectValues[0] = "Item 1"; ObjectID = "jQC-12-UuK"; */
"jQC-12-UuK.ibShadowedObjectValues[0]" = "Item 1"; "jQC-12-UuK.ibShadowedObjectValues[0]" = "Item 1";

View File

@ -341,8 +341,8 @@
/* Class = "NSMenuItem"; title = "显示工具列"; ObjectID = "snW-S8-Cw5"; */ /* Class = "NSMenuItem"; title = "显示工具列"; ObjectID = "snW-S8-Cw5"; */
"snW-S8-Cw5.title" = "显示工具列"; "snW-S8-Cw5.title" = "显示工具列";
/* Class = "NSMenuItem"; title = "数据侦测器"; ObjectID = "tRr-pd-1PS"; */ /* Class = "NSMenuItem"; title = "资料侦测器"; ObjectID = "tRr-pd-1PS"; */
"tRr-pd-1PS.title" = "数据侦测器"; "tRr-pd-1PS.title" = "资料侦测器";
/* Class = "NSMenuItem"; title = "开启近期的档案"; ObjectID = "tXI-mr-wws"; */ /* Class = "NSMenuItem"; title = "开启近期的档案"; ObjectID = "tXI-mr-wws"; */
"tXI-mr-wws.title" = "开启近期的档案"; "tXI-mr-wws.title" = "开启近期的档案";