Skip to content

Commit 1828936

Browse files
committed
change some pivotSheetChart key name
1 parent fb639cb commit 1828936

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed

frontend/src/app/components/ChartGraph/PivotSheetChart/config.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -450,21 +450,21 @@ const config: ChartConfig = {
450450
theme: {
451451
title: '主题',
452452
themeType: '主题类型',
453-
headerFontColor: '表头字体颜色',
453+
colHeaderFontColor: '列表头字体颜色',
454454
evenBgColor: '偶数行背景颜色',
455455
oddBgColor: '奇数行背景颜色',
456-
hoverDataBgColor: '数据选中背景颜色',
457-
hoverHeaderBgColor: '选中列表头背景颜色',
458-
headerBgColor: '表头背景颜色',
459-
prepareSelectMaskBgColor: '刷选遮罩样式背景颜色',
456+
cellBgColorHover: '选中单元格背景颜色',
457+
colHeaderBgColorHover: '选中列表头背景颜色',
458+
colHeaderBgColor: '列表头背景颜色',
459+
prepareSelectMaskBgColor: '画刷层背景颜色',
460460
linkTextColor: '超链接字体颜色',
461-
hoverSplitLineColor: '划上分割线颜色',
462-
dataBorderColor: '数据单元格边框颜色',
463-
headerBorderColor: '表头单元格边框颜色',
461+
resizeAreaColor: '拖拽区域颜色',
462+
cellBorderColor: '单元格边框颜色',
463+
colHeaderBorderColor: '列表头边框颜色',
464464
verticalSplitLineColor: '垂直分割线颜色',
465465
horizontalSplitLineColor: '水平分割线颜色',
466-
dataColor: '数据单元格文字颜色',
467-
rowCellFontColor: '行标题颜色',
466+
cellFontColor: '单元格文字颜色',
467+
rowHeaderFontColor: '行表头文字颜色',
468468
type: {
469469
default: '默认',
470470
gray: '简约灰',
@@ -532,21 +532,21 @@ const config: ChartConfig = {
532532
theme: {
533533
title: 'Theme',
534534
themeType: 'Theme Type',
535-
headerFontColor: 'Header Font Color',
535+
colHeaderFontColor: 'Col Header Font Color',
536536
evenBgColor: 'Even Row Background Color',
537537
oddBgColor: 'Odd Row Background Color',
538-
hoverDataBgColor: 'Hover And Select Data Color',
539-
hoverHeaderBgColor: 'Hover And Select Header Color',
540-
headerBgColor: 'Header Background Color',
538+
cellBgColorHover: 'Selected Cell Background Color',
539+
colHeaderBgColorHover: 'Selected Col Header Background Color',
540+
colHeaderBgColor: 'Col Header Background Color',
541541
prepareSelectMaskBgColor: 'Prepare Select Mask Color',
542542
linkTextColor: 'Link Text Color',
543-
hoverSplitLineColor: 'Hover Split Line Color',
544-
dataBorderColor: 'Data Border Color',
545-
headerBorderColor: 'Header Border Color',
543+
resizeAreaColor: 'Resize Area Color',
544+
cellBorderColor: 'Cell Border Color',
545+
colHeaderBorderColor: 'Col Header Border Color',
546546
verticalSplitLineColor: 'Vertical Split Line Color',
547547
horizontalSplitLineColor: 'Horizontal Split Line Color',
548-
dataColor: 'Data Font Color',
549-
rowCellFontColor: 'Row Cell Font Color',
548+
cellFontColor: 'Cell Font Color',
549+
rowHeaderFontColor: 'Row Header Font Color',
550550
type: {
551551
default: 'Default',
552552
gray: 'Gray',

frontend/src/app/components/FormGenerator/Customize/PivotSheetTheme/PivotSheetTheme.tsx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,43 +28,43 @@ import { PIVOT_THEME_LIST, PIVOT_THEME_SELECT } from './theme';
2828

2929
const template = [
3030
{
31-
label: 'theme.headerFontColor',
32-
key: 'headerFontColor',
31+
label: 'theme.colHeaderFontColor',
32+
key: 'colHeaderFontColor',
3333
index: 0,
3434
},
3535
{
36-
label: 'theme.headerBgColor',
37-
key: 'headerBgColor',
36+
label: 'theme.colHeaderBgColor',
37+
key: 'colHeaderBgColor',
3838
index: 3,
3939
},
4040
{
41-
label: 'theme.hoverHeaderBgColor',
42-
key: 'hoverHeaderBgColor',
41+
label: 'theme.colHeaderBgColorHover',
42+
key: 'colHeaderBgColorHover',
4343
index: 4,
4444
},
4545
{
46-
label: 'theme.headerBorderColor',
47-
key: 'headerBorderColor',
46+
label: 'theme.colHeaderBorderColor',
47+
key: 'colHeaderBorderColor',
4848
index: 10,
4949
},
5050
{
51-
label: 'theme.rowCellFontColor',
52-
key: 'rowCellFontColor',
51+
label: 'theme.rowHeaderFontColor',
52+
key: 'rowHeaderFontColor',
5353
index: 14,
5454
},
5555
{
56-
label: 'theme.dataColor',
57-
key: 'dataColor',
56+
label: 'theme.cellFontColor',
57+
key: 'cellFontColor',
5858
index: 13,
5959
},
6060
{
61-
label: 'theme.hoverDataBgColor',
62-
key: 'hoverDataBgColor',
61+
label: 'theme.cellBgColorHover',
62+
key: 'cellBgColorHover',
6363
index: 2,
6464
},
6565
{
66-
label: 'theme.dataBorderColor',
67-
key: 'dataBorderColor',
66+
label: 'theme.cellBorderColor',
67+
key: 'cellBorderColor',
6868
index: 9,
6969
},
7070
{
@@ -88,8 +88,8 @@ const template = [
8888
index: 12,
8989
},
9090
{
91-
label: 'theme.hoverSplitLineColor',
92-
key: 'hoverSplitLineColor',
91+
label: 'theme.resizeAreaColor',
92+
key: 'resizeAreaColor',
9393
index: 7,
9494
},
9595
{

0 commit comments

Comments
 (0)