Fix issue on chinese language resource.
This commit is contained in:
parent
5e4b8ed536
commit
4d5fefa105
|
@ -96,7 +96,8 @@ write_file(os.path.join(data_defs_dir, "values/strings_sas.xml"), default)
|
||||||
for lang in cumul:
|
for lang in cumul:
|
||||||
androidLang = lang\
|
androidLang = lang\
|
||||||
.replace("_", "-r")\
|
.replace("_", "-r")\
|
||||||
.replace("zh-rHans", "zh-rCN")
|
.replace("zh-rHans", "zh-rCN") \
|
||||||
|
.replace("zh-rHant", "zh-rTW")
|
||||||
write_file(os.path.join(data_defs_dir, "values-" + androidLang + "/strings_sas.xml"), cumul[lang])
|
write_file(os.path.join(data_defs_dir, "values-" + androidLang + "/strings_sas.xml"), cumul[lang])
|
||||||
|
|
||||||
print()
|
print()
|
||||||
|
|
Loading…
Reference in New Issue