Repo // DangerZone -> DevZone.

This commit is contained in:
ShikiSuen 2022-08-13 14:52:36 +08:00
parent c503443b54
commit 58facbb8d3
17 changed files with 86 additions and 87 deletions

View File

@ -123,8 +123,8 @@
"Cursor Selection:" = "Cursor Selection:";
"Dachen (Microsoft Standard / Wang / 01, etc.)" = "Dachen (Microsoft Standard / Wang / 01, etc.)";
"Dachen 26 (libChewing)" = "Dachen 26 (libChewing)";
"DangerZone" = "DangerZone";
"Debug Mode" = "Debug Mode";
"DevZone" = "DevZone";
"Dictionary" = "Dictionary";
"Directly commit lowercased letters" = "Directly commit lowercased letters";
"Directly commit uppercased letters" = "Directly commit uppercased letters";

View File

@ -1,12 +1,12 @@
{
"images" : [
{
"filename" : "DangerZone.png",
"filename" : "DevZone.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "DangerZone@2x.png",
"filename" : "DevZone@2x.png",
"idiom" : "universal",
"scale" : "2x"
},

View File

@ -123,8 +123,8 @@
"Cursor Selection:" = "Cursor Selection:";
"Dachen (Microsoft Standard / Wang / 01, etc.)" = "Dachen (Microsoft Standard / Wang / 01, etc.)";
"Dachen 26 (libChewing)" = "Dachen 26 (libChewing)";
"DangerZone" = "DangerZone";
"Debug Mode" = "Debug Mode";
"DevZone" = "DevZone";
"Dictionary" = "Dictionary";
"Directly commit lowercased letters" = "Directly commit lowercased letters";
"Directly commit uppercased letters" = "Directly commit uppercased letters";

View File

@ -123,8 +123,8 @@
"Cursor Selection:" = "カーソル候補呼出:";
"Dachen (Microsoft Standard / Wang / 01, etc.)" = "大千配列 (Microsoft 標準・王安・零壹など)";
"Dachen 26 (libChewing)" = "酷音大千 26 キー配列";
"DangerZone" = "開発道場";
"Debug Mode" = "欠陥辿着モード";
"DevZone" = "開発道場";
"Dictionary" = "辞書設定";
"Directly commit lowercased letters" = "ローマ字(小文字)を直接出力";
"Directly commit uppercased letters" = "ローマ字(大文字)を直接出力";

View File

@ -123,8 +123,8 @@
"Cursor Selection:" = "选字游标:";
"Dachen (Microsoft Standard / Wang / 01, etc.)" = "大千排列 (微软标准/王安/零壹/仲鼎/国乔)";
"Dachen 26 (libChewing)" = "酷音大千二十六键排列";
"DangerZone" = "开发道场";
"Debug Mode" = "侦错模式";
"DevZone" = "开发道场";
"Dictionary" = "辞典设定";
"Directly commit lowercased letters" = "直接递交小写字母";
"Directly commit uppercased letters" = "直接递交大写字母";

View File

@ -123,8 +123,8 @@
"Cursor Selection:" = "選字游標:";
"Dachen (Microsoft Standard / Wang / 01, etc.)" = "大千排列 (微軟標準/王安/零壹/仲鼎/國喬)";
"Dachen 26 (libChewing)" = "酷音大千二十六鍵排列";
"DangerZone" = "開發道場";
"Debug Mode" = "偵錯模式";
"DevZone" = "開發道場";
"Dictionary" = "辭典設定";
"Directly commit lowercased letters" = "直接遞交小寫字母";
"Directly commit uppercased letters" = "直接遞交大寫字母";

View File

@ -15,7 +15,7 @@ class ctlPrefUI {
private(set) var tabImageExperiences: NSImage! = NSImage(named: "PrefToolbar-Experiences")
private(set) var tabImageDictionary: NSImage! = NSImage(named: "PrefToolbar-Dictionary")
private(set) var tabImageKeyboard: NSImage! = NSImage(named: "PrefToolbar-Keyboard")
private(set) var tabImageDangerZone: NSImage! = NSImage(named: "PrefToolbar-DangerZone")
private(set) var tabImageDevZone: NSImage! = NSImage(named: "PrefToolbar-DevZone")
init() {
if #available(macOS 11.0, *) {
@ -31,8 +31,8 @@ class ctlPrefUI {
tabImageKeyboard = NSImage(
systemSymbolName: "keyboard.macwindow", accessibilityDescription: "Keyboard Preferences"
)
tabImageDangerZone = NSImage(
systemSymbolName: "hand.raised.circle", accessibilityDescription: "DangerZone Preferences"
tabImageDevZone = NSImage(
systemSymbolName: "hand.raised.circle", accessibilityDescription: "DevZone Preferences"
)
}
}
@ -68,11 +68,11 @@ class ctlPrefUI {
suiPrefPaneKeyboard()
},
Preferences.Pane(
identifier: Preferences.PaneIdentifier(rawValue: "DangerZone"),
title: NSLocalizedString("DangerZone", comment: ""),
toolbarIcon: tabImageDangerZone
identifier: Preferences.PaneIdentifier(rawValue: "DevZone"),
title: NSLocalizedString("DevZone", comment: ""),
toolbarIcon: tabImageDevZone
) {
suiPrefPaneDangerZone()
suiPrefPaneDevZone()
},
],
style: .toolbarItems

View File

@ -9,7 +9,7 @@
import SwiftUI
@available(macOS 10.15, *)
struct suiPrefPaneDangerZone: View {
struct suiPrefPaneDevZone: View {
@State private var selUseIMKCandidateWindow: Bool = UserDefaults.standard.bool(
forKey: UserDef.kUseIMKCandidateWindow.rawValue)
@State private var selHandleDefaultCandidateFontsByLangIdentifier: Bool = UserDefaults.standard.bool(
@ -62,8 +62,8 @@ struct suiPrefPaneDangerZone: View {
}
@available(macOS 11.0, *)
struct suiPrefPaneDangerZone_Previews: PreviewProvider {
struct suiPrefPaneDevZone_Previews: PreviewProvider {
static var previews: some View {
suiPrefPaneDangerZone()
suiPrefPaneDevZone()
}
}

View File

@ -18,7 +18,7 @@ extension NSToolbarItem.Identifier {
fileprivate static let ofExperience = NSToolbarItem.Identifier(rawValue: "tabExperience")
fileprivate static let ofDictionary = NSToolbarItem.Identifier(rawValue: "tabDictionary")
fileprivate static let ofKeyboard = NSToolbarItem.Identifier(rawValue: "tabKeyboard")
fileprivate static let ofDangerZone = NSToolbarItem.Identifier(rawValue: "tabDangerZone")
fileprivate static let ofDevZone = NSToolbarItem.Identifier(rawValue: "tabDevZone")
}
// Please note that the class should be exposed using the same class name
@ -33,13 +33,13 @@ class ctlPrefWindow: NSWindowController {
@IBOutlet var chkTrad2KangXi: NSButton!
@IBOutlet var chkTrad2JISShinjitai: NSButton!
@IBOutlet var lblCurrentlySpecifiedUserDataFolder: NSTextFieldCell!
@IBOutlet var tglControlDangerZoneIMKCandidate: NSButton!
@IBOutlet var tglControlDevZoneIMKCandidate: NSButton!
@IBOutlet var vwrGeneral: NSView!
@IBOutlet var vwrExperience: NSView!
@IBOutlet var vwrDictionary: NSView!
@IBOutlet var vwrKeyboard: NSView!
@IBOutlet var vwrDangerZone: NSView!
@IBOutlet var vwrDevZone: NSView!
var currentLanguageSelectItem: NSMenuItem?
@ -336,15 +336,15 @@ extension ctlPrefWindow: NSToolbarDelegate {
}
func toolbarDefaultItemIdentifiers(_: NSToolbar) -> [NSToolbarItem.Identifier] {
[.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard, .ofDangerZone]
[.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard, .ofDevZone]
}
func toolbarAllowedItemIdentifiers(_: NSToolbar) -> [NSToolbarItem.Identifier] {
[.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard, .ofDangerZone]
[.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard, .ofDevZone]
}
func toolbarSelectableItemIdentifiers(_: NSToolbar) -> [NSToolbarItem.Identifier] {
[.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard, .ofDangerZone]
[.ofGeneral, .ofExperience, .ofDictionary, .ofKeyboard, .ofDevZone]
}
@objc func showGeneralView(_: Any?) {
@ -367,9 +367,9 @@ extension ctlPrefWindow: NSToolbarDelegate {
window?.toolbar?.selectedItemIdentifier = .ofKeyboard
}
@objc func showDangerZOneView(_: Any?) {
use(view: vwrDangerZone)
window?.toolbar?.selectedItemIdentifier = .ofDangerZone
@objc func showDevZoneView(_: Any?) {
use(view: vwrDevZone)
window?.toolbar?.selectedItemIdentifier = .ofDevZone
}
func toolbar(
@ -425,17 +425,17 @@ extension ctlPrefWindow: NSToolbarDelegate {
}
item.action = #selector(showKeyboardView(_:))
case .ofDangerZone:
let title = NSLocalizedString("DangerZone", comment: "")
case .ofDevZone:
let title = NSLocalizedString("DevZone", comment: "")
item.label = title
if #available(macOS 11.0, *) {
item.image = NSImage(
systemSymbolName: "hand.raised.circle", accessibilityDescription: "DangerZone Preferences"
systemSymbolName: "hand.raised.circle", accessibilityDescription: "DevZone Preferences"
)
} else {
item.image = NSImage(named: "PrefToolbar-DangerZone")
item.image = NSImage(named: "PrefToolbar-DevZone")
}
item.action = #selector(showDangerZOneView(_:))
item.action = #selector(showDevZoneView(_:))
default:
return nil

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21219" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21219"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
@ -14,9 +13,9 @@
<outlet property="fontSizePopUpButton" destination="90" id="108"/>
<outlet property="lblCurrentlySpecifiedUserDataFolder" destination="REC-r4-T7m" id="eEq-XN-mMq"/>
<outlet property="selectionKeyComboBox" destination="uHU-aL-du7" id="cEx-Ui-Phc"/>
<outlet property="tglControlDangerZoneIMKCandidate" destination="tglControlDangerZoneIMKCandidate" id="eyT-uP-QU6"/>
<outlet property="tglControlDevZoneIMKCandidate" destination="tglControlDevZoneIMKCandidate" id="eyT-uP-QU6"/>
<outlet property="uiLanguageButton" destination="oS6-u5-7dP" id="V3u-XK-z7G"/>
<outlet property="vwrDangerZone" destination="Qd7-ln-nNO" id="8mw-wO-gXS"/>
<outlet property="vwrDevZone" destination="Qd7-ln-nNO" id="8mw-wO-gXS"/>
<outlet property="vwrDictionary" destination="Rnp-LM-RIF" id="8gY-ah-RT8"/>
<outlet property="vwrExperience" destination="XWo-36-xGi" id="hC5-gV-NWn"/>
<outlet property="vwrGeneral" destination="BUt-lg-GPp" id="PC2-Sj-V4Q"/>
@ -1056,13 +1055,13 @@
</constraints>
<point key="canvasLocation" x="-392" y="-704"/>
</visualEffectView>
<visualEffectView blendingMode="behindWindow" material="sidebar" state="followsWindowActiveState" id="Qd7-ln-nNO" userLabel="vwrDangerZone">
<visualEffectView blendingMode="behindWindow" material="sidebar" state="followsWindowActiveState" id="Qd7-ln-nNO" userLabel="vwrDevZone">
<rect key="frame" x="0.0" y="0.0" width="445" height="261"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lblControlDangerZoneTitleDescription" userLabel="lblControlDangerZoneTitleDescription">
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lblControlDevZoneTitleDescription" userLabel="lblControlDevZoneTitleDescription">
<rect key="frame" x="18" y="211" width="409" height="30"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" id="lblDangerZoneTitleDescription">
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" id="lblDevZoneTitleDescription">
<font key="font" metaFont="cellTitle"/>
<string key="title">Warning: This page is for testing future features.
Features listed here may not work as expected.</string>
@ -1073,12 +1072,12 @@ Features listed here may not work as expected.</string>
<box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="P1o-bW-Tjn">
<rect key="frame" x="20" y="200" width="405" height="5"/>
</box>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tglControlDangerZoneIMKCandidate" userLabel="tglControlDangerZoneIMKCandidate">
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tglControlDevZoneIMKCandidate" userLabel="tglControlDevZoneIMKCandidate">
<rect key="frame" x="19" y="178.5" width="406" height="17"/>
<constraints>
<constraint firstAttribute="height" constant="16" id="1fy-CP-mlB"/>
</constraints>
<buttonCell key="cell" type="check" title="Use IMK Candidate Window instead (will reboot the IME)" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="tglDangerZoneIMKCandidate" userLabel="tglDangerZoneIMKCandidate">
<buttonCell key="cell" type="check" title="Use IMK Candidate Window instead (will reboot the IME)" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="tglDevZoneIMKCandidate" userLabel="tglDevZoneIMKCandidate">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="cellTitle"/>
</buttonCell>
@ -1087,20 +1086,20 @@ Features listed here may not work as expected.</string>
<binding destination="32" name="value" keyPath="values.UseIMKCandidateWindow" id="XjP-hu-rUm"/>
</connections>
</button>
<textField wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lblControlDangerZoneIMKCandidate" userLabel="lblControlDangerZoneIMKCandidate">
<textField wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lblControlDevZoneIMKCandidate" userLabel="lblControlDevZoneIMKCandidate">
<rect key="frame" x="18" y="156" width="409" height="14"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="left" title="Candidate selection keys are not yet available in IMK candidate window." id="lblDangerZoneIMKCandidate">
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="left" title="Candidate selection keys are not yet available in IMK candidate window." id="lblDevZoneIMKCandidate">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tglControlDangerZoneCandidateFont" userLabel="tglControlDangerZoneCandidateFont">
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tglControlDevZoneCandidateFont" userLabel="tglControlDevZoneCandidateFont">
<rect key="frame" x="19" y="132.5" width="406" height="18"/>
<constraints>
<constraint firstAttribute="height" constant="17" id="eCc-Cc-xvc"/>
</constraints>
<buttonCell key="cell" type="check" title="Use .langIdentifier to handle UI font in candidate window" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="tglDangerZoneCandidateFont" userLabel="tglDangerZoneCandidateFont">
<buttonCell key="cell" type="check" title="Use .langIdentifier to handle UI font in candidate window" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="tglDevZoneCandidateFont" userLabel="tglDevZoneCandidateFont">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="cellTitle"/>
</buttonCell>
@ -1108,12 +1107,12 @@ Features listed here may not work as expected.</string>
<binding destination="32" name="value" keyPath="values.HandleDefaultCandidateFontsByLangIdentifier" id="EEd-Z8-b5S"/>
</connections>
</button>
<textField wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lblControlDangerZoneCandidateFont" userLabel="lblControlDangerZoneCandidateFont">
<textField wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lblControlDevZoneCandidateFont" userLabel="lblControlDevZoneCandidateFont">
<rect key="frame" x="18" y="82" width="409" height="42"/>
<constraints>
<constraint firstAttribute="width" constant="405" id="1OL-J2-FUX"/>
</constraints>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="left" id="lblDangerZoneCandidateFont">
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="left" id="lblDevZoneCandidateFont">
<font key="font" metaFont="smallSystem"/>
<string key="title">This only works since macOS 12 with non-IMK candidate window as an alternative wordaround of Apple Bug Report #FB10978412. Apple should patch that for macOS 11 and later.</string>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
@ -1122,24 +1121,24 @@ Features listed here may not work as expected.</string>
</textField>
</subviews>
<constraints>
<constraint firstItem="lblControlDangerZoneTitleDescription" firstAttribute="leading" secondItem="Qd7-ln-nNO" secondAttribute="leading" constant="20" symbolic="YES" id="0Ia-ut-ksj"/>
<constraint firstItem="tglControlDangerZoneIMKCandidate" firstAttribute="top" secondItem="P1o-bW-Tjn" secondAttribute="bottom" constant="7.5" id="3as-Db-NwQ"/>
<constraint firstItem="tglControlDangerZoneIMKCandidate" firstAttribute="leading" secondItem="lblControlDangerZoneIMKCandidate" secondAttribute="leading" id="59X-nd-Otf"/>
<constraint firstItem="lblControlDangerZoneIMKCandidate" firstAttribute="leading" secondItem="tglControlDangerZoneCandidateFont" secondAttribute="leading" id="COk-L6-3R8"/>
<constraint firstItem="lblControlDangerZoneCandidateFont" firstAttribute="top" secondItem="tglControlDangerZoneCandidateFont" secondAttribute="bottom" constant="8.5" id="EyK-gG-Xhd"/>
<constraint firstItem="P1o-bW-Tjn" firstAttribute="trailing" secondItem="tglControlDangerZoneIMKCandidate" secondAttribute="trailing" id="LM7-ov-mng"/>
<constraint firstItem="lblControlDangerZoneTitleDescription" firstAttribute="trailing" secondItem="P1o-bW-Tjn" secondAttribute="trailing" id="LqC-ii-aOO"/>
<constraint firstAttribute="bottom" relation="lessThanOrEqual" secondItem="lblControlDangerZoneCandidateFont" secondAttribute="bottom" constant="82" id="NVG-bX-Lgd"/>
<constraint firstItem="tglControlDangerZoneCandidateFont" firstAttribute="top" secondItem="lblControlDangerZoneIMKCandidate" secondAttribute="bottom" constant="6.5" id="UXh-8X-5wM"/>
<constraint firstItem="lblControlDangerZoneTitleDescription" firstAttribute="leading" secondItem="P1o-bW-Tjn" secondAttribute="leading" id="Wc3-Oe-D2E"/>
<constraint firstItem="P1o-bW-Tjn" firstAttribute="top" secondItem="lblControlDangerZoneTitleDescription" secondAttribute="bottom" constant="8" symbolic="YES" id="Whf-Gf-g65"/>
<constraint firstItem="lblControlDangerZoneIMKCandidate" firstAttribute="top" secondItem="tglControlDangerZoneIMKCandidate" secondAttribute="bottom" constant="8.5" id="awf-DD-u2k"/>
<constraint firstItem="P1o-bW-Tjn" firstAttribute="leading" secondItem="tglControlDangerZoneIMKCandidate" secondAttribute="leading" id="f2q-KJ-bvO"/>
<constraint firstItem="tglControlDangerZoneCandidateFont" firstAttribute="trailing" secondItem="lblControlDangerZoneCandidateFont" secondAttribute="trailing" id="gWx-J5-kgO"/>
<constraint firstItem="tglControlDangerZoneIMKCandidate" firstAttribute="trailing" secondItem="lblControlDangerZoneIMKCandidate" secondAttribute="trailing" id="lQf-A0-TPV"/>
<constraint firstItem="tglControlDangerZoneCandidateFont" firstAttribute="leading" secondItem="lblControlDangerZoneCandidateFont" secondAttribute="leading" id="oCd-O4-Qfg"/>
<constraint firstItem="lblControlDangerZoneTitleDescription" firstAttribute="top" secondItem="Qd7-ln-nNO" secondAttribute="top" constant="20" symbolic="YES" id="vYg-x4-tfo"/>
<constraint firstItem="lblControlDangerZoneIMKCandidate" firstAttribute="trailing" secondItem="tglControlDangerZoneCandidateFont" secondAttribute="trailing" id="z47-zE-rak"/>
<constraint firstItem="lblControlDevZoneTitleDescription" firstAttribute="leading" secondItem="Qd7-ln-nNO" secondAttribute="leading" constant="20" symbolic="YES" id="0Ia-ut-ksj"/>
<constraint firstItem="tglControlDevZoneIMKCandidate" firstAttribute="top" secondItem="P1o-bW-Tjn" secondAttribute="bottom" constant="7.5" id="3as-Db-NwQ"/>
<constraint firstItem="tglControlDevZoneIMKCandidate" firstAttribute="leading" secondItem="lblControlDevZoneIMKCandidate" secondAttribute="leading" id="59X-nd-Otf"/>
<constraint firstItem="lblControlDevZoneIMKCandidate" firstAttribute="leading" secondItem="tglControlDevZoneCandidateFont" secondAttribute="leading" id="COk-L6-3R8"/>
<constraint firstItem="lblControlDevZoneCandidateFont" firstAttribute="top" secondItem="tglControlDevZoneCandidateFont" secondAttribute="bottom" constant="8.5" id="EyK-gG-Xhd"/>
<constraint firstItem="P1o-bW-Tjn" firstAttribute="trailing" secondItem="tglControlDevZoneIMKCandidate" secondAttribute="trailing" id="LM7-ov-mng"/>
<constraint firstItem="lblControlDevZoneTitleDescription" firstAttribute="trailing" secondItem="P1o-bW-Tjn" secondAttribute="trailing" id="LqC-ii-aOO"/>
<constraint firstAttribute="bottom" relation="lessThanOrEqual" secondItem="lblControlDevZoneCandidateFont" secondAttribute="bottom" constant="82" id="NVG-bX-Lgd"/>
<constraint firstItem="tglControlDevZoneCandidateFont" firstAttribute="top" secondItem="lblControlDevZoneIMKCandidate" secondAttribute="bottom" constant="6.5" id="UXh-8X-5wM"/>
<constraint firstItem="lblControlDevZoneTitleDescription" firstAttribute="leading" secondItem="P1o-bW-Tjn" secondAttribute="leading" id="Wc3-Oe-D2E"/>
<constraint firstItem="P1o-bW-Tjn" firstAttribute="top" secondItem="lblControlDevZoneTitleDescription" secondAttribute="bottom" constant="8" symbolic="YES" id="Whf-Gf-g65"/>
<constraint firstItem="lblControlDevZoneIMKCandidate" firstAttribute="top" secondItem="tglControlDevZoneIMKCandidate" secondAttribute="bottom" constant="8.5" id="awf-DD-u2k"/>
<constraint firstItem="P1o-bW-Tjn" firstAttribute="leading" secondItem="tglControlDevZoneIMKCandidate" secondAttribute="leading" id="f2q-KJ-bvO"/>
<constraint firstItem="tglControlDevZoneCandidateFont" firstAttribute="trailing" secondItem="lblControlDevZoneCandidateFont" secondAttribute="trailing" id="gWx-J5-kgO"/>
<constraint firstItem="tglControlDevZoneIMKCandidate" firstAttribute="trailing" secondItem="lblControlDevZoneIMKCandidate" secondAttribute="trailing" id="lQf-A0-TPV"/>
<constraint firstItem="tglControlDevZoneCandidateFont" firstAttribute="leading" secondItem="lblControlDevZoneCandidateFont" secondAttribute="leading" id="oCd-O4-Qfg"/>
<constraint firstItem="lblControlDevZoneTitleDescription" firstAttribute="top" secondItem="Qd7-ln-nNO" secondAttribute="top" constant="20" symbolic="YES" id="vYg-x4-tfo"/>
<constraint firstItem="lblControlDevZoneIMKCandidate" firstAttribute="trailing" secondItem="tglControlDevZoneCandidateFont" secondAttribute="trailing" id="z47-zE-rak"/>
</constraints>
<point key="canvasLocation" x="-393.5" y="-70.5"/>
</visualEffectView>

View File

@ -63,6 +63,9 @@
"jQC-12-UuK.ibShadowedObjectValues[0]" = "Item 1";
"jQC-12-UuK.ibShadowedObjectValues[1]" = "Item 2";
"jQC-12-UuK.ibShadowedObjectValues[2]" = "Item 3";
"lblDevZoneCandidateFont.title" = "This only works since macOS 12 with non-IMK candidate window as an alternative wordaround of Apple Bug Report #FB10978412. Apple should patch that for macOS 11 and later.";
"lblDevZoneIMKCandidate.title" = "Candidate selection keys are not yet available in IMK candidate window.";
"lblDevZoneTitleDescription.title" = "Warning: This page is for testing future features. \nFeatures listed here may not work as expected.";
"lblUpperCaseLetterKeyBehavior.title" = "Choose the behavior of Shift+Letter key with letter inputs.";
"Parser11.title" = "Secondary Pinyin with Numeral Intonation";
"Parser12.title" = "Yale Pinyin with Numeral Intonation";
@ -78,6 +81,8 @@
"rVQ-Hx-cGi.title" = "Japanese";
"s7u-Fm-dVg.title" = "Cycling Pages";
"shc-Nu-UsM.title" = "Show page buttons in candidate list";
"tglDevZoneCandidateFont.title" = "Use .langIdentifier to handle UI font in candidate window";
"tglDevZoneIMKCandidate.title" = "Use IMK Candidate Window instead (will reboot the IME)";
"TXr-FF-ehw.title" = "Traditional Chinese";
"ueU-Rz-a1C.title" = "Choose the behavior of (Shift+)Tab key in the candidate window.";
"VdT-fw-7pQ.title" = "Debug Mode";
@ -102,8 +107,3 @@
"XqL-rf-X6d.title" = "Space to +cycle pages, Shift+Space to +cycle candidates";
"xrE-8T-WKO.label" = "Advanced";
"ZEv-Q2-mYL.title" = "Change user interface language (will reboot the IME).";
"lblDangerZoneTitleDescription.title" = "Warning: This page is for testing future features. \nFeatures listed here may not work as expected.";
"tglDangerZoneIMKCandidate.title" = "Use IMK Candidate Window instead (will reboot the IME)";
"lblDangerZoneIMKCandidate.title" = "Candidate selection keys are not yet available in IMK candidate window.";
"tglDangerZoneCandidateFont.title" = "Use .langIdentifier to handle UI font in candidate window";
"lblDangerZoneCandidateFont.title" = "This only works since macOS 12 with non-IMK candidate window as an alternative wordaround of Apple Bug Report #FB10978412. Apple should patch that for macOS 11 and later.";

View File

@ -63,6 +63,9 @@
"jQC-12-UuK.ibShadowedObjectValues[0]" = "Item 1";
"jQC-12-UuK.ibShadowedObjectValues[1]" = "Item 2";
"jQC-12-UuK.ibShadowedObjectValues[2]" = "Item 3";
"lblDevZoneCandidateFont.title" = "これは Apple Bug Report #FB10978412 の臨時対策であり、macOS 12 からの macOS に効き、IMK 以外の候補陳列ウィンドウに作用する。Apple は macOS 11 からの macOS のために該当 Bug を修復すべきである。";
"lblDevZoneIMKCandidate.title" = "IMK 候補陳列ウィンドウで言選り用キーは現時点で利用不可。";
"lblDevZoneTitleDescription.title" = "警告:これからの新機能テストのために作ったページですから、\nここで陳列されている諸機能は予想通り動けるだと思わないでください。";
"lblUpperCaseLetterKeyBehavior.title" = "Shift+文字キーの行為をご指定ください。";
"Parser11.title" = "国音二式 (ローマ字+数字音調)";
"Parser12.title" = "イェール弁音 (ローマ字+数字音調)";
@ -78,6 +81,8 @@
"rVQ-Hx-cGi.title" = "和語";
"s7u-Fm-dVg.title" = "ページ";
"shc-Nu-UsM.title" = "ページボタンを表示";
"tglDevZoneCandidateFont.title" = "「.langIdentifier」を使って候補陳列ウィンドウのフォントを取り扱う";
"tglDevZoneIMKCandidate.title" = "IMK 候補陳列ウィンドウを起用(入力アプリは自動的に再起動)";
"TXr-FF-ehw.title" = "繁体中国語";
"ueU-Rz-a1C.title" = "入力候補陳列での (Shift+)Tab キーの輪番切替対象をご指定ください。";
"VdT-fw-7pQ.title" = "欠陥辿着モード";
@ -102,8 +107,3 @@
"XqL-rf-X6d.title" = "Space で次のページ、Shift+Space で次の候補文字を";
"xrE-8T-WKO.label" = "詳細";
"ZEv-Q2-mYL.title" = "アプリ表示用言語をご指定ください、そして入力アプリは自動的に再起動。";
"lblDangerZoneTitleDescription.title" = "警告:これからの新機能テストのために作ったページですから、\nここで陳列されている諸機能は予想通り動けるだと思わないでください。";
"tglDangerZoneIMKCandidate.title" = "IMK 候補陳列ウィンドウを起用(入力アプリは自動的に再起動)";
"lblDangerZoneIMKCandidate.title" = "IMK 候補陳列ウィンドウで言選り用キーは現時点で利用不可。";
"tglDangerZoneCandidateFont.title" = "「.langIdentifier」を使って候補陳列ウィンドウのフォントを取り扱う";
"lblDangerZoneCandidateFont.title" = "これは Apple Bug Report #FB10978412 の臨時対策であり、macOS 12 からの macOS に効き、IMK 以外の候補陳列ウィンドウに作用する。Apple は macOS 11 からの macOS のために該当 Bug を修復すべきである。";

View File

@ -63,6 +63,9 @@
"jQC-12-UuK.ibShadowedObjectValues[0]" = "Item 1";
"jQC-12-UuK.ibShadowedObjectValues[1]" = "Item 2";
"jQC-12-UuK.ibShadowedObjectValues[2]" = "Item 3";
"lblDevZoneCandidateFont.title" = "该方法是 Apple Bug Report #FB10978412 的保守治疗方案,用来仅针对 macOS 12 开始的系统,且仅对非 IMK 选字窗起作用。Apple 应该对 macOS 11 开始的系统修复这个 Bug。";
"lblDevZoneIMKCandidate.title" = "IMK 选字窗目前暂时无法正常使用选字键。";
"lblDevZoneTitleDescription.title" = "警告:该页面仅作未来功能测试所用。\n在此列出的功能并非处于完全可用之状态。";
"lblUpperCaseLetterKeyBehavior.title" = "指定 Shift+字母键 的行为。";
"Parser11.title" = "国音二式+数字标调";
"Parser12.title" = "耶鲁拼音+数字标调";
@ -78,6 +81,8 @@
"rVQ-Hx-cGi.title" = "和语";
"s7u-Fm-dVg.title" = "轮替页面";
"shc-Nu-UsM.title" = "在选字窗内显示翻页按钮";
"tglDevZoneCandidateFont.title" = "使用 .langIdentifier 来管理选字窗的预设介面字型";
"tglDevZoneIMKCandidate.title" = "启用 IMK 选字窗(会自动重启输入法)";
"TXr-FF-ehw.title" = "繁体中文";
"ueU-Rz-a1C.title" = "指定 (Shift+)Tab 热键在选字窗内的轮替操作对象。";
"VdT-fw-7pQ.title" = "侦错模式";
@ -102,8 +107,3 @@
"XqL-rf-X6d.title" = "Space 换下一页Shift+Space 换选下一个候选字。";
"xrE-8T-WKO.label" = "进阶";
"ZEv-Q2-mYL.title" = "变更使用者界面语言,会自动重新启动输入法。";
"lblDangerZoneTitleDescription.title" = "警告:该页面仅作未来功能测试所用。\n在此列出的功能并非处于完全可用之状态。";
"tglDangerZoneIMKCandidate.title" = "启用 IMK 选字窗(会自动重启输入法)";
"lblDangerZoneIMKCandidate.title" = "IMK 选字窗目前暂时无法正常使用选字键。";
"tglDangerZoneCandidateFont.title" = "使用 .langIdentifier 来管理选字窗的预设介面字型";
"lblDangerZoneCandidateFont.title" = "该方法是 Apple Bug Report #FB10978412 的保守治疗方案,用来仅针对 macOS 12 开始的系统,且仅对非 IMK 选字窗起作用。Apple 应该对 macOS 11 开始的系统修复这个 Bug。";

View File

@ -63,6 +63,9 @@
"jQC-12-UuK.ibShadowedObjectValues[0]" = "Item 1";
"jQC-12-UuK.ibShadowedObjectValues[1]" = "Item 2";
"jQC-12-UuK.ibShadowedObjectValues[2]" = "Item 3";
"lblDevZoneCandidateFont.title" = "該方法是 Apple Bug Report #FB10978412 的保守治療方案,用來僅針對 macOS 12 開始的系統,且僅對非 IMK 選字窗起作用。Apple 應該對 macOS 11 開始的系統修復這個 Bug。";
"lblDevZoneIMKCandidate.title" = "IMK 選字窗目前暫時無法正常使用選字鍵。";
"lblDevZoneTitleDescription.title" = "警告:該頁面僅作未來功能測試所用。\n在此列出的功能並非處於完全可用之狀態。";
"lblUpperCaseLetterKeyBehavior.title" = "指定 Shift+字母鍵 的行為。";
"Parser11.title" = "國音二式+數字標調";
"Parser12.title" = "耶魯拼音+數字標調";
@ -78,6 +81,8 @@
"rVQ-Hx-cGi.title" = "和語";
"s7u-Fm-dVg.title" = "輪替頁面";
"shc-Nu-UsM.title" = "在選字窗內顯示翻頁按鈕";
"tglDevZoneCandidateFont.title" = "使用 .langIdentifier 來管理選字窗的預設介面字型";
"tglDevZoneIMKCandidate.title" = "啟用 IMK 選字窗(會自動重啟輸入法)";
"TXr-FF-ehw.title" = "繁體中文";
"ueU-Rz-a1C.title" = "指定 (Shift+)Tab 熱鍵在選字窗內的輪替操作對象。";
"VdT-fw-7pQ.title" = "偵錯模式";
@ -102,8 +107,3 @@
"XqL-rf-X6d.title" = "Space 換下一頁Shift+Space 換選下一個候選字";
"xrE-8T-WKO.label" = "進階";
"ZEv-Q2-mYL.title" = "變更使用者介面語言,會自動重新啟動輸入法。";
"lblDangerZoneTitleDescription.title" = "警告:該頁面僅作未來功能測試所用。\n在此列出的功能並非處於完全可用之狀態。";
"tglDangerZoneIMKCandidate.title" = "啟用 IMK 選字窗(會自動重啟輸入法)";
"lblDangerZoneIMKCandidate.title" = "IMK 選字窗目前暫時無法正常使用選字鍵。";
"tglDangerZoneCandidateFont.title" = "使用 .langIdentifier 來管理選字窗的預設介面字型";
"lblDangerZoneCandidateFont.title" = "該方法是 Apple Bug Report #FB10978412 的保守治療方案,用來僅針對 macOS 12 開始的系統,且僅對非 IMK 選字窗起作用。Apple 應該對 macOS 11 開始的系統修復這個 Bug。";

View File

@ -40,7 +40,7 @@
5B62A35327AE89C400A19448 /* InputSourceHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B62A33127AE792F00A19448 /* InputSourceHelper.swift */; };
5B73FB5E27B2BE1300E9BF49 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 5B73FB6027B2BE1300E9BF49 /* InfoPlist.strings */; };
5B782EC4280C243C007276DE /* KeyHandler_HandleCandidate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B782EC3280C243C007276DE /* KeyHandler_HandleCandidate.swift */; };
5B78EE0D28A562B4009456C1 /* suiPrefPaneDangerZone.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B78EE0C28A562B4009456C1 /* suiPrefPaneDangerZone.swift */; };
5B78EE0D28A562B4009456C1 /* suiPrefPaneDevZone.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B78EE0C28A562B4009456C1 /* suiPrefPaneDevZone.swift */; };
5B7BC4B027AFFBE800F66C24 /* frmPrefWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5B7BC4AE27AFFBE800F66C24 /* frmPrefWindow.xib */; };
5B7F225D2808501000DDD3CB /* KeyHandler_HandleInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B7F225C2808501000DDD3CB /* KeyHandler_HandleInput.swift */; };
5B84579E2871AD2200C93B01 /* convdict.plist in Resources */ = {isa = PBXBuildFile; fileRef = 5B84579C2871AD2200C93B01 /* convdict.plist */; };
@ -247,7 +247,7 @@
5B73FB5427B2BD6900E9BF49 /* PhraseEditor-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "PhraseEditor-Info.plist"; path = "UserPhraseEditor/PhraseEditor-Info.plist"; sourceTree = SOURCE_ROOT; };
5B73FB5F27B2BE1300E9BF49 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
5B782EC3280C243C007276DE /* KeyHandler_HandleCandidate.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; fileEncoding = 4; indentWidth = 2; lineEnding = 0; path = KeyHandler_HandleCandidate.swift; sourceTree = "<group>"; tabWidth = 2; usesTabs = 0; };
5B78EE0C28A562B4009456C1 /* suiPrefPaneDangerZone.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = suiPrefPaneDangerZone.swift; sourceTree = "<group>"; };
5B78EE0C28A562B4009456C1 /* suiPrefPaneDevZone.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = suiPrefPaneDevZone.swift; sourceTree = "<group>"; };
5B7BC4AF27AFFBE800F66C24 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/frmPrefWindow.xib; sourceTree = "<group>"; };
5B7BC4B227AFFC0B00F66C24 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/frmPrefWindow.strings; sourceTree = "<group>"; };
5B7F225C2808501000DDD3CB /* KeyHandler_HandleInput.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; fileEncoding = 4; indentWidth = 2; lineEnding = 0; path = KeyHandler_HandleInput.swift; sourceTree = "<group>"; tabWidth = 2; usesTabs = 0; };
@ -654,7 +654,7 @@
isa = PBXGroup;
children = (
5BA9FD0C27FEDB6B002DE248 /* ctlPrefUI.swift */,
5B78EE0C28A562B4009456C1 /* suiPrefPaneDangerZone.swift */,
5B78EE0C28A562B4009456C1 /* suiPrefPaneDevZone.swift */,
5BA9FD0E27FEDB6B002DE248 /* suiPrefPaneDictionary.swift */,
5BA9FD0D27FEDB6B002DE248 /* suiPrefPaneExperience.swift */,
5BA9FD0A27FEDB6B002DE248 /* suiPrefPaneGeneral.swift */,
@ -1187,7 +1187,7 @@
5B3A87BC28597CDB0090E163 /* LMSymbolNode.swift in Sources */,
5BA9FD4327FEF3C8002DE248 /* Preferences.swift in Sources */,
5BA9FD4427FEF3C8002DE248 /* SegmentedControlStyleViewController.swift in Sources */,
5B78EE0D28A562B4009456C1 /* suiPrefPaneDangerZone.swift in Sources */,
5B78EE0D28A562B4009456C1 /* suiPrefPaneDevZone.swift in Sources */,
D47F7DCE278BFB57002F9DD7 /* ctlPrefWindow.swift in Sources */,
5BD0113D2818543900609769 /* KeyHandler_Core.swift in Sources */,
5B2170E4289FACAD00BE7304 /* 2_Walker.swift in Sources */,