diff --git a/.gitignore b/.gitignore index 354b54c..52a2676 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,6 @@ package-lock.json doc/_build yarn.lock data_rework/ +.env +weboob +.htpasswd diff --git a/flatisfy/web/js_src/i18n/fr/index.js b/flatisfy/web/js_src/i18n/fr/index.js new file mode 100644 index 0000000..38a6a25 --- /dev/null +++ b/flatisfy/web/js_src/i18n/fr/index.js @@ -0,0 +1,71 @@ +export default { + common: { + 'flats': 'appartement | appartements', + 'loading': 'Chargement…', + 'Actions': 'Actions', + 'More_about': 'Plus sur', + 'Remove': 'Enlever', + 'Restore': 'Remettre', + 'Original_post': 'Annonce originale | Annonces originales', + 'Original_post_for': 'Annonce originale pour', + 'Follow': 'Suivre', + 'Unfollow': 'Arrêter de suivre', + 'Close': 'Fermer', + 'sortUp': 'Trier par ordre croissant', + 'sortDown': 'Trier par ordre décroissant', + 'mins': 'min | mins', + 'Unknown': 'Inconnu', + 'expired': 'expiré' + }, + home: { + 'new_available_flats': 'Nouveaux appartements disponibles', + 'show_expired_flats': 'Montrer les annonces expirées' + }, + flatListing: { + 'no_available_flats': 'Pas d\'appartement disponible.', + 'no_matching_flats': 'Pas d\'appartement correspondant.' + }, + menu: { + 'available_flats': 'Appartements disponibles', + 'followed_flats': 'Appartements suivis', + 'by_status': 'Appartements par statut', + 'search': 'Rechercher' + }, + flatsDetails: { + 'Notation': 'Note', + 'Title': 'Titre', + 'Area': 'Surface', + 'Rooms': 'Pièces', + 'Cost': 'Coût', + 'SquareMeterCost': 'Coût / m²', + 'utilities_included': '(charges comprises)', + 'utilities_excluded': '(charges non comprises)', + 'Description': 'Description', + 'Details': 'Détails', + 'Metadata': 'Metadonnées', + 'postal_code': 'Code postal', + 'nearby_stations': 'Stations proches', + 'Times_to': 'Temps jusqu\'à', + 'Location': 'Localisation', + 'Contact': 'Contact', + 'Visit': 'Visite', + 'setDateOfVisit': 'Entrer une date de visite', + 'no_phone_found': 'Pas de numéro de téléphone trouvé', + 'rooms': 'pièce | pièces', + 'bedrooms': 'chambre | chambres' + }, + status: { + 'new': 'nouveau', + 'followed': 'suivi', + 'ignored': 'ignoré', + 'user_deleted': 'effacé', + 'duplicate': 'en double' + }, + slider: { + 'Fullscreen_photo': 'Photo en plein écran' + }, + search: { + 'input_placeholder': 'Tapez n\'importe quoi à rechercher…', + 'Search': 'Chercher !' + } +} diff --git a/flatisfy/web/js_src/i18n/index.js b/flatisfy/web/js_src/i18n/index.js index 9f0f33e..bf8fec7 100644 --- a/flatisfy/web/js_src/i18n/index.js +++ b/flatisfy/web/js_src/i18n/index.js @@ -3,6 +3,7 @@ import VueI18n from 'vue-i18n' // Import translations import en from './en' +import fr from './fr' Vue.use(VueI18n) @@ -32,7 +33,8 @@ export function getBrowserLocales () { } const messages = { - 'en': en + 'en': en, + 'fr': fr } const locales = getBrowserLocales()