diff --git a/nw/gui/dialogs/configeditor.py b/nw/gui/dialogs/configeditor.py index 4faef9c7..128e6cb6 100644 --- a/nw/gui/dialogs/configeditor.py +++ b/nw/gui/dialogs/configeditor.py @@ -166,7 +166,7 @@ class GuiConfigEditGeneralTab(QWidget): self.mainForm.addRow( "Main GUI theme", self.selectTheme, - "Changing this requires restarting %s" % nw.__package__ + "Changing this requires restarting %s." % nw.__package__ ) ## Syntax Highlighting @@ -190,7 +190,7 @@ class GuiConfigEditGeneralTab(QWidget): self.mainForm.addRow( "Prefer icons for dark backgrounds", self.preferDarkIcons, - "May improve the look of icons on dark themes" + "This may improve the look of icons on dark themes." ) # GUI Settings @@ -253,7 +253,7 @@ class GuiConfigEditGeneralTab(QWidget): self.mainForm.addRow( "Run backup when closing project", self.backupOnClose, - "This option can be overridden in project settings" + "This option can be overridden in project settings." ) ## Ask before backup @@ -357,7 +357,7 @@ class GuiConfigEditLayoutTab(QWidget): self.mainForm.addRow( "Font family", self.textStyleFont, - "For the document editor and viewer" + "Font for the document editor and viewer." ) ## Font Size @@ -383,7 +383,7 @@ class GuiConfigEditLayoutTab(QWidget): self.textFlowMax.setSingleStep(10) self.textFlowMax.setValue(self.mainConf.textWidth) self.mainForm.addRow( - "Maximum text width in Normal mode", + "Maximum text width in \"Normal Mode\"", self.textFlowMax, theUnit="px" ) @@ -395,7 +395,7 @@ class GuiConfigEditLayoutTab(QWidget): self.zenDocWidth.setSingleStep(10) self.zenDocWidth.setValue(self.mainConf.zenWidth) self.mainForm.addRow( - "Maximum text width in distraction free mode", + "Maximum text width in \"Zen Mode\"", self.zenDocWidth, theUnit="px" ) @@ -404,9 +404,9 @@ class GuiConfigEditLayoutTab(QWidget): self.textFlowFixed = QSwitch() self.textFlowFixed.setChecked(not self.mainConf.textFixedW) self.mainForm.addRow( - "Disable maximum text width in normal mode", + "Disable maximum text width in \"Normal Mode\"", self.textFlowFixed, - "Only horizontal margins are applied to the document" + "If disabled, minimum text width is defined by the margin setting." ) ## Justify Text @@ -426,7 +426,7 @@ class GuiConfigEditLayoutTab(QWidget): self.mainForm.addRow( "Document text margin", self.textMargin, - "The minimum horizontal text margin if max with is enabled", + "If max width is enabled, this is the minimum margin.", theUnit="px" ) @@ -439,7 +439,7 @@ class GuiConfigEditLayoutTab(QWidget): self.mainForm.addRow( "Editor tab width", self.tabWidth, - "This feature requires Qt 5.9 or later", + "This feature requires Qt 5.9 or later.", theUnit="px" ) @@ -538,7 +538,7 @@ class GuiConfigEditEditingTab(QWidget): self.mainForm.addRow( "Spell check provider", 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( "Spell check language", @@ -554,7 +554,7 @@ class GuiConfigEditEditingTab(QWidget): self.mainForm.addRow( "Big document limit", self.bigDocLimit, - "Disables full spell checking over the size limit", + "Disables full spell checking over the size limit.", theUnit="kb" ) @@ -640,7 +640,7 @@ class GuiConfigEditAutoReplaceTab(QWidget): self.mainForm.addRow( "Auto-select word under cursor", 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 @@ -650,7 +650,7 @@ class GuiConfigEditAutoReplaceTab(QWidget): self.mainForm.addRow( "Auto-replace text as you type", 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 @@ -664,7 +664,7 @@ class GuiConfigEditAutoReplaceTab(QWidget): self.mainForm.addRow( "Auto-replace single quotes", 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 @@ -674,7 +674,7 @@ class GuiConfigEditAutoReplaceTab(QWidget): self.mainForm.addRow( "Auto-replace double quotes", 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 @@ -684,7 +684,7 @@ class GuiConfigEditAutoReplaceTab(QWidget): self.mainForm.addRow( "Auto-replace dashes", 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 @@ -694,7 +694,7 @@ class GuiConfigEditAutoReplaceTab(QWidget): self.mainForm.addRow( "Auto-replace dots", self.autoReplaceDots, - "Auto-replace three dots with ellipsis" + "Auto-replace three dots with ellipsis." ) # Quotation Style @@ -710,7 +710,7 @@ class GuiConfigEditAutoReplaceTab(QWidget): self.mainForm.addRow( "Single quote open style", self.quoteSingleStyleO, - "Auto-replaces apostrophe before words" + "Auto-replaces apostrophe before words." ) self.quoteSingleStyleC = QLineEdit() @@ -721,7 +721,7 @@ class GuiConfigEditAutoReplaceTab(QWidget): self.mainForm.addRow( "Single quote close style", self.quoteSingleStyleC, - "Auto-replaces apostrophe after words" + "Auto-replaces apostrophe after words." ) ## Double Quote Style @@ -733,7 +733,7 @@ class GuiConfigEditAutoReplaceTab(QWidget): self.mainForm.addRow( "Double quote open style", self.quoteDoubleStyleO, - "Auto-replaces straight quotes before words" + "Auto-replaces straight quotes before words." ) self.quoteDoubleStyleC = QLineEdit() @@ -744,7 +744,7 @@ class GuiConfigEditAutoReplaceTab(QWidget): self.mainForm.addRow( "Double quote close style", self.quoteDoubleStyleC, - "Auto-replaces straight quotes after words" + "Auto-replaces straight quotes after words." ) return