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:
committed by
GitHub
parent
074718aedc
commit
8b603d15a5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user