Improve UI and traslations

This commit is contained in:
Urtzi Alfaro
2026-01-01 13:36:45 +01:00
parent 007cbda598
commit cba55c2805
47 changed files with 1405 additions and 999 deletions

View File

@@ -163,7 +163,7 @@
"active_count": "{count} active alerts"
},
"production": {
"scheduled_based_on": "Scheduled based on {{type}}",
"scheduled_based_on": "Scheduled based on {type}",
"status": {
"completed": "COMPLETED",
"in_progress": "IN PROGRESS",
@@ -198,26 +198,26 @@
},
"health": {
"production_on_schedule": "Production on schedule",
"production_delayed": "{count} production batch{count, plural, one {} other {es}} delayed",
"production_late_to_start": "{count} batch{count, plural, one {} other {es}} not started on time",
"production_delayed_and_late": "{delayed} batch{delayed, plural, one {} other {es}} delayed and {late} not started on time",
"production_delayed": "{count} production batch{count, plural, one {} other {es} delayed}",
"production_late_to_start": "{count} batch{count, plural, one {} other {es} not started on time}",
"production_delayed_and_late": "{delayed} batch{delayed, plural, one {} other {es} delayed and {late} not started on time}",
"production_issues": "{total} production issue{total, plural, one {} other {s}}",
"production_ai_prevented": "AI prevented {count} production delay{count, plural, one {} other {s}}",
"all_ingredients_in_stock": "All ingredients in stock",
"ingredients_out_of_stock": "{count} ingredient{count, plural, one {} other {s}} out of stock",
"ingredients_out_of_stock": "{count} ingredient{count, plural, one {} other {s} out of stock}",
"inventory_ai_prevented": "AI prevented {count} inventory issue{count, plural, one {} other {s}}",
"no_pending_approvals": "No pending approvals",
"approvals_awaiting": "{count} purchase order{count, plural, one {} other {s}} awaiting approval",
"procurement_ai_prevented": "AI created {count} purchase order{count, plural, one {} other {s}} automatically",
"approvals_awaiting": "{count} purchase order{count, plural, one {} other {s} awaiting approval}",
"procurement_ai_prevented": "AI created {count} purchase order{count, plural, one {} other {s} automatically}",
"deliveries_on_track": "All deliveries on track",
"deliveries_overdue": "{count} deliver{count, plural, one {y} other {ies}} overdue",
"deliveries_overdue": "{count} deliver{count, plural, one {y} other {ies} overdue}",
"deliveries_ai_prevented": "AI prevented {count} delivery issue{count, plural, one {} other {s}}",
"deliveries_pending": "{count} pending deliver{count, plural, one {y} other {ies}}",
"all_systems_operational": "All systems operational",
"critical_issues": "{count} critical issue{count, plural, one {} other {s}}",
"headline_green": "Your bakery is running smoothly",
"headline_yellow_approvals": "Please review {count} pending approval{count, plural, one {} other {s}}",
"headline_yellow_alerts": "You have {count} alert{count, plural, one {} other {s}} needing attention",
"headline_yellow_alerts": "You have {count} alert{count, plural, one {} other {s} needing attention}",
"headline_yellow_general": "Some items need your attention",
"headline_red": "Critical issues require immediate action"
},
@@ -287,7 +287,7 @@
"user_needed": "User Needed",
"needs_review": "needs your review",
"all_handled": "all handled by AI",
"prevented_badge": "{count} issue{{count, plural, one {} other {s}}} prevented",
"prevented_badge": "{count} issue{count, plural, one {} other {s} prevented}",
"prevented_description": "AI proactively handled these before they became problems",
"analyzed_title": "What I Analyzed",
"actions_taken": "What I Did",
@@ -400,7 +400,7 @@
"no_forecast_data": "No forecast data available",
"no_performance_data": "No performance data available",
"no_distribution_data": "No distribution data available",
"performance_based_on": "Performance based on {{metric}} over {{period}} days",
"performance_based_on": "Performance based on {metric} over {period} days",
"ranking": "Ranking",
"rank": "Rank",
"outlet": "Outlet",
@@ -585,7 +585,7 @@
"new_dashboard": {
"system_status": {
"title": "System Status",
"issues_requiring_action": "{count, plural, one {# issue} other {# issues}} requiring your action",
"issues_requiring_action": "{count, plural, one {# issue} other {# issues} requiring your action}",
"all_clear": "All systems running smoothly",
"never_run": "Never run",
"action_needed_label": "action needed",
@@ -602,7 +602,7 @@
},
"pending_purchases": {
"title": "Pending Purchases",
"count": "{count, plural, one {# order} other {# orders}} awaiting approval",
"count": "{count, plural, one {# order} other {# orders} awaiting approval}",
"no_pending": "No pending purchase orders",
"all_clear": "No purchase orders pending approval",
"po_number": "PO #{number}",
@@ -613,10 +613,10 @@
"ai_reasoning": "AI created this PO because:",
"reasoning": {
"low_stock": "{ingredient} will run out in {days, plural, =0 {less than a day} one {# day} other {# days}}",
"low_stock_detailed": "{count, plural, one {# critical ingredient} other {# critical ingredients}} at risk: {products}. Earliest depletion in {days, plural, =0 {<1 day} one {1 day} other {# days}}, affecting {batches, plural, one {# batch} other {# batches}}. Potential loss: €{loss}",
"low_stock_detailed": "{count, plural, one {# critical ingredient} other {# critical ingredients} at risk: {products}. Earliest depletion in {days, plural, =0 {<1 day} one {1 day} other {# days}, affecting {batches, plural, one {# batch} other {# batches}. Potential loss: €{loss}}",
"demand_forecast": "Demand for {product} is expected to increase by {increase}%",
"production_requirement": "{products} needed for {batches, plural, one {# batch} other {# batches}} of production in {days, plural, =0 {less than a day} one {# day} other {# days}}",
"safety_stock": "Safety stock replenishment: {count, plural, one {# product} other {# products}} (current: {current}, target: {target})",
"production_requirement": "{products} needed for {batches, plural, one {# batch} other {# batches} of production in {days, plural, =0 {less than a day} one {# day} other {# days}}",
"safety_stock": "Safety stock replenishment: {count, plural, one {# product} other {# products} (current: {current}, target: {target})}",
"supplier_contract": "Contract with {supplier} for {products}",
"seasonal_demand": "Seasonal increase of {increase}% in {products} for {season}",
"forecast_demand": "Forecasted demand for {product} with {confidence}% confidence for next {period, plural, one {# day} other {# days}}"
@@ -672,7 +672,7 @@
},
"pending_deliveries": {
"title": "Pending Deliveries",
"count": "{count, plural, one {# delivery} other {# deliveries}} expected today",
"count": "{count, plural, one {# delivery} other {# deliveries} expected today}",
"no_deliveries": "No deliveries expected today",
"all_clear": "No pending deliveries today",
"overdue_section": "Overdue Deliveries",
@@ -686,7 +686,7 @@
},
"production_status": {
"title": "Production Status",
"count": "{count, plural, one {# batch} other {# batches}} today",
"count": "{count, plural, one {# batch} other {# batches} today}",
"no_production": "No production scheduled for today",
"all_clear": "No production scheduled for today",
"late_section": "Late to Start",
@@ -738,7 +738,7 @@
"batch_delayed": "Batch Start Delayed",
"generic": "Production Alert",
"active": "Active",
"affected_orders": "{count, plural, one {# order} other {# orders}} affected",
"affected_orders": "{count, plural, one {# order} other {# orders} affected}",
"delay_hours": "{hours}h delay",
"financial_impact": "€{amount} impact",
"urgent_in": "Urgent in {hours}h"