Commit Graph

8 Commits

Author SHA1 Message Date
Claude
d83789d8a2 fix: translate remaining Spanish text in RoadmapTab priority queues section
- Add translation keys for ENTRADA/SALIDA labels
- Add translation keys for Tier:/Score: labels
- Replace hardcoded Spanish strings with t() calls:
  * "ENTRADA" → t('roadmap.table.entry')
  * "SALIDA" → t('roadmap.table.exit')
  * "Tier:" → t('roadmap.table.tierLabel')
  * "Score:" → t('roadmap.table.scoreLabel')
  * "Top Colas por Volumen × Impacto" → t('roadmap.table.topQueuesByVolumeImpact')
  * Red Flags note → t('roadmap.table.redFlagsNote')
  * "Skills" → t('roadmap.table.skills')

All content under "Oportunidades Priorizadas" section now fully translated.

https://claude.ai/code/session_c61d4539-cc2e-4386-8191-ec167cef65a5
2026-02-08 10:53:02 +00:00
Claude
08a9ecb099 fix: translate remaining Spanish text in RoadmapTab
Fixed untranslated text in:
- Dual Strategy explanation paragraph (used dangerouslySetInnerHTML for HTML content)
- Priority queues table headers (Top Queues, Queue, Vol/month, Red Flags, Potential)

Added translation keys:
- roadmap.dualStrategy.explanation (EN/ES)
- Using existing roadmap.table.* keys for headers

Build verified successfully

https://claude.ai/code/session_03272424-c661-4002-a75e-2f81579fdd6e
2026-02-08 10:18:18 +00:00
Claude
cce483c5b1 fix: complete Spanish-to-English translation for RoadmapTab
Added missing translation keys for visible UI elements:
- Investment Scenarios section (title, subtitle, tooltip)
- Table headers (Scenario, Investment, Recurring, Savings, Margin, Payback, ROI, Risk)
- Risk labels (Low, Medium, High)
- Wave card labels (Savings/year, Margin/year, Savings:)
- Timeline badges (Conditional, risk indicators)
- Tooltips (enabler wave, negative margin, projected ROI, adjusted ROI)

Build verified successfully

https://claude.ai/code/session_03272424-c661-4002-a75e-2f81579fdd6e
2026-02-07 21:23:40 +00:00
Claude
bafd8e3f61 feat: complete translation of remaining Spanish strings in Law10Tab and RoadmapTab
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
2026-02-07 18:40:10 +00:00
Claude
496da958c2 Fix RoadmapTab runtime error: pass t parameter to helper functions
Fixed "ReferenceError: t is not defined" error by:
- Adding t parameter to calcularPaybackCompleto() function
- Adding t parameter to formatearPaybackResult() function
- Updating all call sites to pass t from useTranslation() hook

Helper functions defined outside React components cannot directly
access the t() function from useTranslation() hook. They must receive
it as a parameter from the component.

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 18:05:47 +00:00
Claude
0b778557d3 feat: complete RoadmapTab Spanish-to-English translation
Translate all remaining ~30 hardcoded Spanish strings in RoadmapTab:
- Wave 1-4 iniciativas: nombres and KPIs now use t('roadmap.initiatives.*')
- Wave 1-4 criteriosExito: success criteria use t('roadmap.successCriteriaTemplates.*')
- Wave 1-4 porQueNecesario: descriptions use t('roadmap.porQueNecesarioTemplates.*')
- Skills fallback values: use t('roadmap.fallbackSkills.*')

All translation keys properly interpolate dynamic values (counts, volumes, percentages).
RoadmapTab now uses 137+ translation keys for complete EN/ES language support.
Frontend compiles successfully with no errors.

Translation coverage:
- Tier labels, payback messages, wave metadata
- Initiatives, success criteria, decision gates
- Investment scenarios, timeline, comparison tables
- Entry/exit criteria, recommendations

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 17:55:17 +00:00
Claude
cbe074f43c refactor: implement i18n in RoadmapTab and Law10Tab (phase 5)
Refactored two major tab components to use react-i18next:

RoadmapTab (2,719 lines):
- Opportunity bubble chart with all quadrants and methodology
- Wave cards with risk levels and strategic recommendations
- Tier classification (TIER 1-4) with distribution analysis
- Economic impact and feasibility axis labels
- 100+ translation keys for visualization and strategy content

Law10Tab (1,533 lines):
- Spanish regulatory compliance (Ley 10/2025) analysis
- All 12 requirements with status evaluations
- Time coverage, response speed, resolution quality sections
- Compliance messages and action recommendations
- 80+ translation keys for regulatory content

Added comprehensive translation keys to es.json and en.json:
- roadmap section: 100+ keys
- law10 section: 80+ keys

Build verified successfully.

https://claude.ai/code/session_4f888c33-8937-4db8-8a9d-ddc9ac51a725
2026-02-06 19:43:01 +00:00
sujucu70
1bb0765766 Initial commit - ACME demo version 2026-02-04 11:08:21 +01:00