mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
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:
|
||||
androidLang = lang\
|
||||
.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])
|
||||
|
||||
print()
|
||||
|
Loading…
Reference in New Issue
Block a user