Test terminology update

This commit is contained in:
Veronica K. B. Olsen
2021-05-02 17:48:28 +02:00
parent 7867965989
commit 6c79a1daba
23 changed files with 92 additions and 92 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ class NWIndex():
logger.debug("Indexing item with handle %s" % tHandle)
# Check file type, and reset its old index
# Also add a dummy entry T000000 in case the file has no title
# Also add a default entry T000000 in case the file has no title
self._refIndex[tHandle] = {}
self._refIndex[tHandle]["T000000"] = {
"tags" : [],
+6 -6
View File
@@ -47,17 +47,17 @@ class NWSpellCheck():
return
def setLanguage(self, theLang, projectDict=None):
"""Dummy function.
"""Default function.
"""
return
def checkWord(self, theWord):
"""Dummy function.
"""Default function.
"""
return True
def suggestWords(self, theWord):
"""Dummy function.
"""Default function.
"""
return []
@@ -78,12 +78,12 @@ class NWSpellCheck():
return False
def listDictionaries(self):
"""Dummy function.
"""Default function.
"""
return []
def describeDict(self):
"""Dummy function.
"""Default function.
"""
return "", ""
@@ -136,7 +136,7 @@ class NWSpellEnchant(NWSpellCheck):
def setLanguage(self, theLang, projectDict=None):
"""Load a dictionary for the language specified in the config.
If that fails, we load a dummy dictionary so that lookups don't
If that fails, we load a mock dictionary so that lookups don't
crash.
"""
try:
+1 -1
View File
@@ -563,7 +563,7 @@ class ToOdt(Tokenizer):
##
if len(theText) != len(theFmt):
# Generate dummy format if there isn't any or it doesn't match
# Generate an empty format if there isn't any or it doesn't match
theFmt = " "*len(theText)
# XML functions
+2 -2
View File
@@ -173,7 +173,7 @@ class GuiBuildNovel(QDialog):
if langIdx != -1:
self.buildLang.setCurrentIndex(langIdx)
# Dummy boxes due to QGridView and QLineEdit expand bug
# Wrapper boxes due to QGridView and QLineEdit expand bug
self.boxTitle = QHBoxLayout()
self.boxTitle.addWidget(self.fmtTitle)
self.boxChapter = QHBoxLayout()
@@ -245,7 +245,7 @@ class GuiBuildNovel(QDialog):
self.optState.getFloat("GuiBuildNovel", "lineHeight", 1.15)
)
# Dummy box due to QGridView and QLineEdit expand bug
# Wrapper box due to QGridView and QLineEdit expand bug
self.boxFont = QHBoxLayout()
self.boxFont.addWidget(self.textFont)