Browse Source

规范代码

master
anchore 8 years ago
parent
commit
45af555583
  1. 2
      designer_base/src/com/fr/design/mainframe/DesignerFrameFileDealerPane.java
  2. 7
      designer_base/src/com/fr/design/menu/KeySetUtils.java

2
designer_base/src/com/fr/design/mainframe/DesignerFrameFileDealerPane.java

@ -415,7 +415,7 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt
UIButton cancelButton = new UIButton(Inter.getLocText("FR-Designer_Cancel"));
// mod by anchore 16/11/16
if (Locale.JAPAN.equals(GeneralContext.getLocale())) {
if (ComparatorUtils.equals(Locale.JAPAN, GeneralContext.getLocale())) {
cancelButton.setBounds(250, 90, 80, 25);
} else {
cancelButton.setBounds(180, 90, 80, 25);

7
designer_base/src/com/fr/design/menu/KeySetUtils.java

@ -4,6 +4,7 @@
package com.fr.design.menu;
import com.fr.general.ComparatorUtils;
import com.fr.general.GeneralContext;
import com.fr.general.Inter;
@ -714,10 +715,10 @@ public class KeySetUtils {
public String getMenuName() {
// mod by anchore 16/11/16
if (Locale.JAPAN.equals(GeneralContext.getLocale())) {
return Inter.getLocText(new String[]{"DashBoard-Potence", "Edit"}) + "に" + Inter.getLocText("Allow");
if (ComparatorUtils.equals(Locale.JAPAN, GeneralContext.getLocale())) {
return Inter.getLocText(new String[]{"FR-Engine_RP_Authority_Edit", "Allow"});
} else {
return Inter.getLocText(new String[]{"Allow", "DashBoard-Potence", "Edit"});
return Inter.getLocText(new String[]{"Allow", "FR-Engine_RP_Authority_Edit"});
}
//return Inter.getLocText(new String[]{"Allow", "DashBoard-Potence", "Edit"});
}

Loading…
Cancel
Save