2017-07-26 04:13:57 +10:00
|
|
|
import os
|
|
|
|
|
2018-08-10 16:48:07 +10:00
|
|
|
path = "C:\\Users\\kat\\AppData\\Local\\Continuum\\anaconda3\\envs\\kodi\\Scripts"
|
|
|
|
command = os.path.join(path, "tx.exe")
|
2017-07-26 04:13:57 +10:00
|
|
|
languages = [
|
|
|
|
'nl_NL',
|
|
|
|
'fr_CA',
|
|
|
|
'fr_FR',
|
|
|
|
'de_DE',
|
|
|
|
'pt_PT',
|
|
|
|
'pt_BR',
|
|
|
|
'es_ES',
|
|
|
|
'es_AR',
|
|
|
|
'es_MX',
|
|
|
|
'cs_CZ',
|
|
|
|
'zh_CN',
|
|
|
|
'zh_TW',
|
|
|
|
'da_DK',
|
|
|
|
'it_IT',
|
|
|
|
'no_NO',
|
|
|
|
'el_GR',
|
|
|
|
'pl_PL',
|
|
|
|
# 'sv_SE',
|
2018-04-06 23:32:20 +10:00
|
|
|
'hu_HU',
|
2017-10-10 07:24:21 +11:00
|
|
|
'ru_RU',
|
2018-07-04 22:45:56 +10:00
|
|
|
'uk_UA',
|
2019-02-17 05:02:24 +11:00
|
|
|
'lv_LV',
|
2019-07-21 20:35:09 +10:00
|
|
|
'sv_SE',
|
2021-03-20 23:51:46 +11:00
|
|
|
'lt_LT',
|
|
|
|
'ko_KR'
|
2017-07-26 04:13:57 +10:00
|
|
|
]
|
|
|
|
|
|
|
|
os.system("cd ..")
|
|
|
|
|
|
|
|
for lang in languages:
|
2021-03-21 00:33:55 +11:00
|
|
|
os.system(command + " pull --minimum-perc=10 -f -l %s" % lang)
|