Is hutopy finally trilangual
This commit is contained in:
@@ -28,9 +28,9 @@
|
||||
<script setup>
|
||||
import {ref} from 'vue';
|
||||
import {useClient} from "@/plugins/api.js";
|
||||
import { useTranslations } from "@/translations/translations";
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
const t = useTranslations();
|
||||
const { t } = useI18n();
|
||||
const props = defineProps({
|
||||
email: {
|
||||
required: true,
|
||||
@@ -66,4 +66,21 @@ const cancel = () => {
|
||||
};
|
||||
</script>
|
||||
|
||||
<i18n>
|
||||
{
|
||||
"en": {
|
||||
"title": "Change your Email",
|
||||
"label": "Your email"
|
||||
},
|
||||
"fr": {
|
||||
"title": "Changez votre Courriel",
|
||||
"label": "Votre email"
|
||||
},
|
||||
"es": {
|
||||
"title": "Cambia tu correo electrónico",
|
||||
"label": "Tu correo electrónico"
|
||||
}
|
||||
}
|
||||
</i18n>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user