1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-04 06:45:45 +02:00

misc: make initial translations copy valid

Change-Id: Iff8a624865f5ef4438b8fd7c418b1e052ecedd1b
This commit is contained in:
Ming Rui Zhang 2020-12-21 10:19:48 -05:00
parent 345da3d72a
commit 96ee77b62f

View file

@ -188,6 +188,8 @@ def release_and_copy_translations():
for file in files: for file in files:
if file.endswith(".ts"): if file.endswith(".ts"):
execute_cmd(lrelease + " " + lrc_ts_path + os.sep + file) execute_cmd(lrelease + " " + lrc_ts_path + os.sep + file)
for _, _, files in os.walk(lrc_ts_path):
for file in files: for file in files:
if file.endswith(".qm"): if file.endswith(".qm"):
print(bcolors.OKBLUE + "Copying translation file: " + print(bcolors.OKBLUE + "Copying translation file: " +
@ -207,6 +209,8 @@ def release_and_copy_translations():
if file.endswith(".ts"): if file.endswith(".ts"):
execute_cmd(lrelease + " " + execute_cmd(lrelease + " " +
client_ts_path + os.sep + file) client_ts_path + os.sep + file)
for _, _, files in os.walk(client_ts_path):
for file in files: for file in files:
if file.endswith(".qm"): if file.endswith(".qm"):
print(bcolors.OKBLUE + "Copying translation file: " + print(bcolors.OKBLUE + "Copying translation file: " +