xiaoxia 8 years ago
parent
commit
6fc4115978
  1. 3
      designer/src/com/fr/design/mainframe/alphafine/previewPane/PluginPreviewPane.java
  2. 2
      designer_base/src/com/fr/design/DesignerEnvManager.java
  3. 2
      designer_base/src/com/fr/design/actions/help/AlphaFine/AlphafineAction.java
  4. 3
      designer_base/src/com/fr/design/locale/designer.properties
  5. 1
      designer_base/src/com/fr/design/locale/designer_zh_CN.properties

3
designer/src/com/fr/design/mainframe/alphafine/previewPane/PluginPreviewPane.java

@ -2,6 +2,7 @@ package com.fr.design.mainframe.alphafine.previewPane;
import com.fr.design.gui.ilable.UILabel; import com.fr.design.gui.ilable.UILabel;
import com.fr.design.mainframe.alphafine.CellType; import com.fr.design.mainframe.alphafine.CellType;
import com.fr.general.Inter;
import javax.swing.*; import javax.swing.*;
import java.awt.*; import java.awt.*;
@ -47,7 +48,7 @@ public class PluginPreviewPane extends JPanel {
nameLabel.setBackground(new Color(0x3394f0)); nameLabel.setBackground(new Color(0x3394f0));
nameLabel.setBorder(BorderFactory.createEmptyBorder(20,20,10,20)); nameLabel.setBorder(BorderFactory.createEmptyBorder(20,20,10,20));
line.setBorder(BorderFactory.createEmptyBorder(20, 0, 10, 0)); line.setBorder(BorderFactory.createEmptyBorder(20, 0, 10, 0));
String price0 = price == 0 ? "免费" : String.valueOf(price); String price0 = price == 0 ? Inter.getLocText("FR-Designer-Collect_Information_free") : String.valueOf(price);
UILabel priceLabel = new UILabel(price0); UILabel priceLabel = new UILabel(price0);
priceLabel.setForeground(new Color(0xf46c4c)); priceLabel.setForeground(new Color(0xf46c4c));
priceLabel.setFont(new Font("Song_TypeFace",0,10)); priceLabel.setFont(new Font("Song_TypeFace",0,10));

2
designer_base/src/com/fr/design/DesignerEnvManager.java

@ -144,7 +144,7 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
if (designerEnvManager.nameEnvMap.size() <= 0) { if (designerEnvManager.nameEnvMap.size() <= 0) {
String installHome = StableUtils.getInstallHome(); String installHome = StableUtils.getInstallHome();
if (installHome != null) { if (installHome != null) {
String name = Inter.getLocText("Default"); String name = Inter.getLocText("FR-Designer_DEFAULT");
String envPath = StableUtils.pathJoin(new String[]{installHome, ProjectConstants.WEBAPP_NAME, ProjectConstants.WEBINF_NAME}); String envPath = StableUtils.pathJoin(new String[]{installHome, ProjectConstants.WEBAPP_NAME, ProjectConstants.WEBINF_NAME});
designerEnvManager.putEnv(name, LocalEnv.createEnv(envPath)); designerEnvManager.putEnv(name, LocalEnv.createEnv(envPath));
designerEnvManager.setCurEnvName(name); designerEnvManager.setCurEnvName(name);

2
designer_base/src/com/fr/design/actions/help/AlphaFine/AlphafineAction.java

@ -35,7 +35,7 @@ public class AlphafineAction extends UpdateAction {
@Override @Override
public String getMenuName() { public String getMenuName() {
return Inter.getLocText("AlphaFine"); return "AlphaFine";
} }
@Override @Override

3
designer_base/src/com/fr/design/locale/designer.properties

@ -551,4 +551,5 @@ FR-Designer_Templates=FR-Designer_Templates
FR-Designer_Templates_Content= FR-Designer_Templates_Content=
FR-Designer_AlphaFine_ShowAll= FR-Designer_AlphaFine_ShowAll=
FR-Designer_AlphaFine_Latest= FR-Designer_AlphaFine_Latest=
FR-Designer_AlphaFine_ShowLess= FR-Designer_AlphaFine_ShowLess=
FR-Designer_Alphafine=

1
designer_base/src/com/fr/design/locale/designer_zh_CN.properties

@ -556,4 +556,5 @@ FR-Designer_AlphaFine_ShowAll=\u663E\u793A\u5168\u90E8
FR-Designer_AlphaFine_Conclude=\u731C\u60A8\u9700\u8981 FR-Designer_AlphaFine_Conclude=\u731C\u60A8\u9700\u8981
FR-Designer_AlphaFine_Latest=\u6700\u8FD1\u5E38\u7528 FR-Designer_AlphaFine_Latest=\u6700\u8FD1\u5E38\u7528
FR-Designer_AlphaFine_ShowLess=\u6536\u8D77 FR-Designer_AlphaFine_ShowLess=\u6536\u8D77
FR-Designer_Alphafine=AlphaFine\u667A\u80FD\u641C\u7D22

Loading…
Cancel
Save