Code and GUI text cleanup (#926)

* Move int range checkers from options class to common file
* Improve error handling and reporting
* Make some minor improvements to init and test suite
* Fix 'trypewriter' to 'typewriter' typo
* Remove menu path description in dialog help text
* Improve the help text for entries in the Format menu
* Reword a couple of dialog messages
This commit is contained in:
Veronica Berglyd Olsen
2021-11-07 18:17:17 +01:00
committed by GitHub
parent e71121f738
commit e8bb130245
23 changed files with 257 additions and 250 deletions
+9 -9
View File
@@ -3253,7 +3253,7 @@
</message>
<message>
<location filename="../novelwriter/dialogs/preferences.py" line="788"/>
<source>Also improves trypewriter scrolling for short documents.</source>
<source>Also improves typewriter scrolling for short documents.</source>
<translation></translation>
</message>
<message>
@@ -4616,18 +4616,18 @@
</message>
<message>
<location filename="../novelwriter/core/project.py" line="788"/>
<source>Cannot backup project because no backup path is set. Please set a valid backup location in Tools &gt; Preferences.</source>
<translation> &gt; </translation>
<source>Cannot backup project because no backup path is set. Please set a valid backup location in Preferences.</source>
<translation> </translation>
</message>
<message>
<location filename="../novelwriter/core/project.py" line="795"/>
<source>Cannot backup project because no project name is set. Please set a Working Title in Project &gt; Project Settings.</source>
<translation> &gt; </translation>
<source>Cannot backup project because no project name is set. Please set a Working Title in Project Settings.</source>
<translation> </translation>
</message>
<message>
<location filename="../novelwriter/core/project.py" line="802"/>
<source>Cannot backup project because the backup path does not exist. Please set a valid backup location in Tools &gt; Preferences.</source>
<translation> &gt; </translation>
<source>Cannot backup project because the backup path does not exist. Please set a valid backup location in Preferences.</source>
<translation> </translation>
</message>
<message>
<location filename="../novelwriter/core/project.py" line="815"/>
@@ -4636,8 +4636,8 @@
</message>
<message>
<location filename="../novelwriter/core/project.py" line="821"/>
<source>Cannot backup project because the backup path is within the project folder to be backed up. Please choose a different backup path in Tools &gt; Preferences.</source>
<translation> &gt; </translation>
<source>Cannot backup project because the backup path is within the project folder to be backed up. Please choose a different backup path in Preferences.</source>
<translation> </translation>
</message>
<message>
<location filename="../novelwriter/core/project.py" line="828"/>