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
Родитель b9080a0df7
Коммит 48c389bc72
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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 // so just save it to locale here and reset it as default after the join
Locale locale = Locale.getDefault(); Locale locale = Locale.getDefault();
if (locale.toString().equalsIgnoreCase("zh_hk")) {
locale = Locale.TRADITIONAL_CHINESE;
Locale.setDefault(locale);
}
GeckoApp app = GeckoApp.mAppContext; GeckoApp app = GeckoApp.mAppContext;
String resourcePath = app.getApplication().getPackageResourcePath(); String resourcePath = app.getApplication().getPackageResourcePath();
String[] pluginDirs = null; String[] pluginDirs = null;