Fix and UI imporvements 3

This commit is contained in:
Urtzi Alfaro
2025-12-10 11:23:53 +01:00
parent 46f5158536
commit e116ac244c
20 changed files with 2311 additions and 2948 deletions

View File

@@ -171,14 +171,19 @@
"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_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",
"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_created": "AI created {count} purchase order{count, plural, one {} other {s}} automatically",
"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_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}}",
@@ -403,5 +408,76 @@
"delivered": "Delivered",
"failed": "Failed",
"distribution_routes": "Distribution Routes"
},
"new_dashboard": {
"system_status": {
"title": "System Status",
"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",
"ai_prevented_label": "prevented by AI",
"last_run_label": "Last run",
"ai_prevented_details": "Issues Prevented by AI",
"ai_handling_rate": "AI Handling Rate",
"estimated_savings": "Estimated Savings",
"issues_prevented": "Issues Prevented",
"issue_prevented": "Issue prevented",
"saved": "Saved",
"and_more": "+{count} more"
},
"pending_purchases": {
"title": "Pending Purchases",
"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}",
"supplier": "Supplier: {name}",
"approve": "Approve",
"reject": "Reject",
"view_details": "View Details",
"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}",
"demand_forecast": "Demand for {product} is expected to increase by {increase}%"
}
},
"pending_deliveries": {
"title": "Pending Deliveries",
"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",
"today_section": "Expected Today",
"overdue_badge": "overdue",
"po_ref": "PO #{number}",
"overdue_by": "Overdue by {hours}",
"arriving_in": "Arriving in {hours}",
"call_supplier": "Call",
"mark_received": "Received"
},
"production_status": {
"title": "Production Status",
"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",
"running_section": "Currently Running",
"pending_section": "Pending Today",
"late_badge": "late",
"running_badge": "running",
"batch_info": "Batch #{number} - {quantity} units",
"should_have_started": "Should have started at {time}",
"started_at": "Started at {time}",
"starts_at": "Starts at {time}",
"start_batch": "Start",
"view_details": "View",
"ai_reasoning": "AI scheduled this batch because:",
"reasoning": {
"forecast_demand": "Predicted demand of {demand} units for {product}",
"customer_order": "Customer order from {customer}"
}
}
}
}