rbutil: Refresh all translations using lupdate-qt6
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Sat, 20 Jun 2026 19:48:38 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 18237a3c1f1f765d4169b935e342e105af4656cd Author: Solomon Peachy <[email protected]> Date: Sat Jun 20 19:36:27 2026 -0400 rbutil: Refresh all translations using lupdate-qt6 Change-Id: Ie355d1a5422ab28e5e195b67ee5591bc973a1210 diff --git a/utils/rbutilqt/langstats.py b/utils/rbutilqt/langstats.py index 26a56f866c..7167b65bb8 100755 --- a/utils/rbutilqt/langstats.py +++ b/utils/rbutilqt/langstats.py @@ -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() -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs