Skip to content

Commit 4d5fefa

Browse files
committed
Fix issue on chinese language resource.
1 parent 5e4b8ed commit 4d5fefa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/import_sas_strings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ def write_file(file, dict):
9696
for lang in cumul:
9797
androidLang = lang\
9898
.replace("_", "-r")\
99-
.replace("zh-rHans", "zh-rCN")
99+
.replace("zh-rHans", "zh-rCN") \
100+
.replace("zh-rHant", "zh-rTW")
100101
write_file(os.path.join(data_defs_dir, "values-" + androidLang + "/strings_sas.xml"), cumul[lang])
101102

102103
print()

0 commit comments

Comments
 (0)