[Android]Use zh instead of zh-rTW as output folder of zh_TW translation
Android does not support zh-HK, yet many vendors still ship devices with
this locale. By default Android will fall back to English when it sees
zh-HK. This CL changes the output folder of our traditional Chinese
folder from zh-rTW to zh so that zh_HK users will fall back to
traditional Chinese.
This CL does not affect simplified Chinese. It will affect other
unsupported Chinese locales such as zh_sg (if any).
BUG=555101
Review-Url: https://codereview.chromium.org/1931093002
Cr-Commit-Position: refs/heads/master@{#391105}
diff --git a/components/components_strings.grd b/components/components_strings.grd
index d195968..985bf8ed 100644
--- a/components/components_strings.grd
+++ b/components/components_strings.grd
@@ -121,7 +121,7 @@
<output filename="java/res/values-uk/components_strings.xml" lang="uk" type="android" context="android_java" />
<output filename="java/res/values-vi/components_strings.xml" lang="vi" type="android" context="android_java" />
<output filename="java/res/values-zh-rCN/components_strings.xml" lang="zh-CN" type="android" context="android_java" />
- <output filename="java/res/values-zh-rTW/components_strings.xml" lang="zh-TW" type="android" context="android_java" />
+ <output filename="java/res/values-zh/components_strings.xml" lang="zh-TW" type="android" context="android_java" />
</if>
</outputs>