Urtzi Alfaro
407429d50a
feat(dashboard): Add i18n support for action buttons
- Create getActionLabelKey() mapper function for action types
- Map action types (approve_po, call_supplier, etc.) to i18n keys
- Extract parameters from metadata (amount, supplier, customer, hours)
- Update button rendering to use translations instead of backend strings
Translation updates:
- Add missing action keys: reject_po, complete_receipt, mark_received
- Spanish translations: "Rechazar pedido", "Completar recepción", etc.
- Basque translations: "Baztertu eskaera", "Osatu stockaren harrera", etc.
Action buttons now respect user's language preference (EN/ES/EU)
instead of showing hardcoded backend strings.
Fixes: Issue #4 - Missing i18n for action buttons
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 07:40:12 +01:00
..
2025-11-19 07:46:40 +01:00
2025-11-13 16:01:08 +01:00
2025-11-27 07:40:12 +01:00
2025-09-25 14:30:47 +02:00
2025-11-21 16:15:09 +01:00
2025-11-18 22:17:56 +01:00
2025-11-20 19:14:49 +01:00
2025-09-25 12:14:46 +02:00
2025-11-19 07:46:40 +01:00
2025-10-29 06:58:05 +01:00
2025-09-25 12:14:46 +02:00
2025-11-02 20:24:44 +01:00
2025-11-12 15:34:10 +01:00
2025-09-18 23:32:53 +02:00
2025-11-18 11:33:33 +00:00
2025-10-27 16:33:26 +01:00
2025-11-20 19:14:49 +01:00
2025-11-05 13:34:56 +01:00
2025-11-12 15:34:10 +01:00
2025-09-19 11:44:38 +02:00
2025-10-21 19:50:07 +02:00
2025-10-27 16:33:26 +01:00
2025-11-19 21:01:06 +01:00
2025-11-21 16:15:09 +01:00
2025-09-19 16:03:24 +02:00
2025-11-02 20:24:44 +01:00
2025-11-13 16:01:08 +01:00
2025-11-12 15:17:58 +00:00
2025-11-19 22:12:51 +01:00
2025-10-29 06:58:05 +01:00
2025-11-08 12:02:18 +01:00
2025-09-25 12:14:46 +02:00
2025-11-20 19:14:49 +01:00