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

View File

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

View File

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