Browse Source

REPORT-979 日文社区,顶部菜单栏删除社区一块

master
kerry 8 years ago
parent
commit
c52ea2a287
  1. 5
      designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

5
designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

@ -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
}; };
} }

Loading…
Cancel
Save