Fix some typos and inconsistencies in GUI texts
This commit is contained in:
+2
-2
@@ -988,7 +988,7 @@ class NWProject():
|
||||
if not os.path.isdir(self.mainConf.backupPath):
|
||||
self.theParent.makeAlert(
|
||||
self.tr(
|
||||
"You must set a valid backup path in preferences to use "
|
||||
"You must set a valid backup path in Preferences to use "
|
||||
"the automatic project backup feature."
|
||||
), nwAlert.WARN
|
||||
)
|
||||
@@ -997,7 +997,7 @@ class NWProject():
|
||||
if self.projName == "":
|
||||
self.theParent.makeAlert(
|
||||
self.tr(
|
||||
"You must set a valid project name in project settings to "
|
||||
"You must set a valid project name in Project Settings to "
|
||||
"use the automatic project backup feature."
|
||||
), nwAlert.WARN
|
||||
)
|
||||
|
||||
+2
-2
@@ -155,8 +155,8 @@ class GuiAbout(QDialog):
|
||||
),
|
||||
license1 = self.tr(
|
||||
"novelWriter is free software: you can redistribute it and/or modify it "
|
||||
"under the terms of the GNU General Public Licence as published by the "
|
||||
"Free Software Foundation, either version 3 of the Licence, or (at your "
|
||||
"under the terms of the GNU General Public License as published by the "
|
||||
"Free Software Foundation, either version 3 of the License, or (at your "
|
||||
"option) any later version."
|
||||
),
|
||||
license2 = self.tr(
|
||||
|
||||
+1
-1
@@ -468,7 +468,7 @@ class GuiBuildNovel(QDialog):
|
||||
self.saveJsonH.triggered.connect(lambda: self._saveDocument(self.FMT_JSON_H))
|
||||
self.saveMenu.addAction(self.saveJsonH)
|
||||
|
||||
self.saveJsonM = QAction(self.tr("JSON + novelWriters Markdown (.json)"), self)
|
||||
self.saveJsonM = QAction(self.tr("JSON + novelWriter Markdown (.json)"), self)
|
||||
self.saveJsonM.triggered.connect(lambda: self._saveDocument(self.FMT_JSON_M))
|
||||
self.saveMenu.addAction(self.saveJsonM)
|
||||
|
||||
|
||||
+1
-1
@@ -1330,7 +1330,7 @@ class GuiDocEditor(QTextEdit):
|
||||
|
||||
else:
|
||||
self.theParent.makeAlert(
|
||||
self.tr("Please selection some text before calling replace quotes."),
|
||||
self.tr("Please select some text before calling replace quotes."),
|
||||
nwAlert.ERROR
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -989,7 +989,7 @@ class GuiMainMenu(QMenuBar):
|
||||
|
||||
# Tools > Writing Stats
|
||||
self.aWritingStats = QAction(self.tr("Writing Statistics"), self)
|
||||
self.aWritingStats.setStatusTip(self.tr("Show the writing statistics dialog"))
|
||||
self.aWritingStats.setStatusTip(self.tr("Show the writing statistics dialogue"))
|
||||
self.aWritingStats.setShortcut("F6")
|
||||
self.aWritingStats.triggered.connect(lambda: self.theParent.showWritingStatsDialog())
|
||||
self.toolsMenu.addAction(self.aWritingStats)
|
||||
|
||||
@@ -380,7 +380,7 @@ class GuiPreferencesProjects(QWidget):
|
||||
self.mainForm.addRow(
|
||||
self.tr("Run backup when the project is closed"),
|
||||
self.backupOnClose,
|
||||
self.tr("Can be overridden for individual projects in project settings.")
|
||||
self.tr("Can be overridden for individual projects in Project Settings.")
|
||||
)
|
||||
|
||||
## Ask before backup
|
||||
|
||||
Reference in New Issue
Block a user