Improve the frontend and fix TODOs

This commit is contained in:
Urtzi Alfaro
2025-10-24 13:05:04 +02:00
parent 07c33fa578
commit 61376b7a9f
100 changed files with 8284 additions and 3419 deletions

View File

@@ -185,6 +185,60 @@
"november": "November",
"december": "December"
},
"fields": {
"name": "Name",
"contact_person": "Contact Person",
"email": "Email",
"phone": "Phone",
"city": "City",
"country": "Country",
"address": "Address",
"postal_code": "Postal Code",
"region": "Region",
"state": "State",
"company": "Company",
"position": "Position",
"department": "Department",
"title": "Title",
"description": "Description",
"notes": "Notes",
"status": "Status",
"type": "Type",
"category": "Category",
"priority": "Priority",
"date": "Date",
"time": "Time",
"amount": "Amount",
"quantity": "Quantity",
"price": "Price",
"cost": "Cost",
"total": "Total",
"discount": "Discount",
"tax": "Tax",
"currency": "Currency",
"reference": "Reference",
"code": "Code",
"id": "ID",
"created_at": "Created Date",
"updated_at": "Updated Date",
"due_date": "Due Date",
"start_date": "Start Date",
"end_date": "End Date",
"duration": "Duration",
"percentage": "Percentage",
"rate": "Rate",
"score": "Score",
"rating": "Rating",
"version": "Version",
"version_number": "Version Number",
"version_date": "Version Date",
"version_notes": "Version Notes",
"version_status": "Version Status",
"version_type": "Version Type",
"version_category": "Version Category",
"version_priority": "Version Priority",
"version_description": "Version Description"
},
"forms": {
"required": "Required",
"optional": "Optional",
@@ -356,4 +410,4 @@
"language": "Language",
"open_menu": "Open navigation menu"
}
}
}

View File

