Refactor components and modals

This commit is contained in:
Urtzi Alfaro
2025-09-26 07:46:25 +02:00
parent cf4405b771
commit d573c38621
80 changed files with 3421 additions and 4617 deletions

View File

@@ -290,5 +290,49 @@
"breadcrumbs": {
"home": "Home",
"truncation": "..."
},
"modals": {
"loading": "Loading...",
"saving": "Saving...",
"processing": "Processing...",
"close_modal": "Close modal",
"actions": {
"save": "Save",
"cancel": "Cancel",
"confirm": "Confirm",
"ok": "OK",
"yes": "Yes",
"no": "No",
"edit": "Edit",
"create": "Create"
},
"types": {
"info": "Information",
"warning": "Warning",
"error": "Error",
"success": "Success",
"confirm": "Confirmation"
},
"status_indicators": {
"new": "New",
"editing": "Editing",
"viewing": "Viewing",
"creating": "Creating"
},
"step_indicator": {
"step": "Step",
"of": "of",
"progress": "Progress"
},
"validation": {
"required_field": "This field is required",
"invalid_email": "Please enter a valid email",
"invalid_number": "Please enter a valid number",
"invalid_date": "Please enter a valid date",
"min_length": "Must be at least {count} characters",
"max_length": "Cannot be more than {count} characters",
"positive_number": "Must be a positive number",
"negative_not_allowed": "Negative numbers are not allowed"
}
}
}

View File

@@ -1 +1,49 @@
{}
{
"product_type": {
"raw_material": "Raw Material",
"intermediate": "Intermediate Product",
"finished_product": "Finished Product",
"packaging": "Packaging"
},
"production_stage": {
"raw": "Raw",
"in_process": "In Process",
"finished": "Finished",
"packaged": "Packaged"
},
"unit_of_measure": {
"kg": "Kilograms",
"g": "Grams",
"l": "Liters",
"ml": "Milliliters",
"pieces": "Pieces",
"units": "Units",
"portions": "Portions"
},
"ingredient_category": {
"flour": "Flour",
"dairy": "Dairy",
"eggs": "Eggs",
"fats": "Fats",
"sugar": "Sugar",
"yeast": "Yeast",
"spices": "Spices",
"other": "Other"
},
"product_category": {
"bread": "Bread",
"pastry": "Pastry",
"cake": "Cake",
"cookie": "Cookie",
"salted": "Salted",
"other": "Other"
},
"stock_movement_type": {
"purchase": "Purchase",
"production": "Production",
"sale": "Sale",
"adjustment": "Adjustment",
"waste": "Waste",
"transfer": "Transfer"
}
}

View File

@@ -1 +1,106 @@
{}
{
"customer_types": {
"individual": "Individual",
"business": "Business",
"central_bakery": "Central Bakery"
},
"delivery_methods": {
"pickup": "Pickup",
"delivery": "Home Delivery"
},
"payment_terms": {
"immediate": "Immediate",
"net_30": "Net 30 Days",
"net_60": "Net 60 Days"
},
"payment_methods": {
"cash": "Cash",
"card": "Card",
"bank_transfer": "Bank Transfer",
"account": "Account"
},
"payment_status": {
"pending": "Pending",
"partial": "Partial",
"paid": "Paid",
"failed": "Failed",
"refunded": "Refunded"
},
"customer_segments": {
"regular": "Regular",
"vip": "VIP",
"wholesale": "Wholesale"
},
"priority_levels": {
"low": "Low",
"normal": "Normal",
"high": "High"
},
"order_types": {
"standard": "Standard",
"rush": "Rush",
"recurring": "Recurring",
"special": "Special"
},
"order_status": {
"pending": "Pending",
"confirmed": "Confirmed",
"in_production": "In Production",
"ready": "Ready",
"out_for_delivery": "Out for Delivery",
"delivered": "Delivered",
"cancelled": "Cancelled",
"failed": "Failed"
},
"order_sources": {
"manual": "Manual",
"online": "Online",
"phone": "Phone",
"app": "App",
"api": "API"
},
"sales_channels": {
"direct": "Direct",
"wholesale": "Wholesale",
"retail": "Retail"
},
"labels": {
"name": "Name",
"business_name": "Business Name",
"customer_code": "Customer Code",
"email": "Email",
"phone": "Phone",
"address": "Address",
"city": "City",
"state": "State/Province",
"postal_code": "Postal Code",
"country": "Country",
"customer_type": "Customer Type",
"delivery_method": "Delivery Method",
"payment_terms": "Payment Terms",
"payment_method": "Payment Method",
"payment_status": "Payment Status",
"customer_segment": "Customer Segment",
"priority_level": "Priority Level",
"order_type": "Order Type",
"order_status": "Order Status",
"order_source": "Order Source",
"sales_channel": "Sales Channel",
"order_number": "Order Number",
"order_date": "Order Date",
"delivery_date": "Delivery Date",
"total_amount": "Total Amount",
"subtotal": "Subtotal",
"discount": "Discount",
"tax": "Tax",
"shipping": "Shipping",
"special_instructions": "Special Instructions"
},
"descriptions": {
"customer_type": "Customer type to determine pricing and commercial terms",
"delivery_method": "Preferred method for order delivery",
"payment_terms": "Agreed payment terms and conditions",
"customer_segment": "Customer segmentation for personalized offers",
"priority_level": "Priority level for order processing"
}
}

View File

@@ -1 +1,84 @@
{}
{
"types": {
"ingredients": "Raw Materials",
"packaging": "Packaging",
"equipment": "Equipment",
"services": "Services",
"utilities": "Utilities",
"multi": "Multiple Categories"
},
"status": {
"active": "Active",
"inactive": "Inactive",
"pending_approval": "Pending Approval",
"suspended": "Suspended",
"blacklisted": "Blacklisted"
},
"payment_terms": {
"cod": "Cash on Delivery",
"net_15": "Net 15 Days",
"net_30": "Net 30 Days",
"net_45": "Net 45 Days",
"net_60": "Net 60 Days",
"prepaid": "Prepaid",
"credit_terms": "Credit Terms"
},
"purchase_order_status": {
"draft": "Draft",
"pending_approval": "Pending Approval",
"approved": "Approved",
"sent_to_supplier": "Sent to Supplier",
"confirmed": "Confirmed",
"partially_received": "Partially Received",
"completed": "Completed",
"cancelled": "Cancelled",
"disputed": "Disputed"
},
"delivery_status": {
"scheduled": "Scheduled",
"in_transit": "In Transit",
"out_for_delivery": "Out for Delivery",
"delivered": "Delivered",
"partially_delivered": "Partially Delivered",
"failed_delivery": "Failed Delivery",
"returned": "Returned"
},
"quality_rating": {
"5": "Excellent",
"4": "Good",
"3": "Average",
"2": "Poor",
"1": "Very Poor"
},
"delivery_rating": {
"5": "Excellent",
"4": "Good",
"3": "Average",
"2": "Poor",
"1": "Very Poor"
},
"invoice_status": {
"pending": "Pending",
"approved": "Approved",
"paid": "Paid",
"overdue": "Overdue",
"disputed": "Disputed",
"cancelled": "Cancelled"
},
"labels": {
"supplier_type": "Supplier Type",
"supplier_status": "Supplier Status",
"payment_terms": "Payment Terms",
"purchase_order_status": "Purchase Order Status",
"delivery_status": "Delivery Status",
"quality_rating": "Quality Rating",
"delivery_rating": "Delivery Rating",
"invoice_status": "Invoice Status"
},
"descriptions": {
"supplier_type": "Select the type of products or services this supplier offers",
"payment_terms": "Payment terms agreed with the supplier",
"quality_rating": "1 to 5 star rating based on product quality",
"delivery_rating": "1 to 5 star rating based on delivery punctuality and condition"
}
}

View File

@@ -290,5 +290,49 @@
"breadcrumbs": {
"home": "Inicio",
"truncation": "..."
},
"modals": {
"loading": "Cargando...",
"saving": "Guardando...",
"processing": "Procesando...",
"close_modal": "Cerrar modal",
"actions": {
"save": "Guardar",
"cancel": "Cancelar",
"confirm": "Confirmar",
"ok": "OK",
"yes": "Sí",
"no": "No",
"edit": "Editar",
"create": "Crear"
},
"types": {
"info": "Información",
"warning": "Advertencia",
"error": "Error",
"success": "Éxito",
"confirm": "Confirmación"
},
"status_indicators": {
"new": "Nuevo",
"editing": "Editando",
"viewing": "Viendo",
"creating": "Creando"
},
"step_indicator": {
"step": "Paso",
"of": "de",
"progress": "Progreso"
},
"validation": {
"required_field": "Este campo es requerido",
"invalid_email": "Por favor ingresa un email válido",
"invalid_number": "Por favor ingresa un número válido",
"invalid_date": "Por favor ingresa una fecha válida",
"min_length": "Debe tener al menos {count} caracteres",
"max_length": "No puede tener más de {count} caracteres",
"positive_number": "Debe ser un número positivo",
"negative_not_allowed": "Los números negativos no están permitidos"
}
}
}

View File

@@ -290,5 +290,49 @@
"breadcrumbs": {
"home": "Hasiera",
"truncation": "..."
},
"modals": {
"loading": "Kargatzen...",
"saving": "Gordetzen...",
"processing": "Prozesatzen...",
"close_modal": "Modala itxi",
"actions": {
"save": "Gorde",
"cancel": "Utzi",
"confirm": "Berretsi",
"ok": "Ados",
"yes": "Bai",
"no": "Ez",
"edit": "Editatu",
"create": "Sortu"
},
"types": {
"info": "Informazioa",
"warning": "Abisua",
"error": "Errorea",
"success": "Arrakasta",
"confirm": "Berrespena"
},
"status_indicators": {
"new": "Berria",
"editing": "Editatzen",
"viewing": "Ikusten",
"creating": "Sortzen"
},
"step_indicator": {
"step": "Urratsa",
"of": "hortik",
"progress": "Aurrerapena"
},
"validation": {
"required_field": "Eremua beharrezkoa da",
"invalid_email": "Sartu baliozko email bat",
"invalid_number": "Sartu baliozko zenbaki bat",
"invalid_date": "Sartu baliozko data bat",
"min_length": "Gutxienez {count} karaktere izan behar ditu",
"max_length": "Ezin ditu {count} karaktere baino gehiago izan",
"positive_number": "Zenbaki positiboa izan behar da",
"negative_not_allowed": "Zenbaki negatiboak ez dira onartzen"
}
}
}