|
|
@ -148,7 +148,7 @@ public abstract class ToolBarMenuDock { |
|
|
|
|
|
|
|
|
|
|
|
public void addCommunityMenuDef(java.util.List<MenuDef> menuList){ |
|
|
|
public void addCommunityMenuDef(java.util.List<MenuDef> menuList){ |
|
|
|
Locale locale = FRContext.getLocale(); |
|
|
|
Locale locale = FRContext.getLocale(); |
|
|
|
Locale [] locales =supportCommunityLocales(); |
|
|
|
Locale [] locales = supportCommunityLocales(); |
|
|
|
for(int i = 0; i < locales.length; i++) { |
|
|
|
for(int i = 0; i < locales.length; i++) { |
|
|
|
if(locale.equals(locales[i])){ |
|
|
|
if(locale.equals(locales[i])){ |
|
|
|
menuList.add(createCommunityMenuDef()); |
|
|
|
menuList.add(createCommunityMenuDef()); |
|
|
@ -160,9 +160,8 @@ public abstract class ToolBarMenuDock { |
|
|
|
public Locale[] supportCommunityLocales() { |
|
|
|
public Locale[] supportCommunityLocales() { |
|
|
|
return new Locale[]{ |
|
|
|
return new Locale[]{ |
|
|
|
Locale.CHINA, |
|
|
|
Locale.CHINA, |
|
|
|
Locale.JAPAN, |
|
|
|
|
|
|
|
Locale.TAIWAN, |
|
|
|
Locale.TAIWAN, |
|
|
|
Locale.US, |
|
|
|
Locale.US |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|