[V3] add a script for regenerating all strings (#1318)

* [V3] add a script for regenerating all strings

* Edits to the yml files

* Fix up deploy section

* Make generate_strings upload to Crowdin
This commit is contained in:
palmtree5
2018-02-18 17:02:22 -09:00
committed by Kowlin
parent 39dbe2805b
commit 86b5932c8f
35 changed files with 802 additions and 313 deletions

View File

@@ -0,0 +1,15 @@
import subprocess
TO_TRANSLATE = [
'../mod.py'
]
def regen_messages():
subprocess.run(
['pygettext', '-n'] + TO_TRANSLATE
)
if __name__ == "__main__":
regen_messages()