rbutil: Refresh all translations using lupdate-qt6

Change-Id: Ie355d1a5422ab28e5e195b67ee5591bc973a1210
This commit is contained in:
Solomon Peachy 2026-06-20 19:36:27 -04:00
parent 278a5a9bc2
commit 18237a3c1f

View file

@ -85,12 +85,12 @@ def langstat(pretty=True, tree=None):
projectfolder = os.path.join(workfolder, LANGBASE)
# lupdate translations and drop all obsolete translations
subprocess.Popen(["lupdate", "-no-obsolete", projectfolder, "-ts"]
subprocess.Popen(["lupdate-qt6", "-no-obsolete", projectfolder, "-ts"]
+ [f"lang/rbutil_{l}.ts" for l in LANGS],
stdout=subprocess.PIPE, stderr=subprocess.PIPE,
cwd=projectfolder).communicate()
# lrelease translations to get status
output = subprocess.Popen(["lrelease"]
output = subprocess.Popen(["lrelease-qt6"]
+ [f"lang/rbutil_{l}.ts" for l in LANGS],
stdout=subprocess.PIPE, stderr=subprocess.PIPE,
cwd=projectfolder).communicate()