Improve frontend 5

This commit is contained in:
Urtzi Alfaro
2025-11-20 19:14:49 +01:00
parent 29e6ddcea9
commit 4433b66f25
30 changed files with 3649 additions and 600 deletions

View File

@@ -8,6 +8,16 @@
"willBeGeneratedAutomatically": "Will be generated automatically",
"autoGeneratedOnSave": "Auto-generated on save"
},
"keyValueEditor": {
"showBuilder": "Show Builder",
"showJson": "Show JSON",
"suggestions": "Quick suggestions",
"keyPlaceholder": "Key",
"valuePlaceholder": "Value",
"remove": "Remove",
"addPair": "Add Parameter",
"emptyState": "No parameters yet. Click 'Add Parameter' to get started."
},
"inventory": {
"title": "Add Inventory",
"inventoryDetails": "Inventory Item Details",
@@ -168,6 +178,17 @@
"title": "Add Quality Template",
"templateDetails": "Quality Template Details",
"fillRequiredInfo": "Fill in the required information to create a quality check template",
"selectCheckType": "Select Quality Check Type",
"selectCheckTypeDescription": "Choose the type of quality check you want to create",
"essentialConfiguration": "Essential Configuration",
"essentialConfigurationDescription": "Define the core properties of your quality check template",
"criteriaAndSettings": "Quality Criteria & Settings",
"criteriaAndSettingsDescription": "Configure scoring methods and advanced quality criteria",
"steps": {
"checkType": "Check Type",
"essentialConfiguration": "Configuration",
"criteriaSettings": "Criteria & Settings"
},
"fields": {
"name": "Name",
"namePlaceholder": "E.g., Bread Quality Control, Hygiene Inspection",
@@ -177,24 +198,90 @@
"templateCode": "Template Code",
"templateCodePlaceholder": "Leave empty for auto-generation",
"templateCodeTooltip": "Leave empty to auto-generate from backend, or enter custom code",
"category": "Category",
"categoryPlaceholder": "E.g., appearance, structure, texture",
"version": "Version",
"description": "Description",
"descriptionPlaceholder": "Detailed description of the quality check template",
"applicableStages": "Applicable Stages",
"applicableStagesTooltip": "Comma-separated list of production stages: e.g., mixing, proofing, baking, cooling",
"applicablePlaceholder": "mixing, proofing, baking, cooling"
"applicableStagesTooltip": "Select the production stages where this quality check applies",
"applicableStagesHelp": "Leave empty to apply to all stages",
"applicablePlaceholder": "mixing, proofing, baking, cooling",
"instructions": "Instructions",
"instructionsPlaceholder": "Step-by-step instructions for performing this quality check",
"minValue": "Minimum Value",
"maxValue": "Maximum Value",
"targetValue": "Target Value",
"unit": "Unit",
"unitPlaceholder": "E.g., °C, g, cm, %",
"tolerancePercentage": "Tolerance Percentage",
"toleranceTooltip": "Acceptable deviation from target value (0-100%)",
"scoringMethod": "Scoring Method",
"passThreshold": "Pass Threshold (%)",
"passThresholdTooltip": "Minimum score percentage required to pass (0-100%)",
"frequencyDays": "Frequency (days)",
"frequencyDaysTooltip": "How often this check should be performed (in days)",
"frequencyDaysPlaceholder": "Leave empty for batch-based",
"requiredCheck": "Required Check",
"checkPointsJsonArray": "Check Points (JSON Array)",
"checkPointsTooltip": "Array of check points: [{\"name\": \"Visual Check\", \"description\": \"...\", \"weight\": 1.0}]",
"checkPointsPlaceholder": "[{\"name\": \"Visual Inspection\", \"description\": \"Check appearance\", \"expected_value\": \"Golden brown\", \"measurement_type\": \"visual\", \"is_critical\": false, \"weight\": 1.0}]",
"acceptanceCriteria": "Acceptance Criteria",
"acceptanceCriteriaPlaceholder": "E.g., Golden uniform color, fluffy texture, no burns...",
"parametersJson": "Parameters (JSON)",
"parametersTooltip": "Template parameters: {\"temp_min\": 75, \"temp_max\": 85, \"humidity\": 65}",
"parametersPlaceholder": "{\"temp_min\": 75, \"temp_max\": 85, \"humidity\": 65}",
"thresholdsJson": "Thresholds (JSON)",
"thresholdsTooltip": "Threshold values: {\"critical\": 90, \"warning\": 70, \"acceptable\": 50}",
"thresholdsPlaceholder": "{\"critical\": 90, \"warning\": 70, \"acceptable\": 50}",
"scoringCriteriaJson": "Scoring Criteria (JSON)",
"scoringCriteriaTooltip": "Custom scoring criteria: {\"appearance\": 30, \"texture\": 30, \"taste\": 40}",
"scoringCriteriaPlaceholder": "{\"appearance\": 30, \"texture\": 30, \"taste\": 40}",
"responsibleRole": "Responsible Role/Person",
"responsibleRolePlaceholder": "E.g., Production Manager, Baker",
"requiredEquipment": "Required Equipment/Tools",
"requiredEquipmentPlaceholder": "E.g., Thermometer, scale, timer",
"specificConditions": "Specific Conditions or Notes",
"specificConditionsPlaceholder": "E.g., Only applicable on humid days, check 30 min after baking...",
"activeTemplate": "Active Template",
"requiresPhotoEvidence": "Requires Photo Evidence",
"criticalControlPoint": "Critical Control Point (CCP)",
"notifyOnFailure": "Notify on Failure"
},
"checkTypes": {
"product_quality": "Product Quality",
"process_hygiene": "Process Hygiene",
"equipment": "Equipment",
"safety": "Safety",
"cleaning": "Cleaning",
"temperature": "Temperature Control",
"documentation": "Documentation"
"visual": "Visual Inspection",
"measurement": "Measurement",
"temperature": "Temperature",
"weight": "Weight",
"boolean": "Pass/Fail Check",
"timing": "Timing",
"checklist": "Checklist"
},
"checkTypeDescriptions": {
"visual": "Inspect appearance, color, and visual quality characteristics",
"measurement": "Measure specific dimensions, sizes, or quantities",
"temperature": "Monitor and verify temperature readings",
"weight": "Check weight and mass measurements",
"boolean": "Simple yes/no or pass/fail checks",
"timing": "Track time-based quality criteria",
"checklist": "Multi-point checklist verification"
},
"processStages": {
"mixing": "Mixing",
"proofing": "Proofing",
"shaping": "Shaping",
"baking": "Baking",
"cooling": "Cooling",
"packaging": "Packaging",
"finishing": "Finishing"
},
"sections": {
"basicInformation": "Basic Information",
"additionalIdentifiers": "Additional Identifiers",
"additionalIdentifiersDescription": "Optional identifiers for organization",
"measurementSpecifications": "Measurement Specifications",
"additionalDetails": "Additional Details",
"additionalDetailsDescription": "Optional detailed instructions",
"scoringConfiguration": "Scoring Configuration",
"advancedOptions": "Advanced Options",
"advancedOptionsDescription": "Optional fields for comprehensive quality template configuration",