PrefUI // Remove unnecessary linebreaks.
This commit is contained in:
parent
5ec86408eb
commit
f295471c79
|
@ -70,7 +70,6 @@ struct VwrPrefPaneCandidates: View {
|
|||
.horizontalRadioGroupLayout()
|
||||
.pickerStyle(RadioGroupPickerStyle())
|
||||
Text(LocalizedStringKey("Choose your preferred layout of the candidate window."))
|
||||
|
||||
.preferenceDescription(maxWidth: CtlPrefUIShared.maxDescriptionWidth)
|
||||
Toggle(
|
||||
LocalizedStringKey("Use only one row / column in candidate window."),
|
||||
|
@ -111,7 +110,6 @@ struct VwrPrefPaneCandidates: View {
|
|||
.labelsHidden()
|
||||
.frame(width: 120.0)
|
||||
Text(LocalizedStringKey("Choose candidate font size for better visual clarity."))
|
||||
|
||||
.preferenceDescription(maxWidth: CtlPrefUIShared.maxDescriptionWidth)
|
||||
}
|
||||
SSPreferences.Settings.Section(title: "Cursor Selection:".localized, bottomDivider: true) {
|
||||
|
|
|
@ -156,7 +156,6 @@ struct VwrPrefPaneDictionary: View {
|
|||
"Due to security concerns, we don't consider implementing anything related to shell script execution here. An input method doing this without implementing App Sandbox will definitely have system-wide vulnerabilities, considering that its related UserDefaults are easily tamperable to execute malicious shell scripts. vChewing is designed to be invulnerable from this kind of attack. Also, official releases of vChewing are Sandboxed."
|
||||
)
|
||||
)
|
||||
|
||||
.preferenceDescription(maxWidth: CtlPrefUIShared.maxDescriptionWidth)
|
||||
}
|
||||
Divider()
|
||||
|
@ -172,7 +171,6 @@ struct VwrPrefPaneDictionary: View {
|
|||
"This will use the plist files deployed by the “make install” command from libvChewing-Data if possible."
|
||||
)
|
||||
)
|
||||
|
||||
.preferenceDescription(maxWidth: CtlPrefUIShared.maxDescriptionWidth)
|
||||
Toggle(
|
||||
LocalizedStringKey("Only load factory language models if needed"),
|
||||
|
@ -199,7 +197,6 @@ struct VwrPrefPaneDictionary: View {
|
|||
Text(
|
||||
"The user override model only possesses memories temporarily. Each memory record gradually becomes ineffective within approximately less than 6 days. You can erase all memory records through the input method menu.".localized
|
||||
)
|
||||
|
||||
.preferenceDescription(maxWidth: CtlPrefUIShared.maxDescriptionWidth)
|
||||
Toggle(
|
||||
LocalizedStringKey("Enable phrase replacement table"),
|
||||
|
@ -224,7 +221,6 @@ struct VwrPrefPaneDictionary: View {
|
|||
"⚠︎ This may hinder the walking algorithm from giving appropriate results."
|
||||
)
|
||||
)
|
||||
|
||||
.preferenceDescription(maxWidth: CtlPrefUIShared.maxDescriptionWidth)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -103,7 +103,6 @@ struct VwrPrefPaneGeneral: View {
|
|||
Spacer()
|
||||
}
|
||||
Text(LocalizedStringKey("Change user interface language (will reboot the IME)."))
|
||||
|
||||
.preferenceDescription(maxWidth: CtlPrefUIShared.maxDescriptionWidth)
|
||||
}
|
||||
SSPreferences.Settings.Section(label: { Text(LocalizedStringKey("Typing Settings:")) }) {
|
||||
|
@ -131,7 +130,6 @@ struct VwrPrefPaneGeneral: View {
|
|||
}
|
||||
)
|
||||
Text(LocalizedStringKey("An accommodation for elder computer users."))
|
||||
|
||||
.preferenceDescription(maxWidth: CtlPrefUIShared.maxDescriptionWidth)
|
||||
if Date.isTodayTheDate(from: 0401) {
|
||||
Toggle(
|
||||
|
|
|
@ -76,7 +76,6 @@ struct VwrPrefPaneKeyboard: View {
|
|||
Spacer(minLength: NSFont.systemFontSize)
|
||||
}
|
||||
Text(NSLocalizedString("Choose the phonetic layout for Mandarin parser.", comment: ""))
|
||||
|
||||
.preferenceDescription(maxWidth: CtlPrefUIShared.maxDescriptionWidth)
|
||||
}
|
||||
SSPreferences.Settings.Section(title: "Basic Keyboard Layout:".localized) {
|
||||
|
|
Loading…
Reference in New Issue