Improve the UI and tests

This commit is contained in:
Urtzi Alfaro
2025-11-15 21:21:06 +01:00
parent 86d704b354
commit 54b7a5e080
44 changed files with 2268 additions and 1414 deletions

View File

@@ -34,6 +34,32 @@
"quick_actions": "Quick Actions",
"key_metrics": "Key Metrics"
},
"insights": {
"savings": {
"label": "💰 SAVINGS",
"this_week": "this week",
"vs_last": "vs. last"
},
"inventory": {
"label": "📦 INVENTORY",
"all_stocked": "All stocked",
"low_stock": "Low stock",
"stock_issues": "⚠️ Stock issues",
"no_alerts": "No alerts",
"out_of_stock": "{count} out of stock",
"alerts": "{count} alert{count, plural, one {} other {s}}"
},
"waste": {
"label": "♻️ WASTE",
"this_month": "this month",
"vs_goal": "vs. goal"
},
"deliveries": {
"label": "🚚 DELIVERIES",
"arriving_today": "{count} arriving today",
"none_scheduled": "None scheduled"
}
},
"procurement": {
"title": "What needs to be bought for tomorrow?",
"empty": "All supplies ready for tomorrow",
@@ -72,8 +98,8 @@
"view_all": "View all alerts",
"time": {
"now": "Now",
"minutes_ago": "{{count}} min ago",
"hours_ago": "{{count}} h ago",
"minutes_ago": "{count} min ago",
"hours_ago": "{count} h ago",
"yesterday": "Yesterday"
},
"types": {
@@ -101,7 +127,7 @@
"additional_details": "Additional Details",
"mark_as_read": "Mark as read",
"remove": "Remove",
"active_count": "{{count}} active alerts"
"active_count": "{count} active alerts"
},
"messages": {
"welcome": "Welcome back",
@@ -131,16 +157,16 @@
},
"health": {
"production_on_schedule": "Production on schedule",
"production_delayed": "{{count}} production batch{{count, plural, one {} other {es}}} delayed",
"production_delayed": "{count} production batch{count, plural, one {} other {es}} delayed",
"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",
"no_pending_approvals": "No pending approvals",
"approvals_awaiting": "{{count}} purchase order{{count, plural, one {} other {s}}} awaiting approval",
"approvals_awaiting": "{count} purchase order{count, plural, one {} other {s}} awaiting approval",
"all_systems_operational": "All systems operational",
"critical_issues": "{{count}} critical issue{{count, plural, one {} other {s}}}",
"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_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_general": "Some items need your attention",
"headline_red": "Critical issues require immediate action"
},
@@ -160,7 +186,7 @@
"suppliers": "Suppliers",
"recipes": "Recipes",
"quality": "Quality Standards",
"add_ingredients": "Add at least {{count}} ingredients",
"add_ingredients": "Add at least {count} ingredients",
"add_supplier": "Add your first supplier",
"add_recipe": "Create your first recipe",
"add_quality": "Add quality checks (optional)",