bug 839380 – zh-hk locale should use zh-tw translation instead of zh-cn r=jchen a=akeybl

This commit is contained in:
Brad Lassey 2013-02-11 23:08:19 -05:00
parent ff9c34a6e4
commit 96d53580e3

View File

@ -47,6 +47,11 @@ public class GeckoThread extends Thread implements GeckoEventListener {
// so just save it to locale here and reset it as default after the join
Locale locale = Locale.getDefault();
if (locale.toString().equalsIgnoreCase("zh_hk")) {
locale = Locale.TRADITIONAL_CHINESE;
Locale.setDefault(locale);
}
GeckoApp app = GeckoApp.mAppContext;
String resourcePath = app.getApplication().getPackageResourcePath();
String[] pluginDirs = null;