From 80815532407d2f92a387ce0c40c87bb81aecad51 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 4 Feb 2023 13:44:41 -0800 Subject: Update translation script --- tools/translate.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/translate.py') diff --git a/tools/translate.py b/tools/translate.py index b6f25beb..e1212b7c 100755 --- a/tools/translate.py +++ b/tools/translate.py @@ -26,5 +26,7 @@ for language in languages: print(language.code) url = transifex_api.ResourceTranslationsAsyncDownload.download(resource=resource, language=language) result = requests.get(url) + with open('../web/l10n/' + language.code + '.json', "w") as file: + file.write(result.text) with open('../modern/src/resources/l10n/' + language.code + '.json', "w") as file: file.write(result.text) -- cgit v1.2.3