Refactor Establishments module and add multi-language support
This commit is contained in:
@@ -1,90 +1,4 @@
|
||||
export const translations = {
|
||||
es: {
|
||||
// Navigation
|
||||
home: 'Inicio',
|
||||
explore: 'Explorar',
|
||||
about: 'Acerca de',
|
||||
dashboard: 'Dashboard',
|
||||
|
||||
// Authentication
|
||||
signIn: 'Iniciar Sesión',
|
||||
signUp: 'Registrarse',
|
||||
signOut: 'Cerrar Sesión',
|
||||
email: 'Correo Electrónico',
|
||||
password: 'Contraseña',
|
||||
confirmPassword: 'Confirmar Contraseña',
|
||||
fullName: 'Nombre Completo',
|
||||
rememberMe: 'Recordarme',
|
||||
forgotPassword: 'Olvidé mi contraseña',
|
||||
|
||||
// Welcome messages
|
||||
welcomeBack: 'Bienvenido de vuelta! Por favor',
|
||||
toContinue: 'para continuar.',
|
||||
welcomeSignUp: 'Bienvenido! Por favor',
|
||||
unlockContent: 'Desbloquea un mundo de contenido exclusivo, disfruta de ofertas especiales, y sé el primero en acceder a noticias y actualizaciones emocionantes uniéndote a nuestra comunidad!',
|
||||
|
||||
// Social auth
|
||||
signUpWithApple: 'Registrarse con Apple',
|
||||
signUpWithGoogle: 'Registrarse con Google',
|
||||
privacyNotice: 'No publicaremos nada sin tu permiso y tus datos personales se mantienen privados',
|
||||
|
||||
// Form labels
|
||||
enterEmail: 'Ingresa tu email',
|
||||
enterValidEmail: 'Ingresa tu email válido',
|
||||
enterPassword: 'Ingresa tu contraseña',
|
||||
|
||||
// Hero section
|
||||
heroBadge: 'SOMOS #1 EN EL MERCADO CARIBEÑO',
|
||||
heroTitle: 'Estamos Aquí Para Ayudarte a Navegar Mientras Viajas',
|
||||
heroSubtitle: 'Obtén resultados completos basados en tu ubicación. Tu experiencia turística perfecta te espera.',
|
||||
searchPlaceholder: '¿Qué estás buscando?',
|
||||
locationPlaceholder: 'Ubicación',
|
||||
searchButton: 'Buscar lugares',
|
||||
|
||||
// Categories
|
||||
apartments: 'Apartamentos',
|
||||
restaurants: 'Restaurantes',
|
||||
events: 'Eventos/Arte',
|
||||
shops: 'Tiendas',
|
||||
museums: 'Museos',
|
||||
gyms: 'Gimnasios',
|
||||
listings: 'listados',
|
||||
|
||||
// Dashboard
|
||||
totalIncome: 'Ingresos Totales',
|
||||
visitors: 'Visitantes',
|
||||
totalOrders: 'Órdenes Totales',
|
||||
recentBookings: 'Reservas Recientes',
|
||||
statistics: 'Estadísticas',
|
||||
myListings: 'Mis Listados',
|
||||
addListing: 'Agregar Listado',
|
||||
wallet: 'Billetera',
|
||||
profile: 'Perfil',
|
||||
settings: 'Configuraciones',
|
||||
|
||||
// Common
|
||||
loading: 'Cargando...',
|
||||
error: 'Error',
|
||||
success: 'Éxito',
|
||||
cancel: 'Cancelar',
|
||||
save: 'Guardar',
|
||||
delete: 'Eliminar',
|
||||
edit: 'Editar',
|
||||
view: 'Ver',
|
||||
|
||||
// Process section
|
||||
processTitle: 'Encuentra Tu Lugar Soñado De La Mejor Manera',
|
||||
processSubtitle: 'Descubre categorías emocionantes. Encuentra lo que estás buscando.',
|
||||
step1: 'Ingresa tu ubicación para comenzar a buscar lugares de interés.',
|
||||
step2: 'Haz una cita en el lugar que quieres visitar.',
|
||||
step3: 'Visita el lugar y disfruta la experiencia.',
|
||||
|
||||
// Explore section
|
||||
topRegions: 'Principales Regiones',
|
||||
exploreCities: 'Explorar Ciudades',
|
||||
exploreMore: 'Explorar más'
|
||||
},
|
||||
|
||||
en: {
|
||||
// Navigation
|
||||
home: 'Home',
|
||||
@@ -171,6 +85,92 @@ export const translations = {
|
||||
exploreMore: 'Explore more'
|
||||
},
|
||||
|
||||
es: {
|
||||
// Navigation
|
||||
home: 'Inicio',
|
||||
explore: 'Explorar',
|
||||
about: 'Acerca de',
|
||||
dashboard: 'Dashboard',
|
||||
|
||||
// Authentication
|
||||
signIn: 'Iniciar Sesión',
|
||||
signUp: 'Registrarse',
|
||||
signOut: 'Cerrar Sesión',
|
||||
email: 'Correo Electrónico',
|
||||
password: 'Contraseña',
|
||||
confirmPassword: 'Confirmar Contraseña',
|
||||
fullName: 'Nombre Completo',
|
||||
rememberMe: 'Recordarme',
|
||||
forgotPassword: 'Olvidé mi contraseña',
|
||||
|
||||
// Welcome messages
|
||||
welcomeBack: 'Bienvenido de vuelta! Por favor',
|
||||
toContinue: 'para continuar.',
|
||||
welcomeSignUp: 'Bienvenido! Por favor',
|
||||
unlockContent: 'Desbloquea un mundo de contenido exclusivo, disfruta de ofertas especiales, y sé el primero en acceder a noticias y actualizaciones emocionantes uniéndote a nuestra comunidad!',
|
||||
|
||||
// Social auth
|
||||
signUpWithApple: 'Registrarse con Apple',
|
||||
signUpWithGoogle: 'Registrarse con Google',
|
||||
privacyNotice: 'No publicaremos nada sin tu permiso y tus datos personales se mantienen privados',
|
||||
|
||||
// Form labels
|
||||
enterEmail: 'Ingresa tu email',
|
||||
enterValidEmail: 'Ingresa tu email válido',
|
||||
enterPassword: 'Ingresa tu contraseña',
|
||||
|
||||
// Hero section
|
||||
heroBadge: 'SOMOS #1 EN EL MERCADO CARIBEÑO',
|
||||
heroTitle: 'Estamos Aquí Para Ayudarte a Navegar Mientras Viajas',
|
||||
heroSubtitle: 'Obtén resultados completos basados en tu ubicación. Tu experiencia turística perfecta te espera.',
|
||||
searchPlaceholder: '¿Qué estás buscando?',
|
||||
locationPlaceholder: 'Ubicación',
|
||||
searchButton: 'Buscar lugares',
|
||||
|
||||
// Categories
|
||||
apartments: 'Apartamentos',
|
||||
restaurants: 'Restaurantes',
|
||||
events: 'Eventos/Arte',
|
||||
shops: 'Tiendas',
|
||||
museums: 'Museos',
|
||||
gyms: 'Gimnasios',
|
||||
listings: 'listados',
|
||||
|
||||
// Dashboard
|
||||
totalIncome: 'Ingresos Totales',
|
||||
visitors: 'Visitantes',
|
||||
totalOrders: 'Órdenes Totales',
|
||||
recentBookings: 'Reservas Recientes',
|
||||
statistics: 'Estadísticas',
|
||||
myListings: 'Mis Listados',
|
||||
addListing: 'Agregar Listado',
|
||||
wallet: 'Billetera',
|
||||
profile: 'Perfil',
|
||||
settings: 'Configuraciones',
|
||||
|
||||
// Common
|
||||
loading: 'Cargando...',
|
||||
error: 'Error',
|
||||
success: 'Éxito',
|
||||
cancel: 'Cancelar',
|
||||
save: 'Guardar',
|
||||
delete: 'Eliminar',
|
||||
edit: 'Editar',
|
||||
view: 'Ver',
|
||||
|
||||
// Process section
|
||||
processTitle: 'Encuentra Tu Lugar Soñado De La Mejor Manera',
|
||||
processSubtitle: 'Descubre categorías emocionantes. Encuentra lo que estás buscando.',
|
||||
step1: 'Ingresa tu ubicación para comenzar a buscar lugares de interés.',
|
||||
step2: 'Haz una cita en el lugar que quieres visitar.',
|
||||
step3: 'Visita el lugar y disfruta la experiencia.',
|
||||
|
||||
// Explore section
|
||||
topRegions: 'Principales Regiones',
|
||||
exploreCities: 'Explorar Ciudades',
|
||||
exploreMore: 'Explorar más'
|
||||
},
|
||||
|
||||
fr: {
|
||||
// Navigation
|
||||
home: 'Accueil',
|
||||
@@ -255,5 +255,177 @@ export const translations = {
|
||||
topRegions: 'Principales Régions',
|
||||
exploreCities: 'Explorer les Villes',
|
||||
exploreMore: 'Explorer plus'
|
||||
},
|
||||
|
||||
zh: {
|
||||
// Navigation
|
||||
home: '首页',
|
||||
explore: '探索',
|
||||
about: '关于',
|
||||
dashboard: '仪表板',
|
||||
|
||||
// Authentication
|
||||
signIn: '登录',
|
||||
signUp: '注册',
|
||||
signOut: '退出',
|
||||
email: '电子邮件',
|
||||
password: '密码',
|
||||
confirmPassword: '确认密码',
|
||||
fullName: '全名',
|
||||
rememberMe: '记住我',
|
||||
forgotPassword: '忘记密码',
|
||||
|
||||
// Welcome messages
|
||||
welcomeBack: '欢迎回来!请',
|
||||
toContinue: '继续。',
|
||||
welcomeSignUp: '欢迎!请',
|
||||
unlockContent: '通过加入我们的社区,解锁专属内容世界,享受特别优惠,并率先了解激动人心的新闻和更新!',
|
||||
|
||||
// Social auth
|
||||
signUpWithApple: '使用 Apple 注册',
|
||||
signUpWithGoogle: '使用 Google 注册',
|
||||
privacyNotice: '未经您的许可,我们不会发布任何内容,您的个人详细信息将保密',
|
||||
|
||||
// Form labels
|
||||
enterEmail: '输入电子邮件',
|
||||
enterValidEmail: '输入有效的电子邮件',
|
||||
enterPassword: '输入密码',
|
||||
|
||||
// Hero section
|
||||
heroBadge: '我们是市场第一',
|
||||
heroTitle: '我们在这里帮助您在旅行时导航',
|
||||
heroSubtitle: '根据提供的位置,您将获得全面的结果。',
|
||||
searchPlaceholder: '您在寻找什么?',
|
||||
locationPlaceholder: '位置',
|
||||
searchButton: '搜索地点',
|
||||
|
||||
// Categories
|
||||
apartments: '公寓',
|
||||
restaurants: '餐厅',
|
||||
events: '活动/艺术',
|
||||
shops: '商店',
|
||||
museums: '博物馆',
|
||||
gyms: '健身房',
|
||||
listings: '列表',
|
||||
|
||||
// Dashboard
|
||||
totalIncome: '总收入',
|
||||
visitors: '访客',
|
||||
totalOrders: '总订单',
|
||||
recentBookings: '最近预订',
|
||||
statistics: '统计',
|
||||
myListings: '我的列表',
|
||||
addListing: '添加列表',
|
||||
wallet: '钱包',
|
||||
profile: '个人资料',
|
||||
settings: '设置',
|
||||
|
||||
// Common
|
||||
loading: '加载中...',
|
||||
error: '错误',
|
||||
success: '成功',
|
||||
cancel: '取消',
|
||||
save: '保存',
|
||||
delete: '删除',
|
||||
edit: '编辑',
|
||||
view: '查看',
|
||||
|
||||
// Process section
|
||||
processTitle: '以最佳方式找到您的梦想之地',
|
||||
processSubtitle: '发现令人兴奋的类别。找到您想要的。',
|
||||
step1: '输入您的位置以开始查找地标。',
|
||||
step2: '在您想要访问的地方预约。',
|
||||
step3: '参观地点并享受体验。',
|
||||
|
||||
// Explore section
|
||||
topRegions: '热门地区',
|
||||
exploreCities: '探索城市',
|
||||
exploreMore: '探索更多'
|
||||
},
|
||||
|
||||
de: {
|
||||
// Navigation
|
||||
home: 'Startseite',
|
||||
explore: 'Erkunden',
|
||||
about: 'Über uns',
|
||||
dashboard: 'Dashboard',
|
||||
|
||||
// Authentication
|
||||
signIn: 'Anmelden',
|
||||
signUp: 'Registrieren',
|
||||
signOut: 'Abmelden',
|
||||
email: 'E-Mail',
|
||||
password: 'Passwort',
|
||||
confirmPassword: 'Passwort bestätigen',
|
||||
fullName: 'Vollständiger Name',
|
||||
rememberMe: 'Angemeldet bleiben',
|
||||
forgotPassword: 'Passwort vergessen',
|
||||
|
||||
// Welcome messages
|
||||
welcomeBack: 'Willkommen zurück! Bitte',
|
||||
toContinue: 'um fortzufahren.',
|
||||
welcomeSignUp: 'Willkommen! Bitte',
|
||||
unlockContent: 'Entsperren Sie eine Welt exklusiver Inhalte, genießen Sie besondere Angebote und seien Sie der Erste, der spannende Neuigkeiten und Updates erhält, indem Sie unserer Community beitreten!',
|
||||
|
||||
// Social auth
|
||||
signUpWithApple: 'Mit Apple registrieren',
|
||||
signUpWithGoogle: 'Mit Google registrieren',
|
||||
privacyNotice: 'Wir werden nichts ohne Ihre Erlaubnis veröffentlichen und Ihre persönlichen Daten werden privat gehalten',
|
||||
|
||||
// Form labels
|
||||
enterEmail: 'E-Mail eingeben',
|
||||
enterValidEmail: 'Gültige E-Mail eingeben',
|
||||
enterPassword: 'Passwort eingeben',
|
||||
|
||||
// Hero section
|
||||
heroBadge: 'WIR SIND #1 AUF DEM MARKT',
|
||||
heroTitle: 'Wir sind hier, um Ihnen beim Navigieren auf Reisen zu helfen',
|
||||
heroSubtitle: 'Sie erhalten umfassende Ergebnisse basierend auf dem angegebenen Standort.',
|
||||
searchPlaceholder: 'Wonach suchen Sie?',
|
||||
locationPlaceholder: 'Standort',
|
||||
searchButton: 'Orte suchen',
|
||||
|
||||
// Categories
|
||||
apartments: 'Apartments',
|
||||
restaurants: 'Restaurants',
|
||||
events: 'Veranstaltungen/Kunst',
|
||||
shops: 'Geschäfte',
|
||||
museums: 'Museen',
|
||||
gyms: 'Fitnessstudios',
|
||||
listings: 'Einträge',
|
||||
|
||||
// Dashboard
|
||||
totalIncome: 'Gesamteinkommen',
|
||||
visitors: 'Besucher',
|
||||
totalOrders: 'Gesamtbestellungen',
|
||||
recentBookings: 'Aktuelle Buchungen',
|
||||
statistics: 'Statistiken',
|
||||
myListings: 'Meine Einträge',
|
||||
addListing: 'Eintrag hinzufügen',
|
||||
wallet: 'Geldbörse',
|
||||
profile: 'Profil',
|
||||
settings: 'Einstellungen',
|
||||
|
||||
// Common
|
||||
loading: 'Wird geladen...',
|
||||
error: 'Fehler',
|
||||
success: 'Erfolg',
|
||||
cancel: 'Abbrechen',
|
||||
save: 'Speichern',
|
||||
delete: 'Löschen',
|
||||
edit: 'Bearbeiten',
|
||||
view: 'Ansehen',
|
||||
|
||||
// Process section
|
||||
processTitle: 'Finden Sie Ihren Traumort auf die beste Weise',
|
||||
processSubtitle: 'Entdecken Sie aufregende Kategorien. Finden Sie, was Sie suchen.',
|
||||
step1: 'Geben Sie Ihren Standort ein, um nach Sehenswürdigkeiten zu suchen.',
|
||||
step2: 'Vereinbaren Sie einen Termin an dem Ort, den Sie besuchen möchten.',
|
||||
step3: 'Besuchen Sie den Ort und genießen Sie das Erlebnis.',
|
||||
|
||||
// Explore section
|
||||
topRegions: 'Top-Regionen',
|
||||
exploreCities: 'Städte erkunden',
|
||||
exploreMore: 'Mehr erkunden'
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user