Add a base language file (#965)

This commit is contained in:
Veronica Berglyd Olsen
2022-01-18 16:40:35 +01:00
committed by GitHub
parent 56e96ec3aa
commit f06048384d
2 changed files with 5211 additions and 9 deletions
+5210
View File
File diff suppressed because it is too large Load Diff
+1 -9
View File
@@ -276,7 +276,7 @@ def buildQtI18n():
tsList = []
for aFile in os.listdir("i18n"):
aPath = os.path.join("i18n", aFile)
if os.path.isfile(aPath) and aFile.endswith(".ts"):
if os.path.isfile(aPath) and aFile.endswith(".ts") and aFile != "nw_base.ts":
tsList.append(aPath)
print(aPath)
@@ -385,14 +385,6 @@ def buildQtI18nTS(sysArgs):
from i18n.pylupdate6 import lupdate
lupdate(srcList, tsList, no_obsolete=True, no_summary=False)
# try:
# subprocess.call(["pylupdate5", "-verbose", "-noobsolete", *srcList, "-ts", *tsList])
# except Exception as exc:
# print("PyQt5 Linguist tools seem to be missing")
# print("On Debian/Ubuntu, install: qttools5-dev-tools pyqt5-dev-tools")
# print(str(exc))
# sys.exit(1)
print("")
return