From 577994380c893ffd030b68883690005efaf2bc55 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 3 Jun 2021 15:45:55 +0200 Subject: [PATCH] Tools: updated help text --- src/Tools/updatecrowdin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Tools/updatecrowdin.py b/src/Tools/updatecrowdin.py index f5f42e48b1..cb36e9ddab 100755 --- a/src/Tools/updatecrowdin.py +++ b/src/Tools/updatecrowdin.py @@ -40,8 +40,9 @@ Available commands: status: prints a status of the translations update: updates crowdin the current version of .ts files found in the source code build: builds a new downloadable package on crowdin with all translated strings + build-status: shows the status of the current builds available on crowdin download [build_id]: downloads build specified by 'build_id' or latest if build_id is left blank - apply: applies downloaded translations to source code (runs updatefromcrowdin.py) + apply / install: applies downloaded translations to source code (runs updatefromcrowdin.py) Example: @@ -257,7 +258,7 @@ if __name__ == "__main__": updater.update(ts_files) - elif command == "apply": + elif command in ["apply","install"]: import updatefromcrowdin updatefromcrowdin.run()