Fix Crowdin config & workflow

Also add new languages and update translation scripts
This commit is contained in:
DisasterMo
2023-01-02 19:47:36 +01:00
parent 3c990add6f
commit fdf7fc2870
15 changed files with 8628 additions and 1714 deletions

2
intl/crowdin_prep.py Executable file → Normal file
View File

@@ -4,7 +4,7 @@ import core_option_translation as t
if __name__ == '__main__':
try:
if t.os.path.isfile(t.sys.argv[1]):
if t.os.path.isfile(t.sys.argv[1]) or t.sys.argv[1].endswith('.h'):
_temp = t.os.path.dirname(t.sys.argv[1])
else:
_temp = t.sys.argv[1]