Browse Source

Pull request #4280: REPORT-52418 国际化适配,增加空格好看点

Merge in DESIGN/design from ~XIQIU/design:final/10.0 to final/10.0

* commit '020cc9232f95fd5c4b0859a3d968210e2c2bbaf0':
  REPORT-52418   国际化适配
final/10.0
Kara 4 years ago
parent
commit
929ca3ef67
  1. 5
      designer-base/src/main/java/com/fr/design/data/datapane/connect/DatabaseConnectionPane.java

5
designer-base/src/main/java/com/fr/design/data/datapane/connect/DatabaseConnectionPane.java

@ -74,6 +74,7 @@ public abstract class DatabaseConnectionPane<E extends com.fr.data.impl.Connecti
private String originalCharSet = null; private String originalCharSet = null;
private JPanel mainPanel; private JPanel mainPanel;
// Database pane // Database pane
public DatabaseConnectionPane() { public DatabaseConnectionPane() {
this.initComponents(); this.initComponents();
@ -122,7 +123,7 @@ public abstract class DatabaseConnectionPane<E extends com.fr.data.impl.Connecti
driverTips.setText(Toolkit.i18nText("Fine_Designer_Not_Found_Driver")); driverTips.setText(Toolkit.i18nText("Fine_Designer_Not_Found_Driver"));
gridJpanel.add(driverTips); gridJpanel.add(driverTips);
UILabel deatail = new UILabel(); UILabel deatail = new UILabel();
String content = Toolkit.i18nText("Fine_Designer_Not_Found") + select.getResultException().getDetailMessage() + Toolkit.i18nText("Fine_Designer_Driver"); String content = Toolkit.i18nText("Fine_Designer_Not_Found") + " " + select.getResultException().getDetailMessage() + " " + Toolkit.i18nText("Fine_Designer_Driver");
deatail.setText(content); deatail.setText(content);
deatail.setToolTipText(content); deatail.setToolTipText(content);
gridJpanel.add(deatail); gridJpanel.add(deatail);
@ -422,7 +423,7 @@ public abstract class DatabaseConnectionPane<E extends com.fr.data.impl.Connecti
private static JNDIDefPane jndiDefPane = new JNDIDefPane(); private static JNDIDefPane jndiDefPane = new JNDIDefPane();
@Override @Override
protected JPanel mainPanel() { protected JPanel mainPanel() {
return jndiDefPane; return jndiDefPane;
} }

Loading…
Cancel
Save