New alert system and panel de control page

This commit is contained in:
Urtzi Alfaro
2025-11-27 15:52:40 +01:00
parent 1a2f4602f3
commit e902419b6e
178 changed files with 20982 additions and 6944 deletions

View File

@@ -22,6 +22,7 @@ import featuresEs from './es/features.json';
import aboutEs from './es/about.json';
import demoEs from './es/demo.json';
import blogEs from './es/blog.json';
import alertsEs from './es/alerts.json';
// English translations
import commonEn from './en/common.json';
@@ -47,6 +48,7 @@ import featuresEn from './en/features.json';
import aboutEn from './en/about.json';
import demoEn from './en/demo.json';
import blogEn from './en/blog.json';
import alertsEn from './en/alerts.json';
// Basque translations
import commonEu from './eu/common.json';
@@ -72,6 +74,7 @@ import featuresEu from './eu/features.json';
import aboutEu from './eu/about.json';
import demoEu from './eu/demo.json';
import blogEu from './eu/blog.json';
import alertsEu from './eu/alerts.json';
// Translation resources by language
export const resources = {
@@ -99,6 +102,7 @@ export const resources = {
about: aboutEs,
demo: demoEs,
blog: blogEs,
alerts: alertsEs,
},
en: {
common: commonEn,
@@ -124,6 +128,7 @@ export const resources = {
about: aboutEn,
demo: demoEn,
blog: blogEn,
alerts: alertsEn,
},
eu: {
common: commonEu,
@@ -149,6 +154,7 @@ export const resources = {
about: aboutEu,
demo: demoEu,
blog: blogEu,
alerts: alertsEu,
},
};
@@ -185,7 +191,7 @@ export const languageConfig = {
};
// Namespaces available in translations
export const namespaces = ['common', 'auth', 'inventory', 'foodSafety', 'suppliers', 'orders', 'recipes', 'errors', 'dashboard', 'production', 'equipment', 'landing', 'settings', 'ajustes', 'reasoning', 'wizards', 'subscription', 'purchase_orders', 'help', 'features', 'about', 'demo', 'blog'] as const;
export const namespaces = ['common', 'auth', 'inventory', 'foodSafety', 'suppliers', 'orders', 'recipes', 'errors', 'dashboard', 'production', 'equipment', 'landing', 'settings', 'ajustes', 'reasoning', 'wizards', 'subscription', 'purchase_orders', 'help', 'features', 'about', 'demo', 'blog', 'alerts'] as const;
export type Namespace = typeof namespaces[number];
// Helper function to get language display name