PrefWindow // +onlyLoadFactoryLangModelsIfNeeded.

This commit is contained in:
ShikiSuen 2022-09-21 12:53:28 +08:00
parent 50396a42c6
commit b747dd063e
5 changed files with 31 additions and 11 deletions

View File

@ -817,11 +817,11 @@
</visualEffectView>
<userDefaultsController representsSharedInstance="YES" id="32"/>
<visualEffectView blendingMode="behindWindow" material="sidebar" state="followsWindowActiveState" id="Rnp-LM-RIF" userLabel="vwrDictionary">
<rect key="frame" x="0.0" y="0.0" width="445" height="291"/>
<rect key="frame" x="0.0" y="0.0" width="445" height="297"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<textField autoresizesSubviews="NO" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="FUV-qx-xkC">
<rect key="frame" x="18" y="255" width="409" height="16"/>
<rect key="frame" x="18" y="261" width="409" height="16"/>
<constraints>
<constraint firstAttribute="height" constant="16" id="al8-y9-Y36"/>
</constraints>
@ -832,10 +832,10 @@
</textFieldCell>
</textField>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="rSs-NT-FdD">
<rect key="frame" x="20" y="222" width="405" height="21"/>
<rect key="frame" x="20" y="229" width="405" height="20"/>
<subviews>
<button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MPN-np-SbT" userLabel="btnOpenFolderToSpecifyForUserData">
<rect key="frame" x="346" y="0.0" width="30" height="21"/>
<rect key="frame" x="346" y="-1" width="30" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="19" id="BjU-G3-RBx"/>
<constraint firstAttribute="width" constant="30" id="T0S-6A-QBe"/>
@ -849,7 +849,7 @@
</buttonCell>
</button>
<button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="jXe-xz-9Sd" userLabel="btnOpenFolderToSpecifyForUserData">
<rect key="frame" x="375" y="0.0" width="30" height="21"/>
<rect key="frame" x="375" y="-1" width="30" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="k59-3x-inJ"/>
<constraint firstAttribute="height" constant="19" id="rUV-D4-dXJ"/>
@ -863,7 +863,7 @@
</connections>
</button>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="s7t-Kk-EPu">
<rect key="frame" x="0.0" y="1" width="347" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="347" height="20"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" allowsUndo="NO" borderStyle="border" baseWritingDirection="leftToRight" alignment="left" drawsBackground="YES" usesSingleLineMode="YES" id="REC-r4-T7m">
<font key="font" metaFont="cellTitle"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@ -885,15 +885,16 @@
<constraint firstItem="jXe-xz-9Sd" firstAttribute="leading" secondItem="MPN-np-SbT" secondAttribute="trailing" constant="-1" id="TzL-iY-0T4"/>
<constraint firstItem="s7t-Kk-EPu" firstAttribute="top" secondItem="rSs-NT-FdD" secondAttribute="top" id="Z4f-hD-uEP"/>
<constraint firstItem="s7t-Kk-EPu" firstAttribute="leading" secondItem="MPN-np-SbT" secondAttribute="trailing" constant="-376" id="b0g-zU-tEj"/>
<constraint firstItem="s7t-Kk-EPu" firstAttribute="centerY" secondItem="rSs-NT-FdD" secondAttribute="centerY" id="ekS-X5-lSi"/>
<constraint firstItem="s7t-Kk-EPu" firstAttribute="firstBaseline" secondItem="MPN-np-SbT" secondAttribute="baseline" id="fks-dt-ki0"/>
<constraint firstItem="jXe-xz-9Sd" firstAttribute="leading" secondItem="s7t-Kk-EPu" secondAttribute="trailing" constant="28" id="ijw-91-TDK"/>
</constraints>
</customView>
<stackView distribution="fill" orientation="vertical" alignment="leading" spacing="6" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6xK-1z-A14">
<rect key="frame" x="20" y="35" width="373" height="170"/>
<rect key="frame" x="20" y="20" width="373" height="192"/>
<subviews>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="p7V-IN-OTr">
<rect key="frame" x="-1" y="153.5" width="336" height="17"/>
<rect key="frame" x="-1" y="175.5" width="336" height="17"/>
<constraints>
<constraint firstAttribute="height" constant="16" id="mNc-L0-CKM"/>
</constraints>
@ -905,6 +906,20 @@
<binding destination="32" name="value" keyPath="values.ShouldAutoReloadUserDataFiles" id="XTI-ol-DVN"/>
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZQK-w3-FRb">
<rect key="frame" x="-1" y="153.5" width="274" height="17"/>
<constraints>
<constraint firstAttribute="height" constant="16" id="N4G-qa-l8w"/>
</constraints>
<buttonCell key="cell" type="check" title="Only load factory language models if needed" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="chkOnlyLoadFactoryLangModelsIfNeeded" userLabel="chkOnlyLoadFactoryLangModelsIfNeeded">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="cellTitle"/>
</buttonCell>
<connections>
<action selector="toggleSymbolInputEnabled:" target="-2" id="AeU-Ii-tOF"/>
<binding destination="32" name="value" keyPath="values.OnlyLoadFactoryLangModelsIfNeeded" id="TJ2-Fj-pca"/>
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="O4B-Z2-XYi">
<rect key="frame" x="-1" y="131.5" width="345" height="17"/>
<constraints>
@ -1008,6 +1023,7 @@
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
</visibilityPriorities>
<customSpacing>
<real value="3.4028234663852886e+38"/>
@ -1018,21 +1034,21 @@
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
</customSpacing>
</stackView>
</subviews>
<constraints>
<constraint firstItem="rSs-NT-FdD" firstAttribute="leading" secondItem="6xK-1z-A14" secondAttribute="leading" id="CK8-dQ-ySn"/>
<constraint firstItem="6xK-1z-A14" firstAttribute="top" secondItem="rSs-NT-FdD" secondAttribute="bottom" constant="17" id="LED-2Q-bcD"/>
<constraint firstItem="6xK-1z-A14" firstAttribute="top" secondItem="rSs-NT-FdD" secondAttribute="bottom" constant="17" id="TBe-ue-NfB"/>
<constraint firstItem="rSs-NT-FdD" firstAttribute="trailing" secondItem="FUV-qx-xkC" secondAttribute="trailing" id="TMN-fZ-cX3"/>
<constraint firstItem="rSs-NT-FdD" firstAttribute="top" secondItem="FUV-qx-xkC" secondAttribute="bottom" constant="12" id="chG-2O-yET"/>
<constraint firstItem="FUV-qx-xkC" firstAttribute="leading" secondItem="Rnp-LM-RIF" secondAttribute="leading" constant="20" id="eeq-aE-dxE"/>
<constraint firstItem="rSs-NT-FdD" firstAttribute="leading" secondItem="FUV-qx-xkC" secondAttribute="leading" id="hdI-Cs-T1F"/>
<constraint firstItem="FUV-qx-xkC" firstAttribute="top" secondItem="Rnp-LM-RIF" secondAttribute="top" constant="20" id="icd-Uq-QPT"/>
<constraint firstAttribute="trailing" secondItem="FUV-qx-xkC" secondAttribute="trailing" constant="20" id="sj4-Eq-yLw"/>
<constraint firstAttribute="bottom" secondItem="rSs-NT-FdD" secondAttribute="bottom" constant="222" id="u53-qg-dlq"/>
</constraints>
<point key="canvasLocation" x="-400.5" y="-352.5"/>
<point key="canvasLocation" x="-400.5" y="-349.5"/>
</visualEffectView>
<visualEffectView blendingMode="behindWindow" material="sidebar" state="followsWindowActiveState" id="U4q-xw-mc0" userLabel="vwrKeyboard">
<rect key="frame" x="0.0" y="0.0" width="445" height="355"/>

