Do it right!

This commit is contained in:
Veronica K. B. Olsen
2020-06-27 17:31:33 +02:00
parent 3d162b880a
commit c241e5f52e
+6 -5
View File
@@ -380,11 +380,12 @@ class NWProject():
elif fileVersion != "1.1" and fileVersion != "1.2": elif fileVersion != "1.1" and fileVersion != "1.2":
self.makeAlert(( self.makeAlert((
"Unknown or unsupported %s project file format. " "Unknown or unsupported {nw:s} project file format. "
"The project cannot be opened by this version of %s. " "The project cannot be opened by this version of {nw:s}. "
"The file was saved with novelWriter version %s." "The file was saved with {nw:s} version {vers:s}."
) % ( ).format(
nw.__package__, nw.__package__, appVersion nw = nw.__package__,
vers = appVersion,
), nwAlert.ERROR) ), nwAlert.ERROR)
return False return False