Client - update card title on profile edition

This commit is contained in:
Sam 2021-10-20 13:31:45 +02:00
parent c92446ff39
commit c4eb9bdbf8
3 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div id="user-profile-edition"> <div id="user-profile-edition">
<Card> <Card>
<template #title>{{ t('user.PROFILE.EDITION') }}</template> <template #title>{{ t(`user.PROFILE.${tab}_EDITION`) }}</template>
<template #content> <template #content>
<UserProfileTabs <UserProfileTabs
:tabs="tabs" :tabs="tabs"

View File

@ -13,7 +13,6 @@
"BIRTH_DATE": "Birth date", "BIRTH_DATE": "Birth date",
"EDIT": "Edit profile", "EDIT": "Edit profile",
"EDIT_PREFERENCES": "Edit preferences", "EDIT_PREFERENCES": "Edit preferences",
"EDITION": "Profile edition",
"FIRST_NAME": "First name", "FIRST_NAME": "First name",
"FIRST_DAY_OF_WEEK": "First day of week", "FIRST_DAY_OF_WEEK": "First day of week",
"LANGUAGE": "Language", "LANGUAGE": "Language",
@ -21,8 +20,11 @@
"LOCATION": "Location", "LOCATION": "Location",
"MONDAY": "Monday", "MONDAY": "Monday",
"PICTURE": "Picture", "PICTURE": "Picture",
"PICTURE_EDITION": "Picture edition",
"PICTURE_UPDATE": "Update picture", "PICTURE_UPDATE": "Update picture",
"PICTURE_REMOVE": "Remove picture", "PICTURE_REMOVE": "Remove picture",
"PREFERENCES_EDITION": "Preferences edition",
"PROFILE_EDITION": "Profile edition",
"REGISTRATION_DATE": "Registration date", "REGISTRATION_DATE": "Registration date",
"SUNDAY": "Sunday", "SUNDAY": "Sunday",
"TABS": { "TABS": {

View File

@ -13,7 +13,6 @@
"BIRTH_DATE": "Date de naissance", "BIRTH_DATE": "Date de naissance",
"EDIT": "Modifier le profil", "EDIT": "Modifier le profil",
"EDIT_PREFERENCES": "Modifier les préférences", "EDIT_PREFERENCES": "Modifier les préférences",
"EDITION": "Mise à jour du profil",
"FIRST_DAY_OF_WEEK": "Premier jour de la semaine", "FIRST_DAY_OF_WEEK": "Premier jour de la semaine",
"FIRST_NAME": "Prénom", "FIRST_NAME": "Prénom",
"LANGUAGE": "Langue", "LANGUAGE": "Langue",
@ -21,8 +20,11 @@
"LOCATION": "Lieu", "LOCATION": "Lieu",
"MONDAY": "Lundi", "MONDAY": "Lundi",
"PICTURE": "Image de profil", "PICTURE": "Image de profil",
"PICTURE_EDITION": "Mise à jour de l'image de profil",
"PICTURE_UPDATE": "Mettre à jour l'image", "PICTURE_UPDATE": "Mettre à jour l'image",
"PICTURE_REMOVE": "Supprimer", "PICTURE_REMOVE": "Supprimer",
"PREFERENCES_EDITION": "Mise à jour des préférences",
"PROFILE_EDITION": "Mise à jour du profil",
"REGISTRATION_DATE": "Date d'inscription", "REGISTRATION_DATE": "Date d'inscription",
"SUNDAY": "Dimanche", "SUNDAY": "Dimanche",
"TABS": { "TABS": {