Skip to content

Commit b3ff98f

Browse files
committed
Fixed trans in gauge chart.
1 parent 84b4285 commit b3ff98f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

client/packages/lowcoder-comps/src/comps/gaugeChartComp/gaugeChartPropertyView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function gaugeChartPropertyView(
4747
{children.splitNumber.propertyView({ label: trans("gaugeChart.splitNumber"), tooltip: trans("echarts.splitNumberTooltip") })}
4848
{children.pointerLength.propertyView({ label: trans("gaugeChart.pointerLength"), tooltip: trans("echarts.pointerLengthTooltip") })}
4949
{children.pointerWidth.propertyView({ label: trans("gaugeChart.pointerWidth"), tooltip: trans("echarts.pointerWidthTooltip") })}
50-
{children.progressBar.getView() && children.progressBarWidth.propertyView({ label: trans("echarts.progressBarWidthToolTip") })}
50+
{children.progressBar.getView() && children.progressBarWidth.propertyView({ label: trans("gaugeChart.progressBarWidth"), tooltip: trans("echarts.pointerWidthTooltip") })}
5151
{/* {children.gap.propertyView({ label: trans("gaugeChart.gap") })} */}
5252
{children.tooltip.propertyView({ label: trans("gaugeChart.tooltip"), tooltip: trans("echarts.tooltipVisibilityTooltip") })}
5353
{children.progressBar.propertyView({ label: trans("gaugeChart.progressBar"), tooltip: trans("echarts.progressBarVisibilityTooltip") })}

client/packages/lowcoder-comps/src/i18n/comps/locales/en.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export const en = {
137137
progressBarWidth: 'Progress Bar Width',
138138
defaultProgressBarWidth: '10',
139139
progressBar: 'Progress Bar',
140+
roundCap: "Round Cap"
140141
},
141142
echarts: {
142143
defaultTitle: "Data Display",
@@ -167,6 +168,7 @@ export const en = {
167168
opacityTooltip: "Set the opacity of the Chart.",
168169
titleTooltip: "Set the title of the Chart.",
169170
roundCap: 'Round Cap',
171+
pointerWidth: "Pointer Width",
170172
roundCapTooltip: "Change the shape of the start, current, and end edges of the progress bar to round or straight.",
171173
progressBarVisibilityToolip: "Show or hide the current status on the progress bar.",
172174
endAngleTooltip: "Set the End angle value of the Chart.",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy