From fcd1d400f86f2f9cf44b50edf6ccf9eb7c916976 Mon Sep 17 00:00:00 2001
From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com>
Date: Wed, 24 Feb 2021 21:39:21 +0100
Subject: [PATCH] Fix spelling of the word "licence"
---
nw/__init__.py | 2 +-
nw/gui/about.py | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/nw/__init__.py b/nw/__init__.py
index 6d53ead4..a2122e73 100644
--- a/nw/__init__.py
+++ b/nw/__init__.py
@@ -137,7 +137,7 @@ def main(sysArgs=None):
"This program is distributed in the hope that it will be useful,\n"
"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- "GNU General Public License for more details.\n"
+ "GNU General Public Licence for more details.\n"
"\n"
"Usage:\n"
" -h, --help Print this message.\n"
diff --git a/nw/gui/about.py b/nw/gui/about.py
index 94c66955..d2d76c1c 100644
--- a/nw/gui/about.py
+++ b/nw/gui/about.py
@@ -92,7 +92,7 @@ class GuiAbout(QDialog):
self.tabBox = QTabWidget()
self.tabBox.addTab(self.pageAbout, self.tr("About"))
self.tabBox.addTab(self.pageNotes, self.tr("Release"))
- self.tabBox.addTab(self.pageLicense, self.tr("License"))
+ self.tabBox.addTab(self.pageLicense, self.tr("Licence"))
self.innerBox.addWidget(self.tabBox)
# OK Button
@@ -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 License as published by the "
- "Free Software Foundation, either version 3 of the License, or (at your "
+ "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 "
"option) any later version."
),
license2 = self.tr(
@@ -165,7 +165,7 @@ class GuiAbout(QDialog):
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
),
license3 = self.tr(
- "See the License tab for the full license text, or visit the "
+ "See the Licence tab for the full licence text, or visit the "
"GNU website at {0} for more details."
).format(
"GPL v3.0"
@@ -179,7 +179,7 @@ class GuiAbout(QDialog):
self.tr("Theme: {0}").format(theTheme.themeName),
self.tr("Author: {0}").format(theTheme.themeAuthor),
self.tr("Credit: {0}").format(theTheme.themeCredit),
- self.tr("License: {0}").format(
+ self.tr("Licence: {0}").format(
f"{theTheme.themeLicense}"
)
)
@@ -189,7 +189,7 @@ class GuiAbout(QDialog):
self.tr("Icons: {0}").format(theIcons.themeName),
self.tr("Author: {0}").format(theIcons.themeAuthor),
self.tr("Credit: {0}").format(theIcons.themeCredit),
- self.tr("License: {0}").format(
+ self.tr("Licence: {0}").format(
f"{theIcons.themeLicense}"
)
)
@@ -199,7 +199,7 @@ class GuiAbout(QDialog):
self.tr("Syntax: {0}").format(theTheme.syntaxName),
self.tr("Author: {0}").format(theTheme.syntaxAuthor),
self.tr("Credit: {0}").format(theTheme.syntaxCredit),
- self.tr("License: {0}").format(
+ self.tr("Licence: {0}").format(
f"{theTheme.syntaxLicense}"
)
)
@@ -221,7 +221,7 @@ class GuiAbout(QDialog):
return
def _fillLicensePage(self):
- """Load the content for the License page.
+ """Load the content for the Licence page.
"""
docPath = os.path.join(self.mainConf.assetPath, "text", "gplv3_en.htm")
if os.path.isfile(docPath):
@@ -229,7 +229,7 @@ class GuiAbout(QDialog):
helpText = inFile.read()
self.pageLicense.setHtml(helpText)
else:
- self.pageLicense.setHtml("Error loading license text ...")
+ self.pageLicense.setHtml("Error loading licence text ...")
return
def _setStyleSheet(self):