Improve UI and traslations
This commit is contained in:
@@ -25,6 +25,7 @@ import blogEs from './es/blog.json';
|
||||
import alertsEs from './es/alerts.json';
|
||||
import onboardingEs from './es/onboarding.json';
|
||||
import setupWizardEs from './es/setup_wizard.json';
|
||||
import contactEs from './es/contact.json';
|
||||
|
||||
// English translations
|
||||
import commonEn from './en/common.json';
|
||||
@@ -53,6 +54,7 @@ import blogEn from './en/blog.json';
|
||||
import alertsEn from './en/alerts.json';
|
||||
import onboardingEn from './en/onboarding.json';
|
||||
import setupWizardEn from './en/setup_wizard.json';
|
||||
import contactEn from './en/contact.json';
|
||||
|
||||
// Basque translations
|
||||
import commonEu from './eu/common.json';
|
||||
@@ -81,6 +83,7 @@ import blogEu from './eu/blog.json';
|
||||
import alertsEu from './eu/alerts.json';
|
||||
import onboardingEu from './eu/onboarding.json';
|
||||
import setupWizardEu from './eu/setup_wizard.json';
|
||||
import contactEu from './eu/contact.json';
|
||||
|
||||
// Translation resources by language
|
||||
export const resources = {
|
||||
@@ -111,6 +114,7 @@ export const resources = {
|
||||
alerts: alertsEs,
|
||||
onboarding: onboardingEs,
|
||||
setup_wizard: setupWizardEs,
|
||||
contact: contactEs,
|
||||
},
|
||||
en: {
|
||||
common: commonEn,
|
||||
@@ -139,6 +143,7 @@ export const resources = {
|
||||
alerts: alertsEn,
|
||||
onboarding: onboardingEn,
|
||||
setup_wizard: setupWizardEn,
|
||||
contact: contactEn,
|
||||
},
|
||||
eu: {
|
||||
common: commonEu,
|
||||
@@ -167,6 +172,7 @@ export const resources = {
|
||||
alerts: alertsEu,
|
||||
onboarding: onboardingEu,
|
||||
setup_wizard: setupWizardEu,
|
||||
contact: contactEu,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -203,7 +209,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', 'alerts', 'onboarding', 'setup_wizard'] 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', 'onboarding', 'setup_wizard', 'contact'] as const;
|
||||
export type Namespace = typeof namespaces[number];
|
||||
|
||||
// Helper function to get language display name
|
||||
|
||||
Reference in New Issue
Block a user