- Introduce a new .env.example file for Nostr and API configuration, including settings for push notifications and market relays. - Update Navbar.vue to include a new navigation item for the market, enhancing user access to market features. - Extend localization support by adding market translations in English, Spanish, and French.
62 lines
No EOL
1.2 KiB
TypeScript
62 lines
No EOL
1.2 KiB
TypeScript
import type { LocaleMessages } from '../types'
|
|
|
|
const messages: LocaleMessages = {
|
|
nav: {
|
|
title: 'Titre de l\'Application',
|
|
home: 'Accueil',
|
|
directory: 'Répertoire',
|
|
faq: 'FAQ',
|
|
events: 'Événements',
|
|
market: 'Marché',
|
|
login: 'Connexion',
|
|
logout: 'Déconnexion'
|
|
},
|
|
common: {
|
|
loading: 'Chargement...',
|
|
error: 'Une erreur est survenue',
|
|
success: 'Opération réussie'
|
|
},
|
|
errors: {
|
|
notFound: 'Page non trouvée',
|
|
serverError: 'Erreur du serveur',
|
|
networkError: 'Erreur de connexion réseau'
|
|
},
|
|
locales: {
|
|
en: 'Anglais',
|
|
es: 'Espagnol',
|
|
fr: 'Français',
|
|
de: 'Allemand',
|
|
zh: 'Chinois'
|
|
},
|
|
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
|