View File

@ -47,6 +47,7 @@
"chkFetchSuggestionsFromUserOverrideModel.title" = "Applying typing suggestions from half-life user override model";
"chkHardenVerticalPunctuations.title" = "Harden vertical punctuations during vertical typing";
"chkKeepReadingUponCompositionError.title" = "Allow backspace-editing miscomposed readings";
"chkOnlyLoadFactoryLangModelsIfNeeded.title" = "Only load factory language models if needed";
"chkUseFixecCandidateOrderOnSelection.title" = "Always use fixed listing order in candidate window";
"DbW-eq-ZdB.title" = "Starlight";
"dIN-TZ-67g.title" = "Space to +cycle candidates, Shift+Space to +cycle pages";

View File

@ -47,6 +47,7 @@
"chkFetchSuggestionsFromUserOverrideModel.title" = "入力中で臨時記憶モジュールからお薦めの候補を自動的に選ぶ";
"chkHardenVerticalPunctuations.title" = "縦書きの時に、引用符・括弧などを強制的に縦書き文字と変換する(不推奨)";
"chkKeepReadingUponCompositionError.title" = "効かぬ音読みを BackSpace で再編集";
"chkOnlyLoadFactoryLangModelsIfNeeded.title" = "必要性を判断してから内蔵辞書を読み込む";
"chkUseFixecCandidateOrderOnSelection.title" = "候補文字を固定順番で陳列する";
"DbW-eq-ZdB.title" = "星光";
"dIN-TZ-67g.title" = "Shift+Space で次のページ、Space で次の候補文字を";

View File

@ -47,6 +47,7 @@
"chkFetchSuggestionsFromUserOverrideModel.title" = "在敲字时自动套用来自半衰记忆模组的建议";
"chkHardenVerticalPunctuations.title" = "在纵排书写时,强制转换标点为纵排形式(不推荐)";
"chkKeepReadingUponCompositionError.title" = "允许对无效的读音使用 BackSpace 编辑";
"chkOnlyLoadFactoryLangModelsIfNeeded.title" = "按需载入简繁体模式的原厂辞典资料";
"chkUseFixecCandidateOrderOnSelection.title" = "以固定顺序来陈列选字窗内的候选字";
"DbW-eq-ZdB.title" = "星光";
"dIN-TZ-67g.title" = "Shift+Space 换下一页Space 换选下一个候选字。";

View File

@ -47,6 +47,7 @@
"chkFetchSuggestionsFromUserOverrideModel.title" = "在敲字時自動套用來自半衰記憶模組的建議";
"chkHardenVerticalPunctuations.title" = "在縱排書寫時,強制轉換標點為縱排形式(不推薦)";
"chkKeepReadingUponCompositionError.title" = "允許對無效的讀音使用 BackSpace 編輯";
"chkOnlyLoadFactoryLangModelsIfNeeded.title" = "按需載入簡繁體模式的原廠辭典資料";
"chkUseFixecCandidateOrderOnSelection.title" = "以固定順序來陳列選字窗內的候選字";
"DbW-eq-ZdB.title" = "星光";
"dIN-TZ-67g.title" = "Shift+Space 換下一頁Space 換選下一個候選字";