@@ -288,13 +288,19 @@
}
},
"grants": {
"eu_horizon": "EU Horizon Europe",
"eu_horizon_req": "Requires 30% reduction",
"farm_to_fork": "Farm to Fork",
"farm_to_fork_req": "Requires 20% reduction",
"circular_economy": "Circular Economy",
"circular_economy_req": "Requires 15% reduction",
"un_sdg": "UN SDG Certified",
"life_circular_economy": "LIFE Programme - Circular Economy",
"life_circular_economy_req": "Requires 15% reduction",
"life_circular_economy_funding": "€73M available",
"horizon_europe_cluster_6": "Horizon Europe Cluster 6",
"horizon_europe_cluster_6_req": "Requires 20% reduction",
"horizon_europe_cluster_6_funding": "€880M+ annually",
"fedima_sustainability_grant": "Fedima Sustainability Grant",
"fedima_sustainability_grant_req": "Requires 15% reduction",
"fedima_sustainability_grant_funding": "€20,000 per award",
"eit_food_retail": "EIT Food - Retail Innovation",
"eit_food_retail_req": "Requires 20% reduction",
"eit_food_retail_funding": "€15-45k per project",
"un_sdg": "UN SDG 12.3 Certification",
"un_sdg_req": "Requires 50% reduction",
"eligible": "Eligible",
"on_track": "On Track"

View File

@@ -87,6 +87,24 @@
"subtitle": "Monitor quality metrics and trends",
"error": "Error loading quality data"
},
"categories": {
"weight_check": "Weight Control",
"temperature_check": "Temperature Control",
"moisture_check": "Moisture Control",
"volume_check": "Volume Control",
"appearance": "Appearance",
"structure": "Structure",
"texture": "Texture",
"flavor": "Flavor",
"safety": "Safety",
"packaging": "Packaging",
"temperature": "Temperature",
"weight": "Weight",
"dimensions": "Dimensions",
"time_check": "Time Control",
"chemical": "Chemical",
"hygiene": "Hygiene"
},
"inspection": {
"title": "Quality Inspection",
"notes_placeholder": "Add notes for this criteria (optional)..."

View File

@@ -1,7 +1,85 @@
{
"bakery": {
"title": "Bakery Settings",
"description": "Configure your bakery information and operational settings",
"tabs": {
"information": "Information",
"hours": "Hours",
"operations": "Operational Settings"
},
"information": {
"title": "General Information",
"description": "Basic data and preferences for your bakery",
"general_section": "General Information",
"location_section": "Location",
"business_section": "Business Data",
"fields": {
"name": "Bakery Name",
"description": "Description",
"email": "Contact Email",
"phone": "Phone",
"website": "Website",
"address": "Address",
"city": "City",
"postal_code": "Postal Code",
"country": "Country",
"tax_id": "Tax ID",
"currency": "Currency",
"timezone": "Timezone",
"language": "Language"
},
"placeholders": {
"name": "Your bakery name",
"email": "contact@bakery.com",
"phone": "+1 555 123 4567",
"website": "https://your-bakery.com",
"address": "Street, number, etc.",
"city": "City",
"postal_code": "12345",
"country": "Country",
"tax_id": "123456789",
"description": "Describe your bakery..."
}
},
"hours": {
"title": "Operating Hours",
"description": "Configure your bakery's hours",
"days": {
"monday": "Monday",
"tuesday": "Tuesday",
"wednesday": "Wednesday",
"thursday": "Thursday",
"friday": "Friday",
"saturday": "Saturday",
"sunday": "Sunday"
},
"closed": "Closed",
"closed_all_day": "Closed all day",
"open_time": "Open",
"close_time": "Close"
},
"operations": {
"title": "Operational Settings",
"description": "Configure your bakery's operational parameters",
"procurement": "Procurement Management",
"inventory": "Inventory Management",
"production": "Production Management",
"suppliers": "Supplier Management",
"pos": "Point of Sale",
"orders": "Order Management"
},
"unsaved_changes": "You have unsaved changes",
"save_success": "Information updated successfully",
"save_error": "Error updating information"
},
"profile": {
"title": "User Profile",
"title": "Settings",
"description": "Manage your personal information and preferences",
"tabs": {
"personal": "Information",
"notifications": "Notifications",
"privacy": "Privacy"
},
"personal_info": "Personal Information",
"edit_profile": "Edit Profile",
"change_password": "Change Password",
@@ -19,11 +97,55 @@
"avatar": "Avatar"
},
"password": {
"title": "Change Password",
"current_password": "Current Password",
"new_password": "New Password",
"confirm_password": "Confirm Password",
"change_password": "Change Password",
"password_requirements": "Password must be at least 8 characters long"
"password_requirements": "Password must be at least 8 characters long",
"change_success": "Password updated successfully",
"change_error": "Could not change your password"
},
"notifications": {
"title": "Notification Preferences",
"description": "Configure how and when you receive notifications",
"contact_info": "Contact Information",
"global_settings": "Global Settings",
"channel_controls": "Channel Controls",
"categories": {
"alerts": "Alerts",
"reports": "Reports",
"marketing": "Marketing"
},
"channels": {
"email": "Email",
"push": "Push",
"whatsapp": "WhatsApp"
},
"quiet_hours": "Quiet Hours",
"quiet_hours_description": "No notifications during this period",
"digest_frequency": "Digest Frequency",
"email_limit": "Daily limit",
"preferences_saved": "Preferences saved successfully",
"preferences_error": "Error saving preferences"
},
"privacy": {
"title": "Privacy & Data",
"description": "Manage your privacy and personal data",
"gdpr_rights": "Your Data Rights",
"gdpr_description": "Under GDPR, you have the right to access, export, and delete your personal data",
"export_data": "Export Your Data",
"export_description": "Download a copy of all your personal data in JSON format",
"export_button": "Export My Data",
"export_success": "Your data has been exported successfully",
"export_error": "Failed to export your data. Please try again",
"delete_account": "Delete Account",
"delete_description": "Permanently delete your account and all associated data",
"delete_button": "Delete My Account",
"delete_warning": "This action cannot be undone",
"cookie_preferences": "Cookie Preferences",
"privacy_policy": "Privacy Policy",
"terms": "Terms of Service"
}
},
"team": {
@@ -43,14 +165,6 @@
"switch_organization": "Switch Organization",
"create_organization": "Create Organization"
},
"bakery_config": {
"title": "Bakery Configuration",
"description": "Configure your bakery-specific settings",
"general": "General",
"products": "Products",
"hours": "Operating Hours",
"notifications": "Notifications"
},
"subscription": {
"title": "Subscription",
"description": "Manage your subscription plan",
@@ -60,32 +174,19 @@
"upgrade": "Upgrade Plan",
"manage": "Manage Subscription"
},
"communication": {
"title": "Communication Preferences",
"description": "Configure how and when you receive notifications",
"email_notifications": "Email Notifications",
"push_notifications": "Push Notifications",
"sms_notifications": "SMS Notifications",
"marketing": "Marketing Communications",
"alerts": "System Alerts"
},
"tabs": {
"profile": "Profile",
"team": "Team",
"organization": "Organization",
"bakery_config": "Configuration",
"subscription": "Subscription",
"communication": "Communication"
},
"common": {
"save": "Save",
"cancel": "Cancel",
"discard": "Discard",
"edit": "Edit",
"delete": "Delete",
"loading": "Loading...",
"saving": "Saving...",
"success": "Success",
"error": "Error",
"required": "Required",
"optional": "Optional"
"optional": "Optional",
"reset": "Reset",
"reset_all": "Reset All"
}
}

View File

