Commit Graph

4 Commits

Author SHA1 Message Date
Claude
a3a645008c fix: Law10Tab runtime error - add missing translation function parameter
Fixed critical bug causing Law10Tab to crash with "TypeError: a is not a function".
The getStatusLabel() function was being called without the required 't' parameter
on line 1244, causing a runtime error when rendering the compliance summary table.

Error: Uncaught TypeError: a is not a function at tr (index-yIapr3VZ.js:544:35927)
Fix: Changed getStatusLabel(req.result.status) to getStatusLabel(req.result.status, t)

Law10Tab now loads correctly without errors.

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 17:29:06 +00:00
Claude
2a52eb6508 fix: translate remaining Spanish UI strings and comments to English
- Law10Tab.tsx: Replace hardcoded "Resumen de Cumplimiento" title with translation key
- backendMapper.ts: Translate 3 hardcoded Spanish UI strings and ~20 code comments
- dataTransformation.ts: Translate Spanish comment about division by zero validation

All UI strings now properly use i18next translation keys for EN/ES language switching.
Frontend compilation successful with no errors.

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 11:26:26 +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