From 96ee77b62fe760715c95ec13e436c66f4447ea5b Mon Sep 17 00:00:00 2001
From: Ming Rui Zhang <mingrui.zhang@savoirfairelinux.com>
Date: Mon, 21 Dec 2020 10:19:48 -0500
Subject: [PATCH] misc: make initial translations copy valid

Change-Id: Iff8a624865f5ef4438b8fd7c418b1e052ecedd1b
---
 copy-runtime-files.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/copy-runtime-files.py b/copy-runtime-files.py
index ca4ee98bd..7dde331bb 100644
--- a/copy-runtime-files.py
+++ b/copy-runtime-files.py
@@ -188,6 +188,8 @@ def release_and_copy_translations():
         for file in files:
             if file.endswith(".ts"):
                 execute_cmd(lrelease + " " + lrc_ts_path + os.sep + file)
+
+    for _, _, files in os.walk(lrc_ts_path):
         for file in files:
             if file.endswith(".qm"):
                 print(bcolors.OKBLUE + "Copying translation file: " +
@@ -207,6 +209,8 @@ def release_and_copy_translations():
             if file.endswith(".ts"):
                 execute_cmd(lrelease + " " +
                             client_ts_path + os.sep + file)
+
+    for _, _, files in os.walk(client_ts_path):
         for file in files:
             if file.endswith(".qm"):
                 print(bcolors.OKBLUE + "Copying translation file: " +
-- 
GitLab