mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 839380 – zh-hk locale should use zh-tw translation instead of zh-cn r=jchen a=akeybl
This commit is contained in:
parent
ff9c34a6e4
commit
96d53580e3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user