Skip to content

Commit 1f00680

Browse files
author
weinStag
committed
fix: complete Portuguese to English comment translation
1 parent b131249 commit 1f00680

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/components/ChartVisualization/ChartVisualization.react.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const ChartVisualization = ({
4747
}) => {
4848
const [chartType, setChartType] = useState('bar');
4949

50-
// Processar dados selecionados para determinar o tipo de visualização
50+
// Process selected data to determine the type of visualization
5151
const chartData = useMemo(() => {
5252
// More rigorous initial validation
5353
if (!selectedData || selectedData.length === 0 || !selectedCells || !data || !Array.isArray(data)) {
@@ -64,7 +64,7 @@ const ChartVisualization = ({
6464
// Check if all row indices are valid
6565
for (let rowIndex = rowStart; rowIndex <= rowEnd; rowIndex++) {
6666
if (!data[rowIndex] || !data[rowIndex].attributes) {
67-
return null; // Dados inconsistentes, abortar
67+
return null; // Inconsistent data, abort
6868
}
6969
}
7070

@@ -246,7 +246,7 @@ const ChartVisualization = ({
246246
}
247247
}
248248

249-
// Usar os labels da primeira coluna (todas devem ter o mesmo número de linhas)
249+
// Use labels from the first column (all should have the same number of rows)
250250
for (let rowIndex = rowStart; rowIndex <= rowEnd; rowIndex++) {
251251
labels.push(`Row ${rowIndex + 1}`);
252252
}

src/components/DraggableResizablePanel/DraggableResizablePanel.react.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const DraggableResizablePanel = ({
5050
const newX = e.clientX - dragStart.x;
5151
const newY = e.clientY - dragStart.y;
5252

53-
// Limitar a posição para não sair da tela
53+
// Limit position to not go off screen
5454
const maxX = window.innerWidth - size.width;
5555
const maxY = window.innerHeight - size.height;
5656

@@ -112,7 +112,7 @@ const DraggableResizablePanel = ({
112112
className={styles.resizableContainer}
113113
>
114114
<div className={styles.panelContainer}>
115-
{/* Barra de título */}
115+
{/* Title bar */}
116116
<div
117117
ref={titleBarRef}
118118
className={styles.titleBar}
@@ -134,7 +134,7 @@ const DraggableResizablePanel = ({
134134
</div>
135135
</div>
136136

137-
{/* Conteúdo do painel */}
137+
{/* Panel content */}
138138
<div className={styles.content}>
139139
{children}
140140
</div>

src/components/Toolbar/Toolbar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ body:global(.expanded) {
202202
}
203203
}
204204

205-
// Responsividade para o botão do gráfico
205+
// Responsiveness for chart button
206206
@media (max-width: 968px) {
207207
.stats {
208208
right: 120px; // Menor distância em telas médias

src/dashboard/Data/Browser/DataBrowser.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export default class DataBrowser extends React.Component {
154154
}
155155
}
156156

157-
// Fechar painel de gráfico se os dados mudaram (como quando ordena a tabela)
157+
// Close chart panel if data changed (like when sorting the table)
158158
if (prevProps.data !== this.props.data && this.state.isChartPanelVisible) {
159159
this.setState({
160160
isChartPanelVisible: false,

0 commit comments

Comments
 (0)