diff --git a/src/NervTN.vue b/src/NervTN.vue index 81729a6..3591f26 100644 --- a/src/NervTN.vue +++ b/src/NervTN.vue @@ -1,10 +1,17 @@ + + @@ -18,31 +25,12 @@ const {t} = useI18n({useScope: 'local'}); - - - - 👤 {{ t('menu.contact') }} - - - 📝 {{ t('menu.profile') }} - 🗒️ {{ t('menu.contacts list') }} - - - - - - 💬 ✉️ {{ t('menu.messages') }} - - - 📭 {{ t('menu.correspondence') }} - 💬 {{ t('menu.chat') }} - 🎥 {{ t('menu.video conferencing') }} - - + + - + diff --git a/src/components/contact/Profil.vue b/src/components/contact/Profil.vue deleted file mode 100644 index 64dced2..0000000 --- a/src/components/contact/Profil.vue +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - 👤 Profil - - Avatar - - - - - Pseudonyme : - - - - - Email Personnelle : - - - - - - - - 📇 Informations personnelles - - Nom complet : - - - - - Date de naissance : - - - - - Numéro de téléphone : - - - - - Adresse Personnelle - - Rue : - - - Ville : - - - Code Postal : - - - Pays : - - - - - - - - - 💼 Emploi - - Entreprise : - - - - Poste : - - - - Rôle : - - - - Email Professionnel : - - - - Numéro de téléphone : - - - - - Adresse Proffessionelle - - Rue : - - - Ville : - - - Code Postal : - - - Pays : - - - - - Enregistrer - - - - - - ✍🏼 À propos / Commentaires - - - - - Enregistrer - - - - - - - - - - - - \ No newline at end of file diff --git a/src/components/contact/Profile.vue b/src/components/contact/Profile.vue new file mode 100644 index 0000000..a0d61ca --- /dev/null +++ b/src/components/contact/Profile.vue @@ -0,0 +1,188 @@ + + + + + + + 👤 {{ t ('pwa.profile') }} + + {{ t ('pwa.avatar') }} + + + + + {{ t ('pwa.nickname') }}: + + + + + {{ t ('pwa.emailHome') }}: + + + + + + + + 📇 {{ t ('pwa.personalInfo') }} + + {{ t ('pwa.name') }}: + + + + + {{ t ('pwa.bday') }}: + + + + + {{ t ('pwa.nbrHome') }}: + + + + + {{ t ('pwa.home') }} + + {{ t ('pwa.street') }}: + + + {{ t ('pwa.locality') }}: + + + {{ t ('pwa.pcode') }}: + + + {{ t ('pwa.ctry') }}: + + + + + + + + + 💼 {{ t ('pwa.job') }} + + {{ t ('pwa.orgname') }}: + + + + {{ t ('pwa.title') }}: + + + + {{ t ('pwa.role') }}: + + + + {{ t ('pwa.emailWork') }}: + + + + {{ t ('pwa.nbrWork') }}: + + + + + {{ t ('pwa.work') }} + + {{ t ('pwa.street') }}: + + + {{ t ('pwa.locality') }}: + + + {{ t ('pwa.pcode') }}: + + + {{ t ('pwa.ctry') }}: + + + + + {{ t ('pwa.save') }} + + + + + + ✍🏼 {{ t ('pwa.comments') }} + + + + + {{ t ('pwa.save') }} + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/contact/locale/en.json b/src/components/contact/locale/en.json index e69de29..6f3daf0 100644 --- a/src/components/contact/locale/en.json +++ b/src/components/contact/locale/en.json @@ -0,0 +1,26 @@ +{ + "pwa": { + "profile": "Profile", + "avatar": "Avatar", + "nickname": "Nickname", + "emailHome": "Personal Email", + "personalInfo": "Personal information", + "name": "Full name", + "bday": "Date of birth", + "nbrHome": "Phone number", + "home": "Personal Address", + "street": "Street", + "locality": "City", + "pcode": "Postal Code", + "ctry": "Country", + "job": "Job", + "orgname": "Company", + "title": "Position", + "role": "Role", + "emailWork": "Professional Email", + "nbrWork": "Phone number", + "work": "Professional address ", + "save": "Save", + "comments": "About / Comments" + } +} \ No newline at end of file diff --git a/src/components/contact/locale/fr.json b/src/components/contact/locale/fr.json index e69de29..4345cd5 100644 --- a/src/components/contact/locale/fr.json +++ b/src/components/contact/locale/fr.json @@ -0,0 +1,27 @@ +{ + "pwa": { + + "profile": "Profil", + "avatar": "Avatar", + "nickname": "Pseudonyme", + "emailHome": "Email Personnelle", + "personalInfo": "Informations Personnelles", + "name": "Nom complet", + "bday": "Date de naissance", + "nbrHome" : "Numéro de téléphone", + "home": "Adresse Personnelle", + "street": "Rue", + "locality": "Ville", + "pcode": "Code Postal", + "ctry": "Pays", + "job": "Emploi", + "orgname": "Entreprise", + "title": "Poste", + "role": "Rôle", + "emailWork": "Email Professionnel", + "nbrWork": "Numéro de téléphone", + "work": "Adresse Proffessionelle", + "save": "Enregistrer", + "comments": "À propos / Commentaires" + } +} \ No newline at end of file diff --git a/src/components/message/ChatBox.vue b/src/components/message/ChatBox.vue index e18a2e6..d07bb95 100644 --- a/src/components/message/ChatBox.vue +++ b/src/components/message/ChatBox.vue @@ -1,11 +1,16 @@ + + - Envoyer + {{ t('pwa.send') }} @@ -41,4 +46,7 @@ input { button:disabled { opacity: 0.5; } - \ No newline at end of file + + + + \ No newline at end of file diff --git a/src/components/message/NavMessage.vue b/src/components/message/NavMessage.vue new file mode 100644 index 0000000..2e60df1 --- /dev/null +++ b/src/components/message/NavMessage.vue @@ -0,0 +1,43 @@ + + + + + + + 👤 {{ t('menu.contact') }} + + + 📝 {{ t('menu.profile') }} + 🗒️ {{ t('menu.contacts list') }} + + + + + + 💬 ✉️ {{ t('menu.messages') }} + + + 📭 {{ t('menu.correspondence') }} + 💬 {{ t('menu.chat') }} + 🎥 {{ t('menu.video conferencing') }} + + + + + + + + + + \ No newline at end of file diff --git a/src/components/message/locale/en.json b/src/components/message/locale/en.json index e69de29..c9c2882 100644 --- a/src/components/message/locale/en.json +++ b/src/components/message/locale/en.json @@ -0,0 +1,17 @@ +{ + "menu": { + "contact": "Contact", + "profile": "Profil", + "contacts list": "contacts list", + "messages": "Messages", + "correspondence": "Correspondence", + "chat": "Chat", + "video conferencing": "Video conferencing" + }, + + "pwa": { + "send": "Send" + } + + +} \ No newline at end of file diff --git a/src/components/message/locale/fr.json b/src/components/message/locale/fr.json index e69de29..8357ee6 100644 --- a/src/components/message/locale/fr.json +++ b/src/components/message/locale/fr.json @@ -0,0 +1,18 @@ +{ + "menu": { + "contact": "Contact", + "profile ": "Profil", + "contacts list": "Liste des contacts", + "messages": "Messages", + "correspondence": "Correspondence", + "chat": "Chat", + "video conferencing": "Visioconférence" + }, + + "pwa": { + "send": "Envoyer" + + } + + +} \ No newline at end of file diff --git a/src/locale/en.json b/src/locale/en.json index e9d34f2..cc0a849 100644 --- a/src/locale/en.json +++ b/src/locale/en.json @@ -20,15 +20,6 @@ "new_content": "New version available!", "later": "See later", "reload": "Reload app" - }, - - "menu": { - "contact": "Contact", - "profile": "Profil", - "contacts list": "contacts list", - "messages": "Messages", - "correspondence": "Correspondence", - "chat": "Chat", - "video conferencing": "Video conferencing" } + } diff --git a/src/locale/fr.json b/src/locale/fr.json index 4cfa5a5..e59ecb4 100644 --- a/src/locale/fr.json +++ b/src/locale/fr.json @@ -20,15 +20,7 @@ "new_content": "Nouvelle version disponible !", "later": "Plus tard", "reload": "Recharger" - }, - - "menu": { - "contact": "Contact", - "profile ": "Profil", - "contacts list": "Liste des contacts", - "messages": "Messages", - "correspondence": "Correspondence", - "chat": "Chat", - "video conferencing": "Visioconférence" } + + } diff --git a/src/nervtn-routes.js b/src/nervtn-routes.js index c212ea0..c8d25a4 100644 --- a/src/nervtn-routes.js +++ b/src/nervtn-routes.js @@ -7,7 +7,7 @@ const Apps = () => import('./components/NervTNApps.vue'); const Dashboard = () => import('./components/Dashboard.vue'); const Chat = () => import('./components/message/Message.vue'); const Correspondance = () => import('./components/message/Correspondance.vue'); -const Profil = () =>import('./components/contact/Profil.vue'); +const Profil = () =>import('./components/contact/Profile.vue'); const routes = [