PrefUI // Add shareAlphanumericalModeStatusAcrossClients().
This commit is contained in:
parent
951cca4956
commit
e71f9ea2a3
|
@ -50,6 +50,8 @@ struct VwrPrefPaneExperience: View {
|
||||||
forKey: UserDef.kAlwaysShowTooltipTextsHorizontally.rawValue)
|
forKey: UserDef.kAlwaysShowTooltipTextsHorizontally.rawValue)
|
||||||
@State private var selShowNotificationsWhenTogglingCapsLock = UserDefaults.standard.bool(
|
@State private var selShowNotificationsWhenTogglingCapsLock = UserDefaults.standard.bool(
|
||||||
forKey: UserDef.kShowNotificationsWhenTogglingCapsLock.rawValue)
|
forKey: UserDef.kShowNotificationsWhenTogglingCapsLock.rawValue)
|
||||||
|
@State private var selShareAlphanumericalModeStatusAcrossClients = UserDefaults.standard.bool(
|
||||||
|
forKey: UserDef.kShareAlphanumericalModeStatusAcrossClients.rawValue)
|
||||||
|
|
||||||
private let contentMaxHeight: Double = 440
|
private let contentMaxHeight: Double = 440
|
||||||
private let contentWidth: Double = {
|
private let contentWidth: Double = {
|
||||||
|
@ -204,6 +206,12 @@ struct VwrPrefPaneExperience: View {
|
||||||
PrefMgr.shared.togglingAlphanumericalModeWithLShift = selTogglingAlphanumericalModeWithLShift
|
PrefMgr.shared.togglingAlphanumericalModeWithLShift = selTogglingAlphanumericalModeWithLShift
|
||||||
}
|
}
|
||||||
).disabled(PrefMgr.shared.disableShiftTogglingAlphanumericalMode == true)
|
).disabled(PrefMgr.shared.disableShiftTogglingAlphanumericalMode == true)
|
||||||
|
Toggle(
|
||||||
|
LocalizedStringKey("Share alphanumerical mode status across all clients"),
|
||||||
|
isOn: $selShareAlphanumericalModeStatusAcrossClients.onChange {
|
||||||
|
PrefMgr.shared.shareAlphanumericalModeStatusAcrossClients = selShareAlphanumericalModeStatusAcrossClients
|
||||||
|
}
|
||||||
|
).disabled(PrefMgr.shared.disableShiftTogglingAlphanumericalMode == true)
|
||||||
}
|
}
|
||||||
SSPreferences.Section(title: "Caps Lock:") {
|
SSPreferences.Section(title: "Caps Lock:") {
|
||||||
Toggle(
|
Toggle(
|
||||||
|
|
|
@ -227,6 +227,7 @@
|
||||||
"Secondary Pinyin with Numeral Intonation" = "Secondary Pinyin with Numeral Intonation";
|
"Secondary Pinyin with Numeral Intonation" = "Secondary Pinyin with Numeral Intonation";
|
||||||
"Seigyou" = "Seigyou (JinYei)";
|
"Seigyou" = "Seigyou (JinYei)";
|
||||||
"Selection Keys:" = "Selection Keys:";
|
"Selection Keys:" = "Selection Keys:";
|
||||||
|
"Share alphanumerical mode status across all clients" = "Share alphanumerical mode status across all clients";
|
||||||
"Shift+BackSpace:" = "Shift+BackSpace:";
|
"Shift+BackSpace:" = "Shift+BackSpace:";
|
||||||
"Shift+Letter:" = "Shift+Letter:";
|
"Shift+Letter:" = "Shift+Letter:";
|
||||||
"Show available reverse-lookup results in candidate window" = "Show available reverse-lookup results in candidate window";
|
"Show available reverse-lookup results in candidate window" = "Show available reverse-lookup results in candidate window";
|
||||||
|
|
|
@ -227,6 +227,7 @@
|
||||||
"Secondary Pinyin with Numeral Intonation" = "Secondary Pinyin with Numeral Intonation";
|
"Secondary Pinyin with Numeral Intonation" = "Secondary Pinyin with Numeral Intonation";
|
||||||
"Seigyou" = "Seigyou (JinYei)";
|
"Seigyou" = "Seigyou (JinYei)";
|
||||||
"Selection Keys:" = "Selection Keys:";
|
"Selection Keys:" = "Selection Keys:";
|
||||||
|
"Share alphanumerical mode status across all clients" = "Share alphanumerical mode status across all clients";
|
||||||
"Shift+BackSpace:" = "Shift+BackSpace:";
|
"Shift+BackSpace:" = "Shift+BackSpace:";
|
||||||
"Shift+Letter:" = "Shift+Letter:";
|
"Shift+Letter:" = "Shift+Letter:";
|
||||||
"Show available reverse-lookup results in candidate window" = "Show available reverse-lookup results in candidate window";
|
"Show available reverse-lookup results in candidate window" = "Show available reverse-lookup results in candidate window";
|
||||||
|
|
|
@ -227,6 +227,7 @@
|
||||||
"Secondary Pinyin with Numeral Intonation" = "国音二式 (ローマ字+数字音調)";
|
"Secondary Pinyin with Numeral Intonation" = "国音二式 (ローマ字+数字音調)";
|
||||||
"Seigyou" = "精業配列";
|
"Seigyou" = "精業配列";
|
||||||
"Selection Keys:" = "言選り用キー:";
|
"Selection Keys:" = "言選り用キー:";
|
||||||
|
"Share alphanumerical mode status across all clients" = "全ての客体アプリに英数入力モードの状態を共有";
|
||||||
"Shift+BackSpace:" = "Shift+BackSpace:";
|
"Shift+BackSpace:" = "Shift+BackSpace:";
|
||||||
"Shift+Letter:" = "Shift+文字キー:";
|
"Shift+Letter:" = "Shift+文字キー:";
|
||||||
"Show available reverse-lookup results in candidate window" = "候補陳列ウィンドウで可能な逆引参照結果を示す";
|
"Show available reverse-lookup results in candidate window" = "候補陳列ウィンドウで可能な逆引参照結果を示す";
|
||||||
|
|
|
@ -227,6 +227,7 @@
|
||||||
"Secondary Pinyin with Numeral Intonation" = "国音二式+数字标调";
|
"Secondary Pinyin with Numeral Intonation" = "国音二式+数字标调";
|
||||||
"Seigyou" = "精业排列";
|
"Seigyou" = "精业排列";
|
||||||
"Selection Keys:" = "选字键:";
|
"Selection Keys:" = "选字键:";
|
||||||
|
"Share alphanumerical mode status across all clients" = "对所有客体应用共用 Shift 中英文输入切换状态";
|
||||||
"Shift+BackSpace:" = "Shift+退格键:";
|
"Shift+BackSpace:" = "Shift+退格键:";
|
||||||
"Shift+Letter:" = "Shift+字母键:";
|
"Shift+Letter:" = "Shift+字母键:";
|
||||||
"Show available reverse-lookup results in candidate window" = "在选字窗内显示可用的字根反查结果";
|
"Show available reverse-lookup results in candidate window" = "在选字窗内显示可用的字根反查结果";
|
||||||
|
|
|
@ -227,6 +227,7 @@
|
||||||
"Secondary Pinyin with Numeral Intonation" = "國音二式+數字標調";
|
"Secondary Pinyin with Numeral Intonation" = "國音二式+數字標調";
|
||||||
"Seigyou" = "精業排列";
|
"Seigyou" = "精業排列";
|
||||||
"Selection Keys:" = "選字鍵:";
|
"Selection Keys:" = "選字鍵:";
|
||||||
|
"Share alphanumerical mode status across all clients" = "對所有客體應用共用 Shift 中英文輸入切換狀態";
|
||||||
"Shift+BackSpace:" = "Shift+退格鍵:";
|
"Shift+BackSpace:" = "Shift+退格鍵:";
|
||||||
"Shift+Letter:" = "Shift+字母鍵:";
|
"Shift+Letter:" = "Shift+字母鍵:";
|
||||||
"Show available reverse-lookup results in candidate window" = "在選字窗內顯示可用的字根反查結果";
|
"Show available reverse-lookup results in candidate window" = "在選字窗內顯示可用的字根反查結果";
|
||||||
|
|
Loading…
Reference in New Issue