Improve feedback and documentation for i18n

This commit is contained in:
Veronica Berglyd Olsen
2021-05-06 12:33:15 +02:00
parent 22e8d7ee71
commit 1c9ebfd11c
3 changed files with 16 additions and 6 deletions
+4 -2
View File
@@ -225,8 +225,9 @@ def buildQtI18n():
try:
subprocess.call(["lrelease", "-verbose", "novelWriter.pro"])
except Exception as e:
print("QtI18n Release Error:")
print("Qt5 Linguist tools seem to be missing")
print(str(e))
sys.exit(1)
print("")
print("Moving QM Files to Assets")
@@ -262,8 +263,9 @@ def buildQtI18nTS():
try:
subprocess.call(["pylupdate5", "-verbose", "-noobsolete", "novelWriter.pro"])
except Exception as e:
print("QtI18n Release Error:")
print("PyQt5 Linguist tools seem to be missing")
print(str(e))
sys.exit(1)
print("")