From dd057f590e31732df37cee68ad40bc2f70d14caa Mon Sep 17 00:00:00 2001 From: Chirag Singhal <76880977+chirag127@users.noreply.github.com> Date: Sat, 11 Jul 2026 02:35:36 +0530 Subject: [PATCH] fix(i18n): translate hardcoded Portuguese dashboard strings to English (#6769) Reconstructed onto release/v3.8.47 to drop unrelated main-drift (deps/electron/proxy files belong to #6620, not this PR); keeps only the author's changes. Co-authored-by: Chirag Singhal Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com> --- .../fixes/6769-i18n-translate-pt-dashboard.md | 1 + .../compression/studio/CompareView.tsx | 2 +- .../compression/studio/PlaygroundInput.tsx | 2 +- .../context/combos/CompressionHub.tsx | 11 ++--- .../advanced/CompressionPreviewAccordion.tsx | 2 +- .../i18n-hardcoded-pt-dashboard-6761.test.ts | 44 +++++++++++++++++++ 6 files changed, 52 insertions(+), 10 deletions(-) create mode 100644 changelog.d/fixes/6769-i18n-translate-pt-dashboard.md create mode 100644 tests/unit/i18n-hardcoded-pt-dashboard-6761.test.ts diff --git a/changelog.d/fixes/6769-i18n-translate-pt-dashboard.md b/changelog.d/fixes/6769-i18n-translate-pt-dashboard.md new file mode 100644 index 0000000000..590224dc79 --- /dev/null +++ b/changelog.d/fixes/6769-i18n-translate-pt-dashboard.md @@ -0,0 +1 @@ +- **fix(i18n): translate hardcoded Portuguese dashboard strings to English (#6761, #6768)** (#6769 — thanks @chirag127). diff --git a/src/app/(dashboard)/dashboard/compression/studio/CompareView.tsx b/src/app/(dashboard)/dashboard/compression/studio/CompareView.tsx index df4bf66169..985e1800ef 100644 --- a/src/app/(dashboard)/dashboard/compression/studio/CompareView.tsx +++ b/src/app/(dashboard)/dashboard/compression/studio/CompareView.tsx @@ -115,7 +115,7 @@ export function CompareView({ text }: CompareViewProps) { - + {rows.map((r) => { diff --git a/src/app/(dashboard)/dashboard/compression/studio/PlaygroundInput.tsx b/src/app/(dashboard)/dashboard/compression/studio/PlaygroundInput.tsx index 9c3977a7b1..0cadf7a356 100644 --- a/src/app/(dashboard)/dashboard/compression/studio/PlaygroundInput.tsx +++ b/src/app/(dashboard)/dashboard/compression/studio/PlaygroundInput.tsx @@ -20,7 +20,7 @@ export function PlaygroundInput({ text, onText, active, onToggleActive, onRun, l
EngineSavingsRetençãoOut tokFidelidade
EngineSavingsRetentionOut tokFidelity