@@ -73,7 +73,27 @@
"delivery_status": "Delivery Status",
"quality_rating": "Quality Rating",
"delivery_rating": "Delivery Rating",
"invoice_status": "Invoice Status"
"invoice_status": "Invoice Status",
"supplier_code": "Supplier Code",
"lead_time": "Lead Time (days)",
"minimum_order": "Minimum Order",
"credit_limit": "Credit Limit",
"currency": "Currency",
"created_date": "Created Date",
"updated_date": "Last Updated",
"notes": "Notes"
},
"sections": {
"contact_info": "Contact Information",
"commercial_info": "Commercial Information",
"performance": "Performance and Statistics",
"notes": "Notes"
},
"placeholders": {
"name": "Supplier name",
"contact_person": "Contact person name",
"supplier_code": "Unique code",
"notes": "Notes about the supplier"
},
"descriptions": {
"supplier_type": "Select the type of products or services this supplier offers",
@@ -81,4 +101,4 @@
"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

@@ -51,10 +51,40 @@
"title": "Grant Program Eligibility",
"overall_readiness": "Overall Readiness",
"programs": {
"eu_horizon_europe": "EU Horizon Europe",
"eu_farm_to_fork": "EU Farm to Fork",
"national_circular_economy": "Circular Economy Grants",
"un_sdg_certified": "UN SDG Certification"
"life_circular_economy": "LIFE Programme - Circular Economy",
"life_circular_economy_description": "EU LIFE Programme supporting circular economy initiatives for food waste reduction",
"life_circular_economy_funding": "€73M available for circular economy projects",
"life_circular_economy_deadline": "Application deadline: September 23, 2025",
"life_circular_economy_requirement": "Requires 15% waste reduction from baseline",
"life_circular_economy_link": "https://cinea.ec.europa.eu/life-calls-proposals-2025_en",
"horizon_europe_cluster_6": "Horizon Europe - Cluster 6 Food Systems",
"horizon_europe_cluster_6_description": "R&I funding for sustainable food systems, bioeconomy, and waste reduction",
"horizon_europe_cluster_6_funding": "€880M+ annually for food systems projects",
"horizon_europe_cluster_6_deadline": "Rolling calls throughout 2025",
"horizon_europe_cluster_6_requirement": "Requires 20% waste reduction from baseline",
"horizon_europe_cluster_6_link": "https://research-and-innovation.ec.europa.eu/funding/cluster-6",
"fedima_sustainability_grant": "Fedima Sustainability Grant",
"fedima_sustainability_grant_description": "Bi-annual grant for local bakery sustainability initiatives",
"fedima_sustainability_grant_funding": "€20,000 per award",
"fedima_sustainability_grant_deadline": "Next deadline: June 30, 2025",
"fedima_sustainability_grant_requirement": "Requires 15% waste reduction (bakery-specific)",
"fedima_sustainability_grant_link": "https://grant.fedima.org",
"eit_food_retail": "EIT Food - Retail Innovation",
"eit_food_retail_description": "Support for retail food product launches addressing critical challenges",
"eit_food_retail_funding": "€15,000 - €45,000 per project",
"eit_food_retail_deadline": "Rolling applications",
"eit_food_retail_requirement": "Requires 20% waste reduction and retail innovation",
"eit_food_retail_link": "https://www.eitfood.eu/funding",
"un_sdg_certified": "UN SDG 12.3 Certification",
"un_sdg_certified_description": "Official certification for achieving SDG 12.3 targets",
"un_sdg_certified_funding": "Certification (not funding)",
"un_sdg_certified_deadline": "Ongoing certification process",
"un_sdg_certified_requirement": "Requires 50% waste reduction from baseline",
"un_sdg_certified_link": "https://sdgs.un.org/goals/goal12"
},
"confidence": {
"high": "High Confidence",
@@ -65,6 +95,11 @@
"eligible": "Eligible",
"not_eligible": "Not Eligible",
"requirements_met": "Requirements Met"
},
"spain_compliance": {
"title": "Spain-Specific Compliance",
"law_1_2025": "Spanish Law 1/2025 on Food Waste Prevention",
"circular_economy_strategy": "Spanish Circular Economy Strategy 2030"
}
},
"waste": {
@@ -84,10 +119,11 @@
"export_error": "Failed to export report",
"types": {
"general": "General Sustainability Report",
"eu_horizon": "EU Horizon Europe Format",
"farm_to_fork": "Farm to Fork Report",
"circular_economy": "Circular Economy Report",
"un_sdg": "UN SDG Certification Report"
"life_circular_economy": "LIFE Programme - Circular Economy Application",
"horizon_europe_cluster_6": "Horizon Europe Cluster 6 Application",
"fedima_sustainability_grant": "Fedima Sustainability Grant Application",
"eit_food_retail": "EIT Food Retail Innovation Application",
"un_sdg": "UN SDG 12.3 Certification Report"
}
}
}