зеркало из https://github.com/mozilla/gecko-dev.git
bug 839380 – zh-hk locale should use zh-tw translation instead of zh-cn r=jchen a=akeybl
This commit is contained in:
Родитель
b9080a0df7
Коммит
48c389bc72
|
@ -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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче