Add back in i18n instructions and revert changes to class labels (#970)

* Revert the duplicate class name labels since there was no real need
* Restore i18n instructions
This commit is contained in:
Veronica Berglyd Olsen
2022-01-19 08:35:59 +01:00
committed by GitHub
parent 074718aedc
commit 8b603d15a5
8 changed files with 197 additions and 111 deletions
+1 -1
View File
@@ -307,7 +307,7 @@ class NWProject():
nHandle = self.newRoot(self.tr("Novel"), nwItemClass.NOVEL)
for newRoot in projData.get("addRoots", []):
if newRoot in nwItemClass:
self.newRoot(trConst(nwLabels.CLASS_NAME_LBL[newRoot]), newRoot)
self.newRoot(trConst(nwLabels.CLASS_NAME[newRoot]), newRoot)
# Create a title page
tHandle = self.newFile(self.tr("Title Page"), nwItemClass.NOVEL, nHandle)