- Add a "Chat" link to the main navigation for both desktop and mobile views. - Include a message icon for visual identification and support for multiple languages (English, Spanish, French). - Update documentation to reflect navigation integration and usage instructions for the chat feature.
63 lines
1.2 KiB
TypeScript
63 lines
1.2 KiB
TypeScript
import type { LocaleMessages } from '../types'
|
|
|
|
const messages: LocaleMessages = {
|
|
nav: {
|
|
title: 'Reino Virtual',
|
|
home: 'Inicio',
|
|
directory: 'Directorio',
|
|
faq: 'Preguntas Frecuentes',
|
|
events: 'Eventos',
|
|
market: 'Mercado',
|
|
chat: 'Chat',
|
|
login: 'Iniciar Sesión',
|
|
logout: 'Cerrar Sesión'
|
|
},
|
|
common: {
|
|
loading: 'Cargando...',
|
|
error: 'Ha ocurrido un error',
|
|
success: 'Operación exitosa'
|
|
},
|
|
errors: {
|
|
notFound: 'Página no encontrada',
|
|
serverError: 'Error del servidor',
|
|
networkError: 'Error de conexión de red'
|
|
},
|
|
locales: {
|
|
en: 'Inglés',
|
|
es: 'Español',
|
|
fr: 'Francés',
|
|
de: 'Alemán',
|
|
zh: 'Chino'
|
|
},
|
|
dateTimeFormats: {
|
|
short: {
|
|
year: 'numeric',
|
|
month: 'short',
|
|
day: 'numeric'
|
|
},
|
|
long: {
|
|
year: 'numeric',
|
|
month: 'long',
|
|
day: 'numeric',
|
|
weekday: 'long',
|
|
hour: 'numeric',
|
|
minute: 'numeric'
|
|
}
|
|
},
|
|
numberFormats: {
|
|
currency: {
|
|
style: 'currency',
|
|
currencyDisplay: 'symbol'
|
|
},
|
|
decimal: {
|
|
style: 'decimal',
|
|
minimumFractionDigits: 2
|
|
},
|
|
percent: {
|
|
style: 'percent',
|
|
useGrouping: false
|
|
}
|
|
}
|
|
}
|
|
|
|
export default messages
|