Some more corrections to Preferences help text
This commit is contained in:
@@ -166,7 +166,7 @@ class GuiConfigEditGeneralTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Main GUI theme",
|
"Main GUI theme",
|
||||||
self.selectTheme,
|
self.selectTheme,
|
||||||
"Changing this requires restarting %s" % nw.__package__
|
"Changing this requires restarting %s." % nw.__package__
|
||||||
)
|
)
|
||||||
|
|
||||||
## Syntax Highlighting
|
## Syntax Highlighting
|
||||||
@@ -190,7 +190,7 @@ class GuiConfigEditGeneralTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Prefer icons for dark backgrounds",
|
"Prefer icons for dark backgrounds",
|
||||||
self.preferDarkIcons,
|
self.preferDarkIcons,
|
||||||
"May improve the look of icons on dark themes"
|
"This may improve the look of icons on dark themes."
|
||||||
)
|
)
|
||||||
|
|
||||||
# GUI Settings
|
# GUI Settings
|
||||||
@@ -253,7 +253,7 @@ class GuiConfigEditGeneralTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Run backup when closing project",
|
"Run backup when closing project",
|
||||||
self.backupOnClose,
|
self.backupOnClose,
|
||||||
"This option can be overridden in project settings"
|
"This option can be overridden in project settings."
|
||||||
)
|
)
|
||||||
|
|
||||||
## Ask before backup
|
## Ask before backup
|
||||||
@@ -357,7 +357,7 @@ class GuiConfigEditLayoutTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Font family",
|
"Font family",
|
||||||
self.textStyleFont,
|
self.textStyleFont,
|
||||||
"For the document editor and viewer"
|
"Font for the document editor and viewer."
|
||||||
)
|
)
|
||||||
|
|
||||||
## Font Size
|
## Font Size
|
||||||
@@ -383,7 +383,7 @@ class GuiConfigEditLayoutTab(QWidget):
|
|||||||
self.textFlowMax.setSingleStep(10)
|
self.textFlowMax.setSingleStep(10)
|
||||||
self.textFlowMax.setValue(self.mainConf.textWidth)
|
self.textFlowMax.setValue(self.mainConf.textWidth)
|
||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Maximum text width in Normal mode",
|
"Maximum text width in \"Normal Mode\"",
|
||||||
self.textFlowMax,
|
self.textFlowMax,
|
||||||
theUnit="px"
|
theUnit="px"
|
||||||
)
|
)
|
||||||
@@ -395,7 +395,7 @@ class GuiConfigEditLayoutTab(QWidget):
|
|||||||
self.zenDocWidth.setSingleStep(10)
|
self.zenDocWidth.setSingleStep(10)
|
||||||
self.zenDocWidth.setValue(self.mainConf.zenWidth)
|
self.zenDocWidth.setValue(self.mainConf.zenWidth)
|
||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Maximum text width in distraction free mode",
|
"Maximum text width in \"Zen Mode\"",
|
||||||
self.zenDocWidth,
|
self.zenDocWidth,
|
||||||
theUnit="px"
|
theUnit="px"
|
||||||
)
|
)
|
||||||
@@ -404,9 +404,9 @@ class GuiConfigEditLayoutTab(QWidget):
|
|||||||
self.textFlowFixed = QSwitch()
|
self.textFlowFixed = QSwitch()
|
||||||
self.textFlowFixed.setChecked(not self.mainConf.textFixedW)
|
self.textFlowFixed.setChecked(not self.mainConf.textFixedW)
|
||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Disable maximum text width in normal mode",
|
"Disable maximum text width in \"Normal Mode\"",
|
||||||
self.textFlowFixed,
|
self.textFlowFixed,
|
||||||
"Only horizontal margins are applied to the document"
|
"If disabled, minimum text width is defined by the margin setting."
|
||||||
)
|
)
|
||||||
|
|
||||||
## Justify Text
|
## Justify Text
|
||||||
@@ -426,7 +426,7 @@ class GuiConfigEditLayoutTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Document text margin",
|
"Document text margin",
|
||||||
self.textMargin,
|
self.textMargin,
|
||||||
"The minimum horizontal text margin if max with is enabled",
|
"If max width is enabled, this is the minimum margin.",
|
||||||
theUnit="px"
|
theUnit="px"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -439,7 +439,7 @@ class GuiConfigEditLayoutTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Editor tab width",
|
"Editor tab width",
|
||||||
self.tabWidth,
|
self.tabWidth,
|
||||||
"This feature requires Qt 5.9 or later",
|
"This feature requires Qt 5.9 or later.",
|
||||||
theUnit="px"
|
theUnit="px"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -538,7 +538,7 @@ class GuiConfigEditEditingTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Spell check provider",
|
"Spell check provider",
|
||||||
self.spellToolList,
|
self.spellToolList,
|
||||||
"Note that the internal spell check tool is quite slow"
|
"Note that the internal spell check tool is quite slow."
|
||||||
)
|
)
|
||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Spell check language",
|
"Spell check language",
|
||||||
@@ -554,7 +554,7 @@ class GuiConfigEditEditingTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Big document limit",
|
"Big document limit",
|
||||||
self.bigDocLimit,
|
self.bigDocLimit,
|
||||||
"Disables full spell checking over the size limit",
|
"Disables full spell checking over the size limit.",
|
||||||
theUnit="kb"
|
theUnit="kb"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -640,7 +640,7 @@ class GuiConfigEditAutoReplaceTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Auto-select word under cursor",
|
"Auto-select word under cursor",
|
||||||
self.autoSelect,
|
self.autoSelect,
|
||||||
"Apply formatting to word under cursor if no selection is made"
|
"Apply formatting to word under cursor if no selection is made."
|
||||||
)
|
)
|
||||||
|
|
||||||
## Auto-Replace as You Type Main Switch
|
## Auto-Replace as You Type Main Switch
|
||||||
@@ -650,7 +650,7 @@ class GuiConfigEditAutoReplaceTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Auto-replace text as you type",
|
"Auto-replace text as you type",
|
||||||
self.autoReplaceMain,
|
self.autoReplaceMain,
|
||||||
"Apply formatting to word under cursor if no selection is made"
|
"Apply formatting to word under cursor if no selection is made."
|
||||||
)
|
)
|
||||||
|
|
||||||
# Auto-Replace
|
# Auto-Replace
|
||||||
@@ -664,7 +664,7 @@ class GuiConfigEditAutoReplaceTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Auto-replace single quotes",
|
"Auto-replace single quotes",
|
||||||
self.autoReplaceSQ,
|
self.autoReplaceSQ,
|
||||||
"The feature will try to guess opening or closing single quote"
|
"The feature will try to guess opening or closing single quote."
|
||||||
)
|
)
|
||||||
|
|
||||||
## Auto-Replace Double Quotes
|
## Auto-Replace Double Quotes
|
||||||
@@ -674,7 +674,7 @@ class GuiConfigEditAutoReplaceTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Auto-replace double quotes",
|
"Auto-replace double quotes",
|
||||||
self.autoReplaceDQ,
|
self.autoReplaceDQ,
|
||||||
"The feature will try to guess opening or closing quote quote"
|
"The feature will try to guess opening or closing quote quote."
|
||||||
)
|
)
|
||||||
|
|
||||||
## Auto-Replace Hyphens
|
## Auto-Replace Hyphens
|
||||||
@@ -684,7 +684,7 @@ class GuiConfigEditAutoReplaceTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Auto-replace dashes",
|
"Auto-replace dashes",
|
||||||
self.autoReplaceDash,
|
self.autoReplaceDash,
|
||||||
"Auto-replace double and triple hyphens with short and long dash"
|
"Auto-replace double and triple hyphens with short and long dash."
|
||||||
)
|
)
|
||||||
|
|
||||||
## Auto-Replace Dots
|
## Auto-Replace Dots
|
||||||
@@ -694,7 +694,7 @@ class GuiConfigEditAutoReplaceTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Auto-replace dots",
|
"Auto-replace dots",
|
||||||
self.autoReplaceDots,
|
self.autoReplaceDots,
|
||||||
"Auto-replace three dots with ellipsis"
|
"Auto-replace three dots with ellipsis."
|
||||||
)
|
)
|
||||||
|
|
||||||
# Quotation Style
|
# Quotation Style
|
||||||
@@ -710,7 +710,7 @@ class GuiConfigEditAutoReplaceTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Single quote open style",
|
"Single quote open style",
|
||||||
self.quoteSingleStyleO,
|
self.quoteSingleStyleO,
|
||||||
"Auto-replaces apostrophe before words"
|
"Auto-replaces apostrophe before words."
|
||||||
)
|
)
|
||||||
|
|
||||||
self.quoteSingleStyleC = QLineEdit()
|
self.quoteSingleStyleC = QLineEdit()
|
||||||
@@ -721,7 +721,7 @@ class GuiConfigEditAutoReplaceTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Single quote close style",
|
"Single quote close style",
|
||||||
self.quoteSingleStyleC,
|
self.quoteSingleStyleC,
|
||||||
"Auto-replaces apostrophe after words"
|
"Auto-replaces apostrophe after words."
|
||||||
)
|
)
|
||||||
|
|
||||||
## Double Quote Style
|
## Double Quote Style
|
||||||
@@ -733,7 +733,7 @@ class GuiConfigEditAutoReplaceTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Double quote open style",
|
"Double quote open style",
|
||||||
self.quoteDoubleStyleO,
|
self.quoteDoubleStyleO,
|
||||||
"Auto-replaces straight quotes before words"
|
"Auto-replaces straight quotes before words."
|
||||||
)
|
)
|
||||||
|
|
||||||
self.quoteDoubleStyleC = QLineEdit()
|
self.quoteDoubleStyleC = QLineEdit()
|
||||||
@@ -744,7 +744,7 @@ class GuiConfigEditAutoReplaceTab(QWidget):
|
|||||||
self.mainForm.addRow(
|
self.mainForm.addRow(
|
||||||
"Double quote close style",
|
"Double quote close style",
|
||||||
self.quoteDoubleStyleC,
|
self.quoteDoubleStyleC,
|
||||||
"Auto-replaces straight quotes after words"
|
"Auto-replaces straight quotes after words."
|
||||||
)
|
)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user