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 authored and GitHub committed 2022-01-19 08:35:59 +01:00
1 parent 074718aedc
commit 8b603d15a5
8 files changed
+197 -111

No files matched your search

+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)