mirror of
https://github.com/libretro/beetle-wswan-libretro.git
synced 2024-11-22 23:49:40 +00:00
cde4513b6c
This reverts commit d2932cd435
.
17 lines
505 B
Python
17 lines
505 B
Python
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
import subprocess
|
|
|
|
try:
|
|
api_key = sys.argv[1]
|
|
core_name = sys.argv[2]
|
|
dir_path = sys.argv[3]
|
|
except IndexError as e:
|
|
print('Please provide path to libretro_core_options.h, Crowdin API Token and core name!')
|
|
raise e
|
|
|
|
subprocess.run(['python3', 'intl/crowdin_prep.py', dir_path, core_name])
|
|
subprocess.run(['python3', 'intl/crowdin_translation_download.py', api_key, core_name])
|
|
subprocess.run(['python3', 'intl/crowdin_translate.py', dir_path, core_name])
|