PrefWindow // Sync recent changes happened in PrefUI.
This commit is contained in:
parent
3f45c5a9ec
commit
c80ce1f54d
|
@ -29,6 +29,7 @@ class CtlPrefWindow: NSWindowController, NSWindowDelegate {
|
|||
@IBOutlet var cmbCandidateFontSize: NSPopUpButton!
|
||||
@IBOutlet var chkFartSuppressor: NSButton!
|
||||
|
||||
@IBOutlet var chkRevLookupInCandidateWindow: NSButton!
|
||||
@IBOutlet var cmbPEInputModeMenu: NSPopUpButton!
|
||||
@IBOutlet var cmbPEDataTypeMenu: NSPopUpButton!
|
||||
@IBOutlet var btnPEReload: NSButton!
|
||||
|
@ -46,7 +47,8 @@ class CtlPrefWindow: NSWindowController, NSWindowDelegate {
|
|||
}
|
||||
|
||||
@IBOutlet var vwrGeneral: NSView!
|
||||
@IBOutlet var vwrExperience: NSView!
|
||||
@IBOutlet var vwrCandidates: NSView!
|
||||
@IBOutlet var vwrBehavior: NSView!
|
||||
@IBOutlet var vwrDictionary: NSView!
|
||||
@IBOutlet var vwrPhrases: NSView!
|
||||
@IBOutlet var vwrCassette: NSView!
|
||||
|
@ -422,11 +424,7 @@ extension CtlPrefWindow: NSToolbarDelegate {
|
|||
var toolbarIdentifiers: [NSToolbarItem.Identifier] {
|
||||
var result = [NSToolbarItem.Identifier]()
|
||||
PrefUITabs.allCases.forEach { neta in
|
||||
if [.tabCandidates, .tabBehavior, .tabOutput].contains(neta) { return }
|
||||
if neta == .tabExperience, result.count >= 1 {
|
||||
result.insert(neta.toolbarIdentifier, at: 1)
|
||||
return
|
||||
}
|
||||
if [.tabOutput, .tabExperience].contains(neta) { return }
|
||||
result.append(neta.toolbarIdentifier)
|
||||
}
|
||||
return result
|
||||
|
@ -449,9 +447,14 @@ extension CtlPrefWindow: NSToolbarDelegate {
|
|||
window?.toolbar?.selectedItemIdentifier = PrefUITabs.tabGeneral.toolbarIdentifier
|
||||
}
|
||||
|
||||
@objc func showExperienceView(_: Any?) {
|
||||
use(view: vwrExperience)
|
||||
window?.toolbar?.selectedItemIdentifier = PrefUITabs.tabExperience.toolbarIdentifier
|
||||
@objc func showCandidatesView(_: Any?) {
|
||||
use(view: vwrCandidates)
|
||||
window?.toolbar?.selectedItemIdentifier = PrefUITabs.tabCandidates.toolbarIdentifier
|
||||
}
|
||||
|
||||
@objc func showBehaviorView(_: Any?) {
|
||||
use(view: vwrBehavior)
|
||||
window?.toolbar?.selectedItemIdentifier = PrefUITabs.tabBehavior.toolbarIdentifier
|
||||
}
|
||||
|
||||
@objc func showDictionaryView(_: Any?) {
|
||||
|
@ -490,15 +493,15 @@ extension CtlPrefWindow: NSToolbarDelegate {
|
|||
item.label = tab.i18nTitle
|
||||
switch tab {
|
||||
case .tabGeneral: item.action = #selector(showGeneralView(_:))
|
||||
case .tabCandidates: return nil
|
||||
case .tabBehavior: return nil
|
||||
case .tabCandidates: item.action = #selector(showCandidatesView(_:))
|
||||
case .tabBehavior: item.action = #selector(showBehaviorView(_:))
|
||||
case .tabOutput: return nil
|
||||
case .tabDictionary: item.action = #selector(showDictionaryView(_:))
|
||||
case .tabPhrases: item.action = #selector(showPhrasesView(_:))
|
||||
case .tabCassette: item.action = #selector(showCassetteView(_:))
|
||||
case .tabKeyboard: item.action = #selector(showKeyboardView(_:))
|
||||
case .tabDevZone: item.action = #selector(showDevZoneView(_:))
|
||||
case .tabExperience: item.action = #selector(showExperienceView(_:))
|
||||
case .tabExperience: return nil
|
||||
}
|
||||
return item
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -68,10 +68,12 @@
|
|||
"FVC-br-H57.title" = "Revolving Candidates";
|
||||
"GlJ-Ns-9eE.title" = "Auto-Select";
|
||||
"Grn-MZ-wTg.title" = "Enable cassette mode, suppressing phonabet input";
|
||||
"hcP-5k-mMw.title" = "Show available reverse-lookup results in candidate window";
|
||||
"hSv-LJ-Cq3.title" = "Enable symbol input support (incl. certain emoji symbols)";
|
||||
"Iai-0X-nxi.title" = "Choose your desired cassette file path. Will be omitted if invalid.";
|
||||
"iRg-wx-Nx2.title" = "Change UI font size of candidate window for a better visual clarity.";
|
||||
"iWy-Nw-QKB.title" = "Commit Hanyu-Pinyin instead on Ctrl(+Option)+Command+Enter";
|
||||
"iyh-1K-76v.title" = "Enable phrase replacement table";
|
||||
"j8q-IY-UF1.title" = "This conversion only affects the cassette module, converting typed contents to either Simplified Chinese or Traditional Chinese in accordance with this setting and your current input mode.";
|
||||
"jQC-12-UuK.ibShadowedObjectValues[0]" = "Item 1";
|
||||
"jQC-12-UuK.ibShadowedObjectValues[1]" = "Item 2";
|
||||
|
@ -83,8 +85,10 @@
|
|||
"lblShiftBkspKeyBehavior.title" = "Choose the attempted behavior of Shift+BackSpace key.";
|
||||
"lblUpperCaseLetterKeyBehavior.title" = "Choose the behavior of Shift+Letter key with letter inputs.";
|
||||
"MKJ-Q6-dLd.title" = "Also use “\\” or “¥” key for Hanin Keyboard Symbol Input";
|
||||
"N6e-bR-mVa.title" = "Disable segmented thick underline in marking mode for managed clients";
|
||||
"neb-Pz-n1h.title" = "Auto-composite when the longest possible key is formed";
|
||||
"o3r-NZ-gsU.title" = "Only enforce conversion in Simplified Chinese mode";
|
||||
"OVR-eb-laC.title" = "One-line layout";
|
||||
"Parser11.title" = "Secondary Pinyin with Numeral Intonation";
|
||||
"Parser12.title" = "Yale Pinyin with Numeral Intonation";
|
||||
"Parser13.title" = "Hualuo Pinyin with Numeral Intonation";
|
||||
|
@ -107,8 +111,9 @@
|
|||
"s7u-Fm-dVg.title" = "Revolving Pages";
|
||||
"shc-Nu-UsM.title" = "Show notifications when toggling Caps Lock";
|
||||
"SzF-FL-sVO.title" = "Show translated strokes in composition buffer";
|
||||
"tglDevZoneIMKCandidate.title" = "Use IMK Candidate Window instead of Tadokoro";
|
||||
"tglDevZoneIMKCandidate.title" = "Use IMK Candidate Window instead of Tadokoro (will reboot the IME)";
|
||||
"tglTrimUnfinishedReadingsOnCommit.title" = "Trim unfinished readings / strokes on commit";
|
||||
"TKl-TY-lvN.title" = "General Settings";
|
||||
"TXr-FF-ehw.title" = "Traditional Chinese";
|
||||
"ueU-Rz-a1C.title" = "Choose the behavior of (Shift+)Tab key in the candidate window.";
|
||||
"VAP-TU-eck.title" = "Some clients with web-based front UI may have issues rendering segmented thick underlines drawn by their implemented “setMarkedText()”. This option stops the input method from delivering segmented thick underlines to “client().setMarkedText()”. Note that segmented thick underlines are only used in marking mode, unless the client itself misimplements the IMKTextInput method “setMarkedText()”. This option only affects the inline composition buffer.";
|
||||
|
@ -134,5 +139,4 @@
|
|||
"xjP-r7-GaK.title" = "Dachen 26 (libChewing)";
|
||||
"XqL-rf-X6d.title" = "Space to +revolve pages, Shift+Space to +revolve candidates";
|
||||
"xrE-8T-WKO.label" = "Advanced";
|
||||
"N6e-bR-mVa.title" = "Disable segmented thick underline in marking mode for managed clients";
|
||||
"ZEv-Q2-mYL.title" = "Change user interface language (will reboot the IME).";
|
||||
|
|
|
@ -68,10 +68,12 @@
|
|||
"FVC-br-H57.title" = "候補文字そのもの";
|
||||
"GlJ-Ns-9eE.title" = "システム設定に準ずる";
|
||||
"Grn-MZ-wTg.title" = "カセットモードを起用(注音入力はこのモードで使えぬ)";
|
||||
"hcP-5k-mMw.title" = "候補陳列ウィンドウで可能な逆引参照結果を示す";
|
||||
"hSv-LJ-Cq3.title" = "僅かなる絵文字も含む符号入力サポートを起用";
|
||||
"Iai-0X-nxi.title" = "欲しがる CIN カセットファイルをご指定ください。無効なる設定は省かれる。";
|
||||
"iRg-wx-Nx2.title" = "入力候補陳列の候補文字の字号をご指定ください。";
|
||||
"iWy-Nw-QKB.title" = "Ctrl(+Option)+Command+Enter で出すのを漢語弁音と変換";
|
||||
"iyh-1K-76v.title" = "言葉置換表を起用";
|
||||
"j8q-IY-UF1.title" = "この転換はカセットモードだけに使える転換であり、転換結果はこの設定と入力モード次第である。";
|
||||
"jQC-12-UuK.ibShadowedObjectValues[0]" = "Item 1";
|
||||
"jQC-12-UuK.ibShadowedObjectValues[1]" = "Item 2";
|
||||
|
@ -83,8 +85,10 @@
|
|||
"lblShiftBkspKeyBehavior.title" = "Shift+BackSpace キーの優先行為をご指定ください。";
|
||||
"lblUpperCaseLetterKeyBehavior.title" = "Shift+文字キーの行為をご指定ください。";
|
||||
"MKJ-Q6-dLd.title" = "「\\」・「¥」キーでも漢音キーボード符号入力";
|
||||
"N6e-bR-mVa.title" = "管理されている客体アプリには、マーキングモードの多段式太下線の描きを禁ず";
|
||||
"neb-Pz-n1h.title" = "最長可能キーができた場合、文字を組み立つ";
|
||||
"o3r-NZ-gsU.title" = "簡体モードだけの場合、カセットモードの漢字出力転換を";
|
||||
"OVR-eb-laC.title" = "一行・列組版";
|
||||
"Parser11.title" = "国音二式 (ローマ字+数字音調)";
|
||||
"Parser12.title" = "イェール弁音 (ローマ字+数字音調)";
|
||||
"Parser13.title" = "中華ローマ弁音 (ローマ字+数字音調)";
|
||||
|
@ -109,6 +113,7 @@
|
|||
"SzF-FL-sVO.title" = "原始キーネームでなく、筆画を入力緩衝列で表示する";
|
||||
"tglDevZoneIMKCandidate.title" = "IMK 候補陳列ウィンドウを起用(入力アプリは自動的に再起動)";
|
||||
"tglTrimUnfinishedReadingsOnCommit.title" = "送り出す緩衝列内容から未完成な音読み/筆組みを除く";
|
||||
"TKl-TY-lvN.title" = "一般設定";
|
||||
"TXr-FF-ehw.title" = "繁体中国語";
|
||||
"ueU-Rz-a1C.title" = "入力候補陳列での (Shift+)Tab キーの輪番切替対象をご指定ください。";
|
||||
"VAP-TU-eck.title" = "一部の「Web UI を用いた」客体アプリには、多段式太下線の描きをうまく取り扱えぬ支障はございます。このチェックを入れると、IME から「client().setMarkedText()」を経由して、客体に「多段式太下線を書かずに」と命令することはできます。多段式太下線はマーキングモードだけで用いるデザインですが、間違くて別のモードでもそれを書いてしまう客体アプリはございます(多分 IMKTextInput の実作の問題かもしれません)。このチェックは「文脈内入力緩衝列」だけに関わります。";
|
||||
|
@ -134,5 +139,4 @@
|
|||
"xjP-r7-GaK.title" = "酷音大千 26 キー配列";
|
||||
"XqL-rf-X6d.title" = "Space で次のページ、Shift+Space で次の候補文字を";
|
||||
"xrE-8T-WKO.label" = "詳細";
|
||||
"N6e-bR-mVa.title" = "管理されている客体アプリには、マーキングモードの多段式太下線の描きを禁ず";
|
||||
"ZEv-Q2-mYL.title" = "アプリ表示用言語をご指定ください、そして入力アプリは自動的に再起動。";
|
||||
|
|
|
@ -68,10 +68,12 @@
|
|||
"FVC-br-H57.title" = "轮替候选字";
|
||||
"GlJ-Ns-9eE.title" = "自动选择";
|
||||
"Grn-MZ-wTg.title" = "启用磁带模式,会停用注音输入";
|
||||
"hcP-5k-mMw.title" = "在选字窗内显示可用的字根反查结果";
|
||||
"hSv-LJ-Cq3.title" = "启用包括少许绘文字在内的符号输入支援";
|
||||
"Iai-0X-nxi.title" = "请在此指定您想指定的 CIN 磁带档案。无效值会被忽略。";
|
||||
"iRg-wx-Nx2.title" = "变更候选字窗的字型大小。";
|
||||
"iWy-Nw-QKB.title" = "Ctrl(+Option)+Command+Enter 输出汉语拼音而非注音";
|
||||
"iyh-1K-76v.title" = "启用语汇置换表";
|
||||
"j8q-IY-UF1.title" = "该转换仅对磁带模式有影响,会将键入的内容根据该选项与当前的简繁体模式来转换。";
|
||||
"jQC-12-UuK.ibShadowedObjectValues[0]" = "Item 1";
|
||||
"jQC-12-UuK.ibShadowedObjectValues[1]" = "Item 2";
|
||||
|
@ -83,8 +85,10 @@
|
|||
"lblShiftBkspKeyBehavior.title" = "指定 Shift+BackSpace 组合键率先尝试的行为。";
|
||||
"lblUpperCaseLetterKeyBehavior.title" = "指定 Shift+字母键 的行为。";
|
||||
"MKJ-Q6-dLd.title" = "亦使用「\\」或「¥」键启用汉音键盘符号模式";
|
||||
"N6e-bR-mVa.title" = "针对被管理的客体,在标记模式下禁用分段式粗型下划线";
|
||||
"neb-Pz-n1h.title" = "在已经敲出最长可能码的时候自动组字";
|
||||
"o3r-NZ-gsU.title" = "仅在简体模式转换至简体";
|
||||
"OVR-eb-laC.title" = "单行/列布局";
|
||||
"Parser11.title" = "国音二式+数字标调";
|
||||
"Parser12.title" = "耶鲁拼音+数字标调";
|
||||
"Parser13.title" = "华罗拼音+数字标调";
|
||||
|
@ -109,6 +113,7 @@
|
|||
"SzF-FL-sVO.title" = "在组字区内显示字根、而非原始键盘码";
|
||||
"tglDevZoneIMKCandidate.title" = "启用与 macOS 内建输入法相同的 IMK 选字窗(会自动重启输入法)";
|
||||
"tglTrimUnfinishedReadingsOnCommit.title" = "在递交时清理未完成拼写的读音或字根";
|
||||
"TKl-TY-lvN.title" = "一般设定";
|
||||
"TXr-FF-ehw.title" = "繁体中文";
|
||||
"ueU-Rz-a1C.title" = "指定 (Shift+)Tab 热键在选字窗内的轮替操作对象。";
|
||||
"VAP-TU-eck.title" = "部分采用 Web 前端介面设计的客体应用可能会无法正常绘制用于输入法标记模式的分段式粗型下划线。这个选项将会阻止输入法借由 client().setMarkedText() 函式向客体应用传达对粗型下划线的分段绘制请求。分段式粗型下划线仅用于输入法的标记模式,除非客体应用对 setMarkedText() 这个 IMKTextInput 协定方法的实作有问题。该选项仅影响内文组字区。";
|
||||
|
@ -134,5 +139,4 @@
|
|||
"xjP-r7-GaK.title" = "酷音大千二十六键";
|
||||
"XqL-rf-X6d.title" = "Space 换下一页,Shift+Space 换选下一个候选字。";
|
||||
"xrE-8T-WKO.label" = "进阶";
|
||||
"N6e-bR-mVa.title" = "针对被管理的客体,在标记模式下禁用分段式粗型下划线";
|
||||
"ZEv-Q2-mYL.title" = "变更使用者界面语言,会自动重新启动输入法。";
|
||||
|
|
|
@ -68,10 +68,12 @@
|
|||
"FVC-br-H57.title" = "輪替候選字";
|
||||
"GlJ-Ns-9eE.title" = "自動選擇";
|
||||
"Grn-MZ-wTg.title" = "啟用磁帶模式,會停用注音輸入";
|
||||
"hcP-5k-mMw.title" = "在選字窗內顯示可用的字根反查結果";
|
||||
"hSv-LJ-Cq3.title" = "啟用包括少許繪文字在內的符號輸入支援";
|
||||
"Iai-0X-nxi.title" = "請在此指定您想指定的 CIN 磁帶檔案。無效值會被忽略。";
|
||||
"iRg-wx-Nx2.title" = "變更候選字窗的字型大小。";
|
||||
"iWy-Nw-QKB.title" = "Ctrl(+Option)+Command+Enter 輸出漢語拼音而非注音";
|
||||
"iyh-1K-76v.title" = "啟用語彙置換表";
|
||||
"j8q-IY-UF1.title" = "該轉換僅對磁帶模式有影響,會將鍵入的內容根據該選項與當前的簡繁體模式來轉換。";
|
||||
"jQC-12-UuK.ibShadowedObjectValues[0]" = "Item 1";
|
||||
"jQC-12-UuK.ibShadowedObjectValues[1]" = "Item 2";
|
||||
|
@ -83,8 +85,10 @@
|
|||
"lblShiftBkspKeyBehavior.title" = "指定 Shift+BackSpace 組合鍵率先嘗試的行為。";
|
||||
"lblUpperCaseLetterKeyBehavior.title" = "指定 Shift+字母鍵 的行為。";
|
||||
"MKJ-Q6-dLd.title" = "亦使用「\\」或「¥」鍵啟用漢音鍵盤符號模式";
|
||||
"N6e-bR-mVa.title" = "針對被管理的客體,在標記模式下禁用分段式粗型下劃線";
|
||||
"neb-Pz-n1h.title" = "在已經敲出最長可能碼的時候自動組字";
|
||||
"o3r-NZ-gsU.title" = "僅在簡體模式轉換至簡體";
|
||||
"OVR-eb-laC.title" = "單行/列佈局";
|
||||
"Parser11.title" = "國音二式+數字標調";
|
||||
"Parser12.title" = "耶魯拼音+數字標調";
|
||||
"Parser13.title" = "華羅拼音+數字標調";
|
||||
|
@ -109,6 +113,7 @@
|
|||
"SzF-FL-sVO.title" = "在組字區內顯示字根、而非原始鍵盤碼";
|
||||
"tglDevZoneIMKCandidate.title" = "啟用與 macOS 內建輸入法相同的 IMK 選字窗(會自動重啟輸入法)";
|
||||
"tglTrimUnfinishedReadingsOnCommit.title" = "在遞交時清理未完成拼寫的讀音或字根";
|
||||
"TKl-TY-lvN.title" = "一般設定";
|
||||
"TXr-FF-ehw.title" = "繁體中文";
|
||||
"ueU-Rz-a1C.title" = "指定 (Shift+)Tab 熱鍵在選字窗內的輪替操作對象。";
|
||||
"VAP-TU-eck.title" = "部分採用 Web 前端介面設計的客體應用可能會無法正常繪製用於輸入法標記模式的分段式粗型下劃線。這個選項將會阻止輸入法藉由 client().setMarkedText() 函式向客體應用傳達對粗型下劃線的分段繪製請求。分段式粗型下劃線僅用於輸入法的標記模式,除非客體應用對 setMarkedText() 這個 IMKTextInput 協定方法的實作有問題。該選項僅影響內文組字區。";
|
||||
|
@ -134,5 +139,4 @@
|
|||
"xjP-r7-GaK.title" = "酷音大千二十六鍵";
|
||||
"XqL-rf-X6d.title" = "Space 換下一頁,Shift+Space 換選下一個候選字";
|
||||
"xrE-8T-WKO.label" = "進階";
|
||||
"N6e-bR-mVa.title" = "針對被管理的客體,在標記模式下禁用分段式粗型下劃線";
|
||||
"ZEv-Q2-mYL.title" = "變更使用者介面語言,會自動重新啟動輸入法。";
|
||||
|
|
Loading…
Reference in New Issue