Improve the UI and training
This commit is contained in:
@@ -15,6 +15,7 @@ import settingsEs from './es/settings.json';
|
||||
import ajustesEs from './es/ajustes.json';
|
||||
import reasoningEs from './es/reasoning.json';
|
||||
import wizardsEs from './es/wizards.json';
|
||||
import subscriptionEs from './es/subscription.json';
|
||||
|
||||
// English translations
|
||||
import commonEn from './en/common.json';
|
||||
@@ -33,6 +34,7 @@ import settingsEn from './en/settings.json';
|
||||
import ajustesEn from './en/ajustes.json';
|
||||
import reasoningEn from './en/reasoning.json';
|
||||
import wizardsEn from './en/wizards.json';
|
||||
import subscriptionEn from './en/subscription.json';
|
||||
|
||||
// Basque translations
|
||||
import commonEu from './eu/common.json';
|
||||
@@ -51,6 +53,7 @@ import settingsEu from './eu/settings.json';
|
||||
import ajustesEu from './eu/ajustes.json';
|
||||
import reasoningEu from './eu/reasoning.json';
|
||||
import wizardsEu from './eu/wizards.json';
|
||||
import subscriptionEu from './eu/subscription.json';
|
||||
|
||||
// Translation resources by language
|
||||
export const resources = {
|
||||
@@ -71,6 +74,7 @@ export const resources = {
|
||||
ajustes: ajustesEs,
|
||||
reasoning: reasoningEs,
|
||||
wizards: wizardsEs,
|
||||
subscription: subscriptionEs,
|
||||
},
|
||||
en: {
|
||||
common: commonEn,
|
||||
@@ -89,6 +93,7 @@ export const resources = {
|
||||
ajustes: ajustesEn,
|
||||
reasoning: reasoningEn,
|
||||
wizards: wizardsEn,
|
||||
subscription: subscriptionEn,
|
||||
},
|
||||
eu: {
|
||||
common: commonEu,
|
||||
@@ -107,6 +112,7 @@ export const resources = {
|
||||
ajustes: ajustesEu,
|
||||
reasoning: reasoningEu,
|
||||
wizards: wizardsEu,
|
||||
subscription: subscriptionEu,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -143,7 +149,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'] as const;
|
||||
export const namespaces = ['common', 'auth', 'inventory', 'foodSafety', 'suppliers', 'orders', 'recipes', 'errors', 'dashboard', 'production', 'equipment', 'landing', 'settings', 'ajustes', 'reasoning', 'wizards', 'subscription'] as const;
|
||||
export type Namespace = typeof namespaces[number];
|
||||
|
||||
// Helper function to get language display name
|
||||
|
||||
Reference in New Issue
Block a user