Add whatsapp feature

This commit is contained in:
Urtzi Alfaro
2025-11-13 16:01:08 +01:00
parent d7df2b0853
commit 9bc048d360
74 changed files with 9765 additions and 533 deletions

View File

@@ -133,6 +133,33 @@
"delivery_tracking": "Permite a los clientes rastrear sus pedidos en tiempo real"
}
},
"notification": {
"title": "Notificaciones",
"whatsapp_config": "Configuración de WhatsApp",
"whatsapp_enabled": "Habilitar notificaciones por WhatsApp",
"whatsapp_phone_number_id": "ID del Número de Teléfono",
"whatsapp_phone_number_id_help": "ID del número de teléfono de WhatsApp Business desde Meta",
"whatsapp_access_token": "Token de Acceso",
"whatsapp_access_token_help": "Token de acceso permanente desde Meta Business Suite",
"whatsapp_business_account_id": "ID de Cuenta de Negocio",
"whatsapp_business_account_id_help": "ID de la cuenta de negocio de WhatsApp",
"whatsapp_api_version": "Versión de API",
"whatsapp_default_language": "Idioma Predeterminado",
"whatsapp_setup_note": "Pasos para configurar WhatsApp Business:",
"whatsapp_setup_step1": "Crea una cuenta de WhatsApp Business en Meta Business Suite",
"whatsapp_setup_step2": "Crea y aprueba plantillas de mensajes (ej: po_notification)",
"whatsapp_setup_step3": "Obtén las credenciales: Phone Number ID, Access Token y Business Account ID",
"email_config": "Configuración de Email",
"email_enabled": "Habilitar notificaciones por email",
"email_from_address": "Email Remitente",
"email_from_name": "Nombre del Remitente",
"email_reply_to": "Email de Respuesta",
"preferences": "Preferencias de Notificación",
"enable_po_notifications": "Notificaciones de Órdenes de Compra",
"enable_inventory_alerts": "Alertas de Inventario",
"enable_production_alerts": "Alertas de Producción",
"enable_forecast_alerts": "Alertas de Previsión"
},
"messages": {
"save_success": "Ajustes guardados correctamente",
"save_error": "Error al guardar ajustes",

View File

@@ -1,6 +1,6 @@
{
"title": "Panel de Control",
"subtitle": "Resumen general de tu panadería",
"subtitle": "Tu panadería de un vistazo",
"stats": {
"sales_today": "Ventas Hoy",
"pending_orders": "Órdenes Pendientes",
@@ -31,7 +31,8 @@
"today_production": "Producción de Hoy",
"pending_po_approvals": "Órdenes de Compra Pendientes",
"recent_activity": "Actividad Reciente",
"quick_actions": "Acciones Rápidas"
"quick_actions": "Acciones Rápidas",
"key_metrics": "Métricas Clave"
},
"procurement": {
"title": "¿Qué necesito comprar para mañana?",
@@ -57,7 +58,11 @@
"start_production": "Iniciar Producción",
"check_inventory": "Revisar Inventario",
"view_reports": "Ver Reportes",
"manage_staff": "Gestionar Personal"
"manage_staff": "Gestionar Personal",
"view_orders": "Ver Órdenes",
"view_production": "Producción",
"view_inventory": "Inventario",
"view_suppliers": "Proveedores"
},
"alerts": {
"title": "Alertas",
@@ -156,7 +161,23 @@
"all_caught_up": "¡Todo al día!",
"stock_healthy": "Stock saludable",
"same_as_yesterday": "Igual que ayer",
"less_than_yesterday": "menos que ayer"
"less_than_yesterday": "menos que ayer",
"your_bakery_at_glance": "Tu panadería de un vistazo"
},
"health": {
"production_on_schedule": "Producción a tiempo",
"production_delayed": "{{count}} lote{{count, plural, one {} other {s}}} de producción retrasado{{count, plural, one {} other {s}}}",
"all_ingredients_in_stock": "Todos los ingredientes en stock",
"ingredients_out_of_stock": "{{count}} ingrediente{{count, plural, one {} other {s}}} sin stock",
"no_pending_approvals": "Sin aprobaciones pendientes",
"approvals_awaiting": "{{count}} orden{{count, plural, one {} other {es}}} de compra esperando aprobación",
"all_systems_operational": "Todos los sistemas operativos",
"critical_issues": "{{count}} problema{{count, plural, one {} other {s}}} crítico{{count, plural, one {} other {s}}}",
"headline_green": "Tu panadería funciona sin problemas",
"headline_yellow_approvals": "Por favor revisa {{count}} aprobación{{count, plural, one {} other {es}}} pendiente{{count, plural, one {} other {s}}}",
"headline_yellow_alerts": "Tienes {{count}} alerta{{count, plural, one {} other {s}}} que necesita{{count, plural, one {} other {n}}} atención",
"headline_yellow_general": "Algunos elementos necesitan tu atención",
"headline_red": "Problemas críticos requieren acción inmediata"
},
"time_periods": {
"today": "Hoy",

View File

@@ -107,7 +107,11 @@
"historical_demand": "Demanda histórica",
"inventory_levels": "Niveles de inventario",
"ai_optimization": "Optimización por IA",
"actions_required": "{{count}} elemento{{count, plural, one {} other {s}}} necesita{{count, plural, one {} other {n}}} tu aprobación antes de continuar"
"actions_required": "{{count}} elemento{{count, plural, one {} other {s}}} necesita{{count, plural, one {} other {n}}} tu aprobación antes de continuar",
"no_tenant_error": "No se encontró ID de inquilino. Por favor, asegúrate de haber iniciado sesión.",
"planning_started": "Planificación iniciada correctamente",
"planning_failed": "Error al iniciar la planificación",
"planning_error": "Ocurrió un error al iniciar la planificación"
},
"production_timeline": {
"title": "Tu Plan de Producción de Hoy",

View File

@@ -5,7 +5,8 @@
"tabs": {
"information": "Datos del establecimiento",
"hours": "Horarios",
"operations": "Ajustes operacionales"
"operations": "Ajustes operacionales",
"notifications": "Notificaciones"
},
"information": {
"title": "Información General",