mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
rbutil: Refresh all translations using lupdate-qt6
Change-Id: Ie355d1a5422ab28e5e195b67ee5591bc973a1210
This commit is contained in:
parent
278a5a9bc2
commit
18237a3c1f
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue