Browse Source

REPORT-42551 & REPORT-42552 日文屏蔽更新升级

feature/big-screen
bryant 4 years ago
parent
commit
bf833edf75
  1. 4
      designer-base/src/main/java/com/fr/design/locale/impl/SupportLocaleImpl.java
  2. 2
      designer-base/src/main/java/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

4
designer-base/src/main/java/com/fr/design/locale/impl/SupportLocaleImpl.java

@ -159,9 +159,9 @@ public enum SupportLocaleImpl implements SupportLocale {
},
/**
* 更新升级-社区菜单下
* 更新升级-帮助菜单下
*/
UPDATE_COMMUNITY {
UPDATE_HELP {
@Override
public Set<Locale> support() {
Set<Locale> set = new HashSet<>();

2
designer-base/src/main/java/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

@ -540,7 +540,7 @@ public abstract class ToolBarMenuDock {
if (WorkContext.getCurrent().isLocal()) {
shortCuts.add(new WebDemoAction());
if (!Locale.getDefault().equals(Locale.JAPAN) && !Locale.getDefault().equals(Locale.JAPANESE)) {
LocaleCenter.buildAction(() -> shortCuts.add(new SoftwareUpdateAction()), SupportLocaleImpl.UPDATE_COMMUNITY);
LocaleCenter.buildAction(() -> shortCuts.add(new SoftwareUpdateAction()), SupportLocaleImpl.UPDATE_HELP);
}
}
if (AlphaFineConfigManager.isALPHALicAvailable()) {

Loading…
Cancel
Save