Add traslations 2

This commit is contained in:
Urtzi Alfaro
2025-12-25 18:59:56 +01:00
parent b95b86ee2c
commit 8a585058ed
6 changed files with 609 additions and 136 deletions

View File

@@ -79,23 +79,63 @@
"steps": {
"tenant_registration": {
"title": "Your Bakery Information",
"title_enterprise": "Your Central Bakery Information",
"subtitle": "Tell us about your business",
"header": {
"title": "Register Your Bakery",
"title_enterprise": "Register Your Central Bakery",
"description": "Complete your bakery's basic information to get started.",
"description_enterprise": "Enter your main production facility details. You can add branches afterwards."
},
"fields": {
"business_name": "Business name",
"business_name": "Bakery Name",
"business_name_enterprise": "Central Bakery Name",
"business_type": "Business type",
"address": "Address",
"phone": "Phone",
"postal_code": "Postal Code",
"city": "City (Optional)",
"email": "Contact email",
"website": "Website (optional)",
"description": "Business description"
},
"placeholders": {
"business_name": "E.g: San José Bakery",
"address": "Main Street 123, City",
"phone": "+1 123 456 789",
"business_name": "Enter your bakery name",
"business_name_enterprise": "Enter your central bakery name",
"address": "Your bakery address...",
"address_enterprise": "Central bakery address...",
"phone": "+34 123 456 789",
"postal_code": "28001",
"city": "Madrid",
"email": "contact@bakery.com",
"website": "https://mybakery.com",
"description": "Describe your bakery..."
},
"validation": {
"name_required": "Bakery name is required",
"name_length": "Name must be between 2 and 200 characters",
"address_required": "Address is required",
"address_length": "Address must be between 10 and 500 characters",
"postal_code_required": "Postal code is required",
"postal_code_format": "Postal code must be exactly 5 digits",
"phone_required": "Phone number is required",
"phone_length": "Phone must be between 9 and 20 characters",
"phone_format": "Please enter a valid Spanish phone number"
},
"buttons": {
"create": "Create Bakery and Continue →",
"create_enterprise": "Create Central Bakery and Continue →",
"update": "Update Bakery and Continue →",
"update_enterprise": "Update Central Bakery and Continue →"
},
"loading": {
"creating": "Creating...",
"creating_enterprise": "Creating bakery...",
"updating": "Updating bakery..."
},
"errors": {
"register": "Error registering bakery. Please try again.",
"register_title": "Registration Error"
}
},
"inventory_setup": {
@@ -169,6 +209,7 @@
"ml_training": {
"title": "AI Training",
"subtitle": "Creating your personalized model",
"intro_text": "Perfect! We will now automatically train your artificial intelligence model using the sales and inventory data you've provided. This process may take several minutes.",
"status": {
"preparing": "Preparing data...",
"training": "Training model...",
@@ -179,11 +220,30 @@
"data_preparation": "Data preparation",
"model_training": "Model training",
"validation": "Validation",
"deployment": "Deployment"
"deployment": "Deployment",
"processing": "Processing..."
},
"estimated_time": "Estimated time: {{minutes}} minutes",
"estimated_time_remaining": "Estimated time remaining: {{time}}",
"description": "We're creating a personalized AI model for your bakery based on your historical data.",
"training_info": {
"title": "What happens during training?",
"step1": "Analysis of historical sales patterns",
"step2": "Creation of demand prediction models",
"step3": "Optimization of inventory algorithms",
"step4": "Validation and accuracy adjustment"
},
"messages": {
"training": "Training model...",
"completed": "Training completed successfully",
"completed_http": "Training completed successfully (detected via HTTP check)",
"starting": "Starting model training...",
"queued": "Training job queued...",
"preparing": "Preparing training data...",
"live": "Live",
"reconnecting": "Reconnecting...",
"estimated_completion": "Will finish:"
},
"skip_to_dashboard": {
"title": "Taking too long?",
"description": "Training continues in the background. You can go to the dashboard now and explore your system while the model finishes training.",
@@ -298,5 +358,94 @@
"continue_anyway": "Continue anyway",
"no_products_title": "Initial Stock",
"no_products_message": "You can configure stock levels later in the inventory section."
},
"child_tenants": {
"title": "Branch Configuration",
"subtitle": "As an Enterprise tier company, you have a central bakery and multiple branches. Add information for each branch that will receive products from the central bakery.",
"info_box": {
"title": "Enterprise Business Model",
"description": "Your central bakery handles production, and branches receive finished products through optimized internal transfers."
},
"list": {
"title": "Branches",
"add_button": "Add Branch",
"empty_state": {
"title": "No branches added",
"description": "Start by adding the branches that are part of your enterprise network",
"button": "Add First Branch"
}
},
"modal": {
"title_add": "Add Branch",
"title_edit": "Edit Branch",
"fields": {
"name": "Branch Name",
"location_code": "Location Code",
"location_code_help": "A short code to identify this location",
"location_code_max": "(max 10 characters)",
"business_type": "Business Type",
"business_model": "Business Model",
"phone": "Phone",
"email": "Email",
"timezone": "Timezone",
"zone": "Zone / District (optional)",
"zone_help": "Specific zone or district within the city",
"address": "Address",
"city": "City",
"postal_code": "Postal Code"
},
"placeholders": {
"name": "e.g. Madrid - Salamanca",
"location_code": "e.g. MAD, BCN, VAL",
"phone": "e.g. +34 123 456 789",
"email": "e.g. contact@bakery.com",
"zone": "e.g. Salamanca, Downtown, Center",
"address": "e.g. Serrano Street, 48",
"city": "e.g. Madrid",
"postal_code": "e.g. 28001"
},
"business_types": {
"bakery": "Bakery",
"coffee_shop": "Coffee Shop",
"pastry_shop": "Pastry Shop",
"restaurant": "Restaurant"
},
"business_models": {
"retail_bakery": "Retail Bakery",
"central_baker_satellite": "Central Baker + Branches",
"hybrid_bakery": "Hybrid Model"
},
"timezones": {
"europe_madrid": "Europe/Madrid (UTC+1/UTC+2)",
"europe_paris": "Europe/Paris (UTC+1/UTC+2)",
"europe_london": "Europe/London (UTC+0/UTC+1)",
"america_new_york": "America/New_York (UTC-5/UTC-4)"
},
"buttons": {
"cancel": "Cancel",
"save": "Save Changes",
"add": "Add Branch"
}
},
"card": {
"edit": "Edit",
"delete": "Delete"
},
"continue_button": "Continue with {count} {count, plural, one {Branch} other {Branches}}",
"validation": {
"name_required": "Name is required",
"city_required": "City is required",
"address_required": "Address is required",
"postal_code_required": "Postal code is required",
"postal_code_format": "Postal code must be exactly 5 digits",
"location_code_required": "Location code is required",
"location_code_max": "Code must not exceed 10 characters",
"location_code_format": "Only uppercase letters, numbers, and hyphens/underscores are allowed",
"phone_format": "Please enter a valid Spanish phone number",
"email_format": "Please enter a valid email address"
},
"alerts": {
"require_one": "You must add at least one branch to continue"
}
}
}