Browse Source

国际化文件修改

research/11.0
Maksim 5 years ago
parent
commit
0b3336c1bc
  1. 3
      designer-base/src/main/java/com/fr/design/EnvChangeEntrance.java
  2. 4
      designer-base/src/main/java/com/fr/design/write/submit/CheckServiceDialog.java

3
designer-base/src/main/java/com/fr/design/EnvChangeEntrance.java

@ -20,6 +20,7 @@ import com.fr.general.GeneralUtils;
import com.fr.invoke.Reflect;
import com.fr.json.JSONArray;
import com.fr.license.exception.RegistEditionException;
import com.fr.locale.InterProviderFactory;
import com.fr.log.FineLoggerFactory;
import com.fr.rpc.Result;
import com.fr.stable.AssistUtils;
@ -154,7 +155,7 @@ public class EnvChangeEntrance {
StringBuilder textBuilder = new StringBuilder();
for(Class clazz : noExistServiceSet){
WorkspaceAPI workspaceAPI = (WorkspaceAPI) clazz.getAnnotation(WorkspaceAPI.class);
String descriptionOfCN = Toolkit.i18nText(workspaceAPI.description());
String descriptionOfCN = InterProviderFactory.getProvider().getLocText(workspaceAPI.description());
textBuilder.append(descriptionOfCN).append("\n");
}
String areaText = textBuilder.toString();

4
designer-base/src/main/java/com/fr/design/write/submit/CheckServiceDialog.java

@ -8,7 +8,7 @@ import com.fr.general.FRFont;
import com.fr.general.IOUtils;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.Icon;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
@ -34,7 +34,7 @@ public class CheckServiceDialog extends JDialog implements ActionListener {
//上面的标签面板
topPanel = FRGUIPaneFactory.createBorderLayout_L_Pane();
JPanel imagePanel = new JPanel();
ImageIcon icon = (ImageIcon) IOUtils.readIcon("com/fr/design/images/warnings/warning4.png");
Icon icon = IOUtils.readIcon("com/fr/design/images/warnings/warning4.png");
JLabel imageLabel = new JLabel();
imageLabel.setIcon(icon);

Loading…
Cancel
Save