Some reformatting of error messages, mostly regarding line breaks.

This commit is contained in:
Veronica K. B. Olsen
2020-05-28 22:48:37 +02:00
parent 6f5a30092e
commit d852a1a144
6 changed files with 18 additions and 10 deletions
+2 -2
View File
@@ -113,7 +113,7 @@ class NWProject():
CUSTOM, and always have parent handle set to None.
"""
if not self.projTree.checkRootUnique(rootClass):
self.makeAlert("Duplicate root item detected!", nwAlert.ERROR)
self.makeAlert("Duplicate root item detected.", nwAlert.ERROR)
return None
newItem = NWItem(self)
newItem.setName(rootName)
@@ -995,7 +995,7 @@ class NWProject():
# Report status
if len(orphanFiles) > 0:
self.makeAlert(
"Found %d orphaned file(s) in project folder!" % len(orphanFiles),
"Found %d orphaned file(s) in project folder." % len(orphanFiles),
nwAlert.WARN
)
else: