Add improved production UI

This commit is contained in:
Urtzi Alfaro
2025-09-23 12:49:35 +02:00
parent 8d54202e91
commit 4ae8e14e55
35 changed files with 6848 additions and 415 deletions

View File

@@ -1,80 +1,262 @@
{
"title": "Production",
"subtitle": "Manage your bakery production",
"production_status": {
"PENDING": "Pending",
"IN_PROGRESS": "In Progress",
"COMPLETED": "Completed",
"CANCELLED": "Cancelled",
"ON_HOLD": "On Hold",
"QUALITY_CHECK": "Quality Check",
"FAILED": "Failed"
"title": "Production Management",
"subtitle": "Plan and control daily bakery production",
"stats": {
"active_batches": "Active Batches",
"todays_target": "Today's Target",
"capacity_utilization": "Capacity Utilization",
"on_time_completion": "On-time Completion",
"quality_score": "Quality Score",
"total_output": "Total Output",
"efficiency": "Efficiency",
"total_checks": "Total Checks",
"pass_rate": "Pass Rate",
"average_score": "Average Score",
"failed_checks": "Failed Checks",
"last_7_days": "Last 7 days",
"passed": "passed",
"out_of_10": "out of 10",
"requiring_action": "Requiring action",
"checks": "checks",
"avg_score": "avg score",
"top_defects": "top defects",
"issues": "issues",
"defects": "defects"
},
"production_priority": {
"LOW": "Low",
"MEDIUM": "Medium",
"HIGH": "High",
"URGENT": "Urgent"
"status": {
"pending": "Pending",
"in_progress": "In Progress",
"completed": "Completed",
"cancelled": "Cancelled",
"on_hold": "On Hold",
"quality_check": "Quality Check",
"failed": "Failed",
"operational": "Operational",
"warning": "Warning",
"maintenance": "Maintenance",
"down": "Down",
"passed": "PASSED",
"complete": "Complete"
},
"batch_status": {
"PLANNED": "Planned",
"IN_PROGRESS": "In Progress",
"COMPLETED": "Completed",
"CANCELLED": "Cancelled",
"ON_HOLD": "On Hold"
"priority": {
"low": "Low",
"medium": "Medium",
"high": "High",
"urgent": "Urgent"
},
"quality_check_status": {
"PENDING": "Pending",
"IN_PROGRESS": "In Progress",
"PASSED": "Passed",
"FAILED": "Failed",
"REQUIRES_ATTENTION": "Requires Attention"
},
"fields": {
"batch": {
"title": "Production Batch",
"batch_number": "Batch Number",
"production_date": "Production Date",
"product_name": "Product Name",
"planned_quantity": "Planned Quantity",
"actual_quantity": "Actual Quantity",
"yield_percentage": "Yield Percentage",
"priority": "Priority",
"assigned_staff": "Assigned Staff",
"production_notes": "Production Notes",
"quality_score": "Quality Score",
"quality_notes": "Quality Notes",
"defect_rate": "Defect Rate",
"rework_required": "Rework Required",
"waste_quantity": "Waste Quantity",
"waste_reason": "Waste Reason",
"efficiency": "Efficiency",
"material_cost": "Material Cost",
"labor_cost": "Labor Cost",
"overhead_cost": "Overhead Cost",
"planned_start": "Planned Start",
"actual_start": "Actual Start",
"planned_end": "Planned End",
"actual_end": "Actual End",
"staff_assigned": "Staff Assigned",
"equipment_used": "Equipment Used",
"notes": "Notes",
"yield_percentage": "Yield",
"duration": "Duration",
"cost": "Cost"
},
"quality": {
"title": "Quality Control",
"dashboard": {
"title": "Quality Dashboard",
"subtitle": "Monitor quality metrics and trends",
"error": "Error loading quality data"
},
"inspection": {
"title": "Quality Inspection",
"notes_placeholder": "Add notes for this criteria (optional)..."
},
"tabs": {
"overview": "Overview",
"by_product": "By Product",
"categories": "Categories",
"recent": "Recent",
"inspection": "Inspection",
"photos": "Photos",
"summary": "Summary"
},
"charts": {
"weekly_trends": "Weekly Quality Trends",
"placeholder": "Quality trends chart will be displayed here"
},
"photos": {
"description": "Add photos to document quality issues or evidence",
"upload": "Upload Photos",
"upload_title": "Upload Quality Photos",
"upload_help": "Select multiple images to upload"
},
"summary": {
"overall_score": "Overall Quality Score",
"results": "Inspection Results",
"final_notes": "Add final notes and recommendations..."
},
"actions": {
"new_check": "New Check",
"view_trends": "View Trends",
"save_draft": "Save Draft",
"complete_inspection": "Complete Inspection",
"check_ingredients": "Check Ingredients",
"adjust_recipe": "Adjust Recipe"
},
"required": "Required",
"optional": "Optional",
"trends": {
"vs_last_week": "vs last week"
}
},
"cost": {
"title": "Production Cost Monitor",
"subtitle": "Track and optimize production costs",
"total_cost": "Total Cost",
"cost_per_unit": "Cost per Unit"
"cost_per_unit": "Cost per Unit",
"labor": "Labor",
"materials": "Materials",
"overhead": "Overhead",
"energy": "Energy",
"breakdown": "Cost Breakdown",
"budget_usage": "Budget Usage",
"over_budget": "Over Budget",
"near_budget": "Near Budget",
"on_budget": "On Budget",
"vs_yesterday": "vs yesterday",
"average_today": "Average today",
"view_details": "View Details",
"optimize": "Optimize Costs",
"error": "Error loading cost data"
},
"equipment": {
"title": "Equipment Status",
"subtitle": "Monitor equipment health and performance",
"manager": {
"title": "Equipment Management",
"subtitle": "Monitor and manage production equipment"
},
"status": {
"operational": "Operational",
"warning": "Warning",
"maintenance": "Maintenance",
"down": "Down"
},
"stats": {
"total": "Total Equipment",
"operational": "Operational",
"needs_attention": "Needs Attention",
"efficiency": "Efficiency",
"avg_efficiency": "Avg Efficiency",
"alerts": "Active Alerts"
},
"filter": {
"all": "All Status"
},
"tabs": {
"overview": "Overview",
"maintenance": "Maintenance",
"alerts": "Alerts"
},
"maintenance": {
"overdue": "Overdue",
"scheduled": "Scheduled",
"last": "Last",
"next": "Next",
"interval": "Interval",
"history": "History",
"records": "records"
},
"alerts": {
"acknowledged": "Acknowledged",
"new": "New",
"acknowledge": "Acknowledge"
},
"search": {
"placeholder": "Search equipment..."
},
"actions": {
"add": "Add Equipment",
"export": "Export",
"maintenance": "Maintenance",
"schedule_maintenance": "Schedule Maintenance",
"view_history": "View History"
},
"efficiency": "Efficiency",
"uptime": "Uptime",
"location": "Location",
"temperature": "Temperature",
"energy_usage": "Energy Usage",
"unread_alerts": "unread alerts",
"model": "Model",
"serial": "Serial Number",
"install_date": "Install Date",
"error": "Error loading equipment data"
},
"ai": {
"title": "AI Insights",
"subtitle": "AI-powered recommendations and predictions",
"high_impact": "High Impact",
"potential_savings": "Potential Savings",
"confidence": "Avg Confidence",
"impact": "IMPACT",
"insights": {
"reduce_energy_costs": "Reduce Energy Costs by 15%",
"energy_description": "Adjust oven schedules to use off-peak electricity rates. Estimated savings: €45/day",
"demand_increase": "Croissant Demand Surge Predicted",
"demand_description": "Weather and event data suggest 40% increase in croissant demand this weekend",
"quality_decline": "Quality Score Decline Detected",
"quality_description": "Bread quality has decreased by 8% over the last 3 days. Check flour moisture levels",
"maintenance_due": "Preventive Maintenance Recommended",
"maintenance_description": "Mixer #2 showing early wear patterns. Schedule maintenance to prevent breakdown"
},
"actions": {
"schedule_optimization": "Optimize Schedule",
"view_details": "View Details",
"increase_production": "Increase Production",
"order_ingredients": "Order Ingredients",
"schedule_maintenance": "Schedule Maintenance",
"view_equipment": "View Equipment"
},
"status": {
"active": "AI monitoring active"
},
"last_updated": "Updated 5m ago",
"error": "AI insights temporarily unavailable"
},
"actions": {
"start_production": "Start Production",
"complete_batch": "Complete Batch",
"pause_production": "Pause Production",
"cancel_batch": "Cancel Batch",
"quality_check": "Quality Check",
"create_batch": "Create Batch",
"start_batch": "Start Batch",
"complete_batch": "Complete Batch",
"view_details": "View Details",
"edit_batch": "Edit Batch",
"duplicate_batch": "Duplicate Batch"
"edit": "Edit",
"delete": "Delete",
"schedule": "Schedule",
"optimize": "Optimize"
},
"labels": {
"current_production": "Current Production",
"production_queue": "Production Queue",
"completed_today": "Completed Today",
"efficiency_rate": "Efficiency Rate",
"quality_score": "Quality Score",
"active_batches": "Active Batches",
"pending_quality_checks": "Pending Quality Checks"
"tabs": {
"schedule": "Schedule",
"batches": "Production Batches",
"quality": "Quality Control"
},
"descriptions": {
"production_efficiency": "Percentage of efficiency in current production",
"quality_average": "Average quality score in recent batches",
"waste_reduction": "Waste reduction compared to previous month"
"forms": {
"batch_number": "Batch Number",
"product_selection": "Product Selection",
"quantity": "Quantity",
"start_time": "Start Time",
"end_time": "End Time",
"priority": "Priority",
"staff": "Assigned Staff",
"equipment": "Equipment",
"notes": "Production Notes"
},
"messages": {
"no_batches": "No production batches found",
"no_active_batches": "No active production batches. Create the first batch to begin.",
"batch_created": "Production batch created successfully",
"batch_updated": "Production batch updated successfully",
"batch_started": "Production batch started",
"batch_completed": "Production batch completed"
}
}