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:
committed by
GitHub
parent
e71121f738
commit
e8bb130245
+5
-5
@@ -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>
|
||||
@@ -4610,17 +4610,17 @@
|
||||
</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 > Preferences.</source>
|
||||
<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 > Project Settings.</source>
|
||||
<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 > Preferences.</source>
|
||||
<source>Cannot backup project because the backup path does not exist. Please set a valid backup location in Preferences.</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -4630,7 +4630,7 @@
|
||||
</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 > Preferences.</source>
|
||||
<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>
|
||||
|
||||
+9
-9
@@ -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>Améliore également le défilement machine à écrire pour les documents courts.</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -4610,18 +4610,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 > Preferences.</source>
|
||||
<translation>Il est impossible de sauvegarder le projet car aucun emplacement de sauvegarde n'a été défini. Veuillez en définir un dans Outils > Préférences.</translation>
|
||||
<source>Cannot backup project because no backup path is set. Please set a valid backup location in Preferences.</source>
|
||||
<translation>Il est impossible de sauvegarder le projet car aucun emplacement de sauvegarde n'a été défini. Veuillez en définir un dans Préférences.</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 > Project Settings.</source>
|
||||
<translation>Il est impossible de sauvegarder le projet car il n'a pas reçu de nom. Veuillez définir un titre de travail dans Projet > Caractéristiques du projet.</translation>
|
||||
<source>Cannot backup project because no project name is set. Please set a Working Title in Project Settings.</source>
|
||||
<translation>Il est impossible de sauvegarder le projet car il n'a pas reçu de nom. Veuillez définir un titre de travail dans Caractéristiques du projet.</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 > Preferences.</source>
|
||||
<translation>Il est impossible de sauvegarder le projet car l'emplacement de sauvegarde défini n'existe pas. Veuillez définir un emplacement correct dans Outils > Préférences.</translation>
|
||||
<source>Cannot backup project because the backup path does not exist. Please set a valid backup location in Preferences.</source>
|
||||
<translation>Il est impossible de sauvegarder le projet car l'emplacement de sauvegarde défini n'existe pas. Veuillez définir un emplacement correct dans Préférences.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../novelwriter/core/project.py" line="815"/>
|
||||
@@ -4630,8 +4630,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 > Preferences.</source>
|
||||
<translation>La sauvegarde du projet est impossible car l'emplacement défini est situé dans le dossier à sauvegarder. Veuillez définir un autre répertoire de sauvegarde dans Outils > Préférences.</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>La sauvegarde du projet est impossible car l'emplacement défini est situé dans le dossier à sauvegarder. Veuillez définir un autre répertoire de sauvegarde dans Préférences.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../novelwriter/core/project.py" line="828"/>
|
||||
|
||||
+9
-9
@@ -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>Forbedrer funksjonen til skrivemaskin-rulling.</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -4605,18 +4605,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 > Preferences.</source>
|
||||
<translation>Kan ikke ta sikkerhetskopi av prosjektet da ingen filbane er satt. Du må først sette en filbane i Verktøy > Innstillinger.</translation>
|
||||
<source>Cannot backup project because no backup path is set. Please set a valid backup location in Preferences.</source>
|
||||
<translation>Kan ikke ta sikkerhetskopi av prosjektet da ingen filbane er satt. Du må først sette en filbane i Innstillinger.</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 > Project Settings.</source>
|
||||
<translation>Kan ikke ta sikkerhetskopi av prosjektet da ingen arbeidstittel er satt. Du må først sette en arbeidstittel i Prosjekt > Prosjektinnstillinger.</translation>
|
||||
<source>Cannot backup project because no project name is set. Please set a Working Title in Project Settings.</source>
|
||||
<translation>Kan ikke ta sikkerhetskopi av prosjektet da ingen arbeidstittel er satt. Du må først sette en arbeidstittel i Prosjektinnstillinger.</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 > Preferences.</source>
|
||||
<translation>Kan ikke ta sikkerhetskopi av prosjektet da filbane ikke finnes. Du må sette en ny filbane i Verktøy > Innstillinger.</translation>
|
||||
<source>Cannot backup project because the backup path does not exist. Please set a valid backup location in Preferences.</source>
|
||||
<translation>Kan ikke ta sikkerhetskopi av prosjektet da filbane ikke finnes. Du må sette en ny filbane i Innstillinger.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../novelwriter/core/project.py" line="815"/>
|
||||
@@ -4625,8 +4625,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 > Preferences.</source>
|
||||
<translation>Kan ikke ta sikkerhetskopi av prosjektet da filbanen er inne i prosjektmappen. Du må sette en ny filbane i Verktøy > Innstillinger.</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>Kan ikke ta sikkerhetskopi av prosjektet da filbanen er inne i prosjektmappen. Du må sette en ny filbane i Innstillinger.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../novelwriter/core/project.py" line="828"/>
|
||||
|
||||
+8
-8
@@ -3228,7 +3228,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>Também melhora a rolagem de máquina de escrever em documentos curtos.</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -4580,18 +4580,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 > Preferences.</source>
|
||||
<translation>Não foi possível realizar uma cópia de segurança do projeto porquê o caminho das cópias de segurança não foi definido. Por favor, defina um caminho válido para as cópias de segurança em Ferramentas > Preferências.</translation>
|
||||
<source>Cannot backup project because no backup path is set. Please set a valid backup location in Preferences.</source>
|
||||
<translation>Não foi possível realizar uma cópia de segurança do projeto porquê o caminho das cópias de segurança não foi definido. Por favor, defina um caminho válido para as cópias de segurança em Preferências.</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 > Project Settings.</source>
|
||||
<translation>Não foi possível realizar a cópia de segurança do projeto porque o nome do projeto não está definido. Por favor defina o Nome do Projeto em Projeto > Configurações do Projeto.</translation>
|
||||
<source>Cannot backup project because no project name is set. Please set a Working Title in Project Settings.</source>
|
||||
<translation>Não foi possível realizar a cópia de segurança do projeto porque o nome do projeto não está definido. Por favor defina o Nome do Projeto em Configurações do Projeto.</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 > Preferences.</source>
|
||||
<translation>Não foi possível realizar a cópia de segurança do projeto porque o caminho das cópias de segurança não exite. Por favor, defina um cainho válido para as cópias de segurança em Ferramentas > Preferências.</translation>
|
||||
<source>Cannot backup project because the backup path does not exist. Please set a valid backup location in Preferences.</source>
|
||||
<translation>Não foi possível realizar a cópia de segurança do projeto porque o caminho das cópias de segurança não exite. Por favor, defina um cainho válido para as cópias de segurança em Preferências.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../novelwriter/core/project.py" line="815"/>
|
||||
@@ -4600,7 +4600,7 @@
|
||||
</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 > Preferences.</source>
|
||||
<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>Não foi possível realizar a cópia de segurança do projeto porque o caminho das cópias de segurança está em um caminho dentro do diretório do projeto. Por favor, escolha um caminho diferente para as cópias de segurança em Ferramentas> Preferências.</translation>
|
||||
</message>
|
||||
<message>
|
||||
|
||||
+9
-9
@@ -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 > Preferences.</source>
|
||||
<translation>由于未设置备份路径,无法备份项目。 请在工具 > 首选项中设置一个有效的备份位置。</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 > Project Settings.</source>
|
||||
<translation>由于未设置项目名,无法备份项目。 请在项目 > 项目设置中设置一个工作标题。</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 > Preferences.</source>
|
||||
<translation>无法备份项目,因为备份路径不存在。 请在工具 > 首选项中设置一个有效的备份位置。</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 > Preferences.</source>
|
||||
<translation>无法备份项目,因为备份路径在要备份的项目文件夹内。 请在工具 > 首选项中选择不同的备份路径。</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"/>
|
||||
|
||||
Reference in New Issue
Block a user