From 8e734fab6ba2b0e1238a6010db8b3e4341bb14d6 Mon Sep 17 00:00:00 2001 From: abdelhak aissat Date: Fri, 5 Aug 2022 17:01:32 +0100 Subject: [PATCH] lang: add new french translation and new variables * add new french translations * add variables to translate to french * do the necessary treatment for english --- frontend/components/layout/TheHeader.vue | 12 ++++++------ frontend/components/project/FormCreate.vue | 2 +- frontend/i18n/en/home.js | 8 +++++++- frontend/i18n/en/projects/overview.js | 1 + frontend/i18n/fr/home.js | 8 +++++++- frontend/i18n/fr/projects/comments.js | 10 ++++++++++ frontend/i18n/fr/projects/links.js | 5 +++++ frontend/i18n/fr/projects/settings.js | 3 +++ 8 files changed, 40 insertions(+), 9 deletions(-) create mode 100644 frontend/i18n/fr/projects/comments.js create mode 100644 frontend/i18n/fr/projects/links.js create mode 100644 frontend/i18n/fr/projects/settings.js diff --git a/frontend/components/layout/TheHeader.vue b/frontend/components/layout/TheHeader.vue index a353baee..0ef90a58 100644 --- a/frontend/components/layout/TheHeader.vue +++ b/frontend/components/layout/TheHeader.vue @@ -96,15 +96,15 @@ export default { { title: this.$t('home.demoSent'), link: 'sentiment-analysis' }, { title: this.$t('home.demoTranslation'), link: 'translation' }, { - title: 'Intent Detection and Slot Filling', + title: this.$t('home.demoIntenDetectSlotFil'), link: 'intent-detection-and-slot-filling' }, { title: this.$t('home.demoTextToSQL'), link: 'text-to-sql' }, - { title: 'Image Classification', link: 'image-classification' }, - { title: 'Image Captioning', link: 'image-caption' }, - { title: 'Object Detection', link: 'object-detection' }, - { title: 'Polygon Segmentation', link: 'segmentation' }, - { title: 'Speech to Text', link: 'speech-to-text' } + { title: this.$t('home.demoImageClas'), link: 'image-classification' }, + { title: this.$t('home.demoImageCapt'), link: 'image-caption' }, + { title: this.$t('home.demoObjDetect'), link: 'object-detection' }, + { title: this.$t('home.demoPolygSegm'), link: 'segmentation' }, + { title: this.$t('home.demoSTT'), link: 'speech-to-text' } ], mdiLogout, mdiDotsVertical, diff --git a/frontend/components/project/FormCreate.vue b/frontend/components/project/FormCreate.vue index 146da7a6..ba732fe1 100644 --- a/frontend/components/project/FormCreate.vue +++ b/frontend/components/project/FormCreate.vue @@ -62,7 +62,7 @@