From bafd8e3f6161e72e60b4c6b47a170c2eb71fd4c4 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 7 Feb 2026 18:40:10 +0000 Subject: [PATCH] feat: complete translation of remaining Spanish strings in Law10Tab and RoadmapTab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Law10Tab changes: - Fixed 3 Spanish time unit abbreviations (año→yr, mes→mo) - Changed "65K/año" to "65K/yr" (line 1444) - Changed "35K + 8K/mes" to "35K + 8K/mo" (line 1448) - Changed "12-18K/año" to "12-18K/yr" (line 1452) RoadmapTab changes (41 strings translated): - Translated DECISION_GATES object (18 keys) - converted to getDecisionGates(t) function - Translated timeline title and description (2 keys) - Translated all payback tooltip texts (5 keys) - Translated wave descriptions and recommendations (12 keys) - Translated scenario comparison texts (4 keys) - Added useTranslation() hook to RoadmapTimeline component - Updated recommendation generation to use t() with interpolation Translation keys added: - roadmap.payback.* (5 new keys) - roadmap.decisionGates.* (12 keys) - roadmap.timeline.* (2 keys) - roadmap.specificRecommendations.* (12 keys) - roadmap.scenarios.* (3 keys) - roadmap.wave2Description.* (2 keys) All components now fully support Spanish-English translation switching. https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg --- frontend/components/tabs/Law10Tab.tsx | 6 +- frontend/components/tabs/RoadmapTab.tsx | 122 +++++++++++++++--------- frontend/locales/en.json | 29 +++++- frontend/locales/es.json | 29 +++++- 4 files changed, 135 insertions(+), 51 deletions(-) diff --git a/frontend/components/tabs/Law10Tab.tsx b/frontend/components/tabs/Law10Tab.tsx index 037c7a5..3c38ee1 100644 --- a/frontend/components/tabs/Law10Tab.tsx +++ b/frontend/components/tabs/Law10Tab.tsx @@ -1441,15 +1441,15 @@ function DataMaturitySummary({ data }: { data: AnalysisData }) {