Skip to content

Commit 6f10b52

Browse files
author
weinStag
committed
fix: translate final remaining Portuguese comments to English
1 parent 1f00680 commit 6f10b52

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/components/ChartVisualization/ChartVisualization.react.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ const ChartVisualization = ({
6868
}
6969
}
7070

71-
// Determinar se é time series de forma mais rigorosa
71+
// Determine if it's time series more rigorously
7272
// Time series if: we have multiple columns AND at least one column is a date
7373
let isTimeSeries = false;
7474
let dateColumnName = null;
7575
let dateColumnIndex = -1;
7676

77-
// Procurar por qualquer coluna de data na seleção (não apenas a primeira)
77+
// Look for any date column in the selection (not just the first)
7878
if (colEnd > colStart && columns) {
7979
for (let colIndex = colStart; colIndex <= colEnd; colIndex++) {
8080
const columnName = order[colIndex]?.name;
@@ -106,7 +106,7 @@ const ChartVisualization = ({
106106
}
107107
}
108108

109-
if (dateCount >= totalRows * 0.6) { // 60% devem ser datas válidas
109+
if (dateCount >= totalRows * 0.6) { // 60% must be valid dates
110110
isTimeSeries = true;
111111
dateColumnName = columnName;
112112
dateColumnIndex = colIndex;
@@ -117,13 +117,13 @@ const ChartVisualization = ({
117117
}
118118

119119
if (isTimeSeries && colEnd > colStart) {
120-
// Time Series: usar a coluna de data encontrada, outras são números
120+
// Time Series: use the found date column, others are numbers
121121
const datasets = [];
122122
let datasetIndex = 0;
123123

124124
// Create a dataset for each numeric column (except the date column)
125125
for (let colIndex = colStart; colIndex <= colEnd; colIndex++) {
126-
// Pular a coluna de data
126+
// Skip the date column
127127
if (colIndex === dateColumnIndex) {
128128
continue;
129129
}
@@ -202,7 +202,7 @@ const ChartVisualization = ({
202202
}
203203
};
204204
} else {
205-
// Number Series: apenas valores numéricos
205+
// Number Series: only numeric values
206206
const labels = [];
207207
const dataPoints = [];
208208

@@ -478,7 +478,7 @@ const ChartVisualization = ({
478478
// Bar ou Line Chart
479479
const ChartComponent = chartType === 'bar' ? Bar : Line;
480480

481-
// Melhorar as opções para dimensionamento correto
481+
// Improve options for correct sizing
482482
const enhancedOptions = {
483483
...chartData.options,
484484
responsive: true,

src/components/Toolbar/Toolbar.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ body:global(.expanded) {
205205
// Responsiveness for chart button
206206
@media (max-width: 968px) {
207207
.stats {
208-
right: 120px; // Menor distância em telas médias
208+
right: 120px; // Smaller distance on medium screens
209209
}
210210
}
211211

@@ -228,7 +228,7 @@ body:global(.expanded) {
228228
}
229229

230230
.stats {
231-
right: 110px; // Ajustado para telas menores
231+
right: 110px; // Adjusted for smaller screens
232232
bottom: 10px;
233233
padding: 6px 10px;
234234
font-size: 13px;
@@ -248,7 +248,7 @@ body:global(.expanded) {
248248
padding: 5px 8px;
249249
font-size: 11px;
250250

251-
// Em telas muito pequenas, mostra apenas o ícone
251+
// On very small screens, show only the icon
252252
span {
253253
display: none;
254254
}

0 commit comments

Comments
 (0)