From 4d5fefa105fd5756b2ab02d441cfe8210a3c5eaa Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 6 Dec 2023 14:57:50 +0100 Subject: [PATCH] Fix issue on chinese language resource. --- tools/import_sas_strings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/import_sas_strings.py b/tools/import_sas_strings.py index cd642fd0d1..6f63df2c84 100755 --- a/tools/import_sas_strings.py +++ b/tools/import_sas_strings.py @@ -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()