PrefUI // +useSpaceToCommitHighlightedSCPCCandidate().
This commit is contained in:
parent
1338e29a3e
commit
e8cd2ebb8f
|
@ -37,6 +37,9 @@ struct VwrPrefPaneBehavior: View {
|
|||
@Backport.AppStorage(wrappedValue: false, UserDef.kSpecifyShiftSpaceKeyBehavior.rawValue)
|
||||
private var specifyShiftSpaceKeyBehavior: Bool
|
||||
|
||||
@Backport.AppStorage(wrappedValue: true, UserDef.kUseSpaceToCommitHighlightedSCPCCandidate.rawValue)
|
||||
private var useSpaceToCommitHighlightedSCPCCandidate: Bool
|
||||
|
||||
@Backport.AppStorage(wrappedValue: true, UserDef.kAlsoConfirmAssociatedCandidatesByEnter.rawValue)
|
||||
private var alsoConfirmAssociatedCandidatesByEnter: Bool
|
||||
|
||||
|
@ -146,6 +149,10 @@ struct VwrPrefPaneBehavior: View {
|
|||
.pickerStyle(RadioGroupPickerStyle())
|
||||
Text(LocalizedStringKey("Choose the behavior of (Shift+)Space key with candidates."))
|
||||
.preferenceDescription(maxWidth: CtlPrefUIShared.maxDescriptionWidth)
|
||||
Toggle(
|
||||
LocalizedStringKey("Use Space to confirm highlighted candidate in Per-Char Select Mode"),
|
||||
isOn: $useSpaceToCommitHighlightedSCPCCandidate
|
||||
).controlSize(.small)
|
||||
}
|
||||
SSPreferences.Settings.Section(title: "Shift+Letter:".localized, bottomDivider: true) {
|
||||
Picker(
|
||||
|
|
|
@ -354,6 +354,7 @@
|
|||
"Use ESC key to clear the entire input buffer" = "Use ESC key to clear the entire input buffer";
|
||||
"Use IMK Candidate Window instead of Tadokoro" = "Use IMK Candidate Window instead of Tadokoro";
|
||||
"Use only one row / column in candidate window." = "Use only one row / column in candidate window.";
|
||||
"Use Space to confirm highlighted candidate in Per-Char Select Mode" = "Use Space to confirm highlighted candidate in Per-Char Select Mode";
|
||||
"Vertical" = "Vertical";
|
||||
"Warning: This page is for testing future features. \nFeatures listed here may not work as expected." = "Warning: This page is for testing future features. \nFeatures listed here may not work as expected.";
|
||||
"Wade-Giles Pinyin with Numeral Intonation" = "Wade-Giles Pinyin with Numeral Intonation";
|
||||
|
|
|
@ -354,6 +354,7 @@
|
|||
"Use ESC key to clear the entire input buffer" = "Use ESC key to clear the entire input buffer";
|
||||
"Use IMK Candidate Window instead of Tadokoro" = "Use IMK Candidate Window instead of Tadokoro";
|
||||
"Use only one row / column in candidate window." = "Use only one row / column in candidate window.";
|
||||
"Use Space to confirm highlighted candidate in Per-Char Select Mode" = "Use Space to confirm highlighted candidate in Per-Char Select Mode";
|
||||
"Vertical" = "Vertical";
|
||||
"Warning: This page is for testing future features. \nFeatures listed here may not work as expected." = "Warning: This page is for testing future features. \nFeatures listed here may not work as expected.";
|
||||
"Wade-Giles Pinyin with Numeral Intonation" = "Wade-Giles Pinyin with Numeral Intonation";
|
||||
|
|
|
@ -355,6 +355,7 @@
|
|||
"Use ESC key to clear the entire input buffer" = "ESC キーで入力緩衝列を消す";
|
||||
"Use IMK Candidate Window instead of Tadokoro" = "IMK 候補陳列ウィンドウを起用";
|
||||
"Use only one row / column in candidate window." = "ただ1つ行・列で文字候補を陳列。";
|
||||
"Use Space to confirm highlighted candidate in Per-Char Select Mode" = "全候補入力の場合、ハイライト候補を Space キーで確認";
|
||||
"Vertical" = "縦型陳列";
|
||||
"Warning: This page is for testing future features. \nFeatures listed here may not work as expected." = "警告:これからの新機能テストのために作ったページですから、\nここで陳列されている諸機能は予想通り動けるだと思わないでください。";
|
||||
"Wade-Giles Pinyin with Numeral Intonation" = "ウェード式弁音 (ローマ字+数字音調)";
|
||||
|
|
|
@ -354,6 +354,7 @@
|
|||
"Use ESC key to clear the entire input buffer" = "敲 ESC 键以清空整个组字缓冲区";
|
||||
"Use IMK Candidate Window instead of Tadokoro" = "启用与 macOS 内建输入法相同的 IMK 选字窗";
|
||||
"Use only one row / column in candidate window." = "仅以单行/单列来陈列候选字。";
|
||||
"Use Space to confirm highlighted candidate in Per-Char Select Mode" = "在逐字选字模式当中使用空格键确认当前高亮候选字";
|
||||
"Vertical" = "纵向布局";
|
||||
"Warning: This page is for testing future features. \nFeatures listed here may not work as expected." = "警告:该页面仅作未来功能测试所用。\n在此列出的功能并非处于完全可用之状态。";
|
||||
"Wade-Giles Pinyin with Numeral Intonation" = "韦氏拼音+数字标调";
|
||||
|
|
|
@ -354,6 +354,7 @@
|
|||
"Use ESC key to clear the entire input buffer" = "敲 ESC 鍵以清空整個組字緩衝區";
|
||||
"Use IMK Candidate Window instead of Tadokoro" = "啟用與 macOS 內建輸入法相同的 IMK 選字窗";
|
||||
"Use only one row / column in candidate window." = "僅以單行/單列來陳列候選字。";
|
||||
"Use Space to confirm highlighted candidate in Per-Char Select Mode" = "在逐字選字模式當中使用空格鍵確認當前高亮候選字";
|
||||
"Vertical" = "縱向佈局";
|
||||
"Warning: This page is for testing future features. \nFeatures listed here may not work as expected." = "警告:該頁面僅作未來功能測試所用。\n在此列出的功能並非處於完全可用之狀態。";
|
||||
"Wade-Giles Pinyin with Numeral Intonation" = "韋氏拼音+數字標調";
|
||||
|
|
Loading…
Reference in New Issue