Add a base language file (#965)
This commit is contained in:
committed by
GitHub
parent
56e96ec3aa
commit
f06048384d
+5210
File diff suppressed because it is too large
Load Diff
@@ -276,7 +276,7 @@ def buildQtI18n():
|
|||||||
tsList = []
|
tsList = []
|
||||||
for aFile in os.listdir("i18n"):
|
for aFile in os.listdir("i18n"):
|
||||||
aPath = os.path.join("i18n", aFile)
|
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)
|
tsList.append(aPath)
|
||||||
print(aPath)
|
print(aPath)
|
||||||
|
|
||||||
@@ -385,14 +385,6 @@ def buildQtI18nTS(sysArgs):
|
|||||||
from i18n.pylupdate6 import lupdate
|
from i18n.pylupdate6 import lupdate
|
||||||
lupdate(srcList, tsList, no_obsolete=True, no_summary=False)
|
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("")
|
print("")
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user