Browse Source

Pull request #3057: CHART-17315 & CHART-17340 标签边框背景面板在更新后增加check、富文本颜色组件增加国际化

Merge in DESIGN/design from ~QINGHUI.LIU/design:release/10.0 to release/10.0

* commit 'ccb6f6c890dee6bc041e731a347293bda71d47b0':
  CHART-17340 富文本颜色组件增加国际化
  CHART-17315 标签边框背景面板在更新后增加check
feature/big-screen
Qinghui.Liu 4 years ago
parent
commit
343d740da1
  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. 25
      designer-chart/src/main/resources/com/fr/design/editor/script/i18n.js

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;

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

@ -16,7 +16,10 @@
"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": "更多"
}; };
var taiwan = { var taiwan = {
@ -35,7 +38,10 @@
"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": "更多"
}; };
var english = { var english = {
@ -54,7 +60,10 @@
"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"
}; };
var japanese = { var japanese = {
@ -73,7 +82,10 @@
"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": "もっと"
}; };
var korean = { var korean = {
@ -92,7 +104,10 @@
"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": "더"
}; };
function transformI18n(language) { function transformI18n(language) {

Loading…
Cancel
Save