Browse Source

Merge pull request #3062 in DESIGN/design from bugfix/10.0 to feature/10.0

* commit 'bdef7b352e62264c24fc86f862e5ff3e7ac8fe74':
  CHART-17340 补充富文本国际化翻译
  CHART-17340 富文本颜色组件增加国际化
  CHART-17315 标签边框背景面板在更新后增加check
  REPORT-44988 .FineReport100里面有很多残留的埋点文件
research/11.0
superman 4 years ago
parent
commit
d43a53d3a2
  1. 1
      designer-chart/src/main/java/com/fr/van/chart/column/VanChartColumnPlotLabelDetailPane.java
  2. 2
      designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPlotLabelDetailPane.java
  3. 35
      designer-chart/src/main/resources/com/fr/design/editor/script/i18n.js
  4. 4
      designer-realize/src/main/java/com/fr/design/mainframe/messagecollect/impl/AbstractSendDataToCloud.java

1
designer-chart/src/main/java/com/fr/van/chart/column/VanChartColumnPlotLabelDetailPane.java

@ -73,5 +73,6 @@ public class VanChartColumnPlotLabelDetailPane extends VanChartPlotLabelDetailPa
public void update(AttrLabelDetail detail) { public void update(AttrLabelDetail detail) {
super.update(detail); super.update(detail);
checkOrientationEnable(detail); checkOrientationEnable(detail);
checkOrientation();
} }
} }

2
designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPlotLabelDetailPane.java

@ -334,7 +334,7 @@ public class VanChartPlotLabelDetailPane extends BasicPane {
checkPositionEnabled(); checkPositionEnabled();
} }
private void checkOrientation() { protected void checkOrientation() {
if (orientation != null && borderPaneWithTitle != null && backgroundPaneWithTitle != null) { if (orientation != null && borderPaneWithTitle != null && backgroundPaneWithTitle != null) {
boolean horizontal = orientation.getSelectedIndex() == HORIZONTAL_INDEX; boolean horizontal = orientation.getSelectedIndex() == HORIZONTAL_INDEX;

35
designer-chart/src/main/resources/com/fr/design/editor/script/i18n.js

@ -16,7 +16,12 @@
"BI-Basic_Font_Color": "文字颜色", "BI-Basic_Font_Color": "文字颜色",
"BI-Word_Align_Left": "文字居左", "BI-Word_Align_Left": "文字居左",
"BI-Word_Align_Center": "文字居中", "BI-Word_Align_Center": "文字居中",
"BI-Word_Align_Right": "文字居右" "BI-Word_Align_Right": "文字居右",
"BI-Basic_Cancel": "取消",
"BI-Basic_Save": "保存",
"BI-Basic_More": "更多",
"BI-Custom_Color": "自定义颜色",
"BI-Transparent_Color": "透明"
}; };
var taiwan = { var taiwan = {
@ -35,7 +40,12 @@
"BI-Basic_Font_Color": "文字顏色", "BI-Basic_Font_Color": "文字顏色",
"BI-Word_Align_Left": "文字居左", "BI-Word_Align_Left": "文字居左",
"BI-Word_Align_Center": "文字居中", "BI-Word_Align_Center": "文字居中",
"BI-Word_Align_Right": "文字居右" "BI-Word_Align_Right": "文字居右",
"BI-Basic_Cancel": "取消",
"BI-Basic_Save": "保存",
"BI-Basic_More": "更多",
"BI-Custom_Color": "自定義顏色",
"BI-Transparent_Color": "透明"
}; };
var english = { var english = {
@ -54,7 +64,12 @@
"BI-Basic_Font_Color": "Font Color", "BI-Basic_Font_Color": "Font Color",
"BI-Word_Align_Left": "Align Left", "BI-Word_Align_Left": "Align Left",
"BI-Word_Align_Center": "Align Center", "BI-Word_Align_Center": "Align Center",
"BI-Word_Align_Right": "Align Right" "BI-Word_Align_Right": "Align Right",
"BI-Basic_Cancel": "Cancel",
"BI-Basic_Save": "Save",
"BI-Basic_More": "More",
"BI-Custom_Color": "Custom Color",
"BI-Transparent_Color": "Transparent Color"
}; };
var japanese = { var japanese = {
@ -73,7 +88,12 @@
"BI-Basic_Font_Color": "テキストの色", "BI-Basic_Font_Color": "テキストの色",
"BI-Word_Align_Left": "左のテキスト", "BI-Word_Align_Left": "左のテキスト",
"BI-Word_Align_Center": "テキスト中心", "BI-Word_Align_Center": "テキスト中心",
"BI-Word_Align_Right": "右のテキスト" "BI-Word_Align_Right": "右のテキスト",
"BI-Basic_Cancel": "キャンセル",
"BI-Basic_Save": "セーブ",
"BI-Basic_More": "もっと",
"BI-Custom_Color": "カスタムカラー",
"BI-Transparent_Color": "トランスペアレント"
}; };
var korean = { var korean = {
@ -92,7 +112,12 @@
"BI-Basic_Font_Color": "텍스트 색상", "BI-Basic_Font_Color": "텍스트 색상",
"BI-Word_Align_Left": "왼쪽 텍스트", "BI-Word_Align_Left": "왼쪽 텍스트",
"BI-Word_Align_Center": "텍스트 중심", "BI-Word_Align_Center": "텍스트 중심",
"BI-Word_Align_Right": "오른쪽 텍스트" "BI-Word_Align_Right": "오른쪽 텍스트",
"BI-Basic_Cancel": "취소",
"BI-Basic_Save": "저장",
"BI-Basic_More": "더",
"BI-Custom_Color": "맞춤 색상",
"BI-Transparent_Color": "투명한"
}; };
function transformI18n(language) { function transformI18n(language) {

4
designer-realize/src/main/java/com/fr/design/mainframe/messagecollect/impl/AbstractSendDataToCloud.java

@ -126,10 +126,10 @@ public abstract class AbstractSendDataToCloud implements XMLable {
} }
} catch (Exception e) { } catch (Exception e) {
FineLoggerFactory.getLogger().error(e.getMessage(), e); FineLoggerFactory.getLogger().error(e.getMessage(), e);
return; } finally {
}
fileEntityBuilder.deleteFileAndZipFile(file, pathName); fileEntityBuilder.deleteFileAndZipFile(file, pathName);
} }
}
} }

Loading…
Cancel
Save