Merged PR 113: i18n into main
This commit is contained in:
@@ -1,5 +1,54 @@
|
|||||||
{
|
{
|
||||||
|
"general": {
|
||||||
|
"yes": "yes",
|
||||||
|
"no": "no"
|
||||||
|
},
|
||||||
|
"banner": {
|
||||||
|
"subscription": "Subscriptions"
|
||||||
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"allRightsReserved": "All rights reserved"
|
"allRightsReserved": "All rights reserved"
|
||||||
|
},
|
||||||
|
"sitemenu": {
|
||||||
|
"HelpUs": "Help us",
|
||||||
|
"About": "About",
|
||||||
|
"ContentPolicy": "Content Policy",
|
||||||
|
"CreatorGuide": "Creator Guide",
|
||||||
|
"FAQ": "FAQ",
|
||||||
|
"HelpAndContact": "Help and Contact",
|
||||||
|
"Pricing": "Pricing",
|
||||||
|
"TermsAndConditions": "Terms and conditions"
|
||||||
|
},
|
||||||
|
"sidebar": {
|
||||||
|
"subscriptionTitle": "Subscription"
|
||||||
|
},
|
||||||
|
"subscribebutton": {
|
||||||
|
"subscribe": "Subscribe",
|
||||||
|
"unsubscribe": "Unsubscribe"
|
||||||
|
},
|
||||||
|
"profilemenu": {
|
||||||
|
"creator": "Creator",
|
||||||
|
"user": "User",
|
||||||
|
"accountmanagement": "Account Management",
|
||||||
|
"security": "security"
|
||||||
|
},
|
||||||
|
"header": {
|
||||||
|
"myprofile": "My profile",
|
||||||
|
"wallet": "Wallet",
|
||||||
|
"Signout": "Sign out"
|
||||||
|
},
|
||||||
|
"message": {
|
||||||
|
"edit" : "Edit",
|
||||||
|
"delete": "Delete",
|
||||||
|
"report": "Report",
|
||||||
|
"yourcomment": "Your comment..."
|
||||||
|
},
|
||||||
|
"contentCard": {
|
||||||
|
"commenttitle": "comments",
|
||||||
|
"edit" : "Edit",
|
||||||
|
"delete" : "delete",
|
||||||
|
"report" : "report",
|
||||||
|
"deletecontenttitle": "Delete this content?",
|
||||||
|
"deeletecontentwarning": "Are you sure you want to delete the content?"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,54 @@
|
|||||||
{
|
{
|
||||||
|
"general": {
|
||||||
|
"yes": "oui",
|
||||||
|
"no": "non"
|
||||||
|
},
|
||||||
|
"banner": {
|
||||||
|
"subscription": "Abonnés"
|
||||||
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"allRightsReserved": "Tout droits réservés"
|
"allRightsReserved": "Tout droits réservés"
|
||||||
|
},
|
||||||
|
"sitemenu": {
|
||||||
|
"HelpUs": "Aidez-nous",
|
||||||
|
"About": "À propos",
|
||||||
|
"ContentPolicy": "Politique de contenu",
|
||||||
|
"CreatorGuide": "Guide pour les créateurs",
|
||||||
|
"FAQ": "FAQ",
|
||||||
|
"HelpAndContact": "Aide & Contact",
|
||||||
|
"Pricing": "Frais",
|
||||||
|
"TermsAndConditions": "Conditions générales"
|
||||||
|
},
|
||||||
|
"sidebar": {
|
||||||
|
"subscriptionTitle": "Abonnements"
|
||||||
|
},
|
||||||
|
"subscribebutton": {
|
||||||
|
"subscribe": "S'abonner",
|
||||||
|
"unsubscribe": "Se désabonner"
|
||||||
|
},
|
||||||
|
"profilemenu": {
|
||||||
|
"creator": "Créateur",
|
||||||
|
"user": "utilisateur",
|
||||||
|
"accountmanagement": "Gestion de comptes",
|
||||||
|
"security": "Sécurité"
|
||||||
|
},
|
||||||
|
"header": {
|
||||||
|
"myprofile": "Mon profil",
|
||||||
|
"wallet": "PorteFeuille",
|
||||||
|
"Signout": "se déconnecter"
|
||||||
|
},
|
||||||
|
"message": {
|
||||||
|
"edit" : "Modifier",
|
||||||
|
"delete": "Effacer",
|
||||||
|
"report": "Signaler",
|
||||||
|
"yourcomment": "Votre commentaire..."
|
||||||
|
},
|
||||||
|
"contentCard": {
|
||||||
|
"commenttitle": "commentaires",
|
||||||
|
"edit" : "Modifier",
|
||||||
|
"delete" : "Effacer",
|
||||||
|
"report" : "signaler",
|
||||||
|
"deletecontenttitle": " Supprimer ce contenu?",
|
||||||
|
"deeletecontentwarning": "Êtes-vous sûr de vouloir supprimer le contenu?"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
}">
|
}">
|
||||||
<div class="flex items-center justify-between py-4 text-2xl font-bold border-b mb-2">
|
<div class="flex items-center justify-between py-4 text-2xl font-bold border-b mb-2">
|
||||||
<div class="flex-1 text-center">
|
<div class="flex-1 text-center">
|
||||||
Supprimer ce contenu ?
|
{{$t('contentCard.deletecontenttitle')}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<v-btn icon @click="openDeleteConfirmationModal = false" class="ml-auto mr-2" variant="text">
|
<v-btn icon @click="openDeleteConfirmationModal = false" class="ml-auto mr-2" variant="text">
|
||||||
|
|||||||
@@ -26,13 +26,13 @@
|
|||||||
</template>
|
</template>
|
||||||
<v-list>
|
<v-list>
|
||||||
<v-list-item v-if="creatorIsCurrentUser" @click="editContent">
|
<v-list-item v-if="creatorIsCurrentUser" @click="editContent">
|
||||||
<v-list-item-title>Modifier le contenu</v-list-item-title>
|
<v-list-item-title>{{$t('contentCard.edit')}}</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
<v-list-item v-if="creatorIsCurrentUser" @click="openDeleteConfirmationDialog">
|
<v-list-item v-if="creatorIsCurrentUser" @click="openDeleteConfirmationDialog">
|
||||||
<v-list-item-title>Effacer le contenu</v-list-item-title>
|
<v-list-item-title>{{$t('contentCard.delete')}}</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
<v-list-item @click="reportContent">
|
<v-list-item @click="reportContent">
|
||||||
<v-list-item-title>Reporter le contenu</v-list-item-title>
|
<v-list-item-title>{{$t('contentCard.report')}}</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
</v-list>
|
</v-list>
|
||||||
</v-menu>
|
</v-menu>
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'hidden': !messagesVisible}">
|
<div :class="{'hidden': !messagesVisible}">
|
||||||
<h2 class="font-sans font-semibold mt-2">Commentaires</h2>
|
<h2 class="font-sans font-semibold mt-2">{{ $t('contentCard.commenttitle') }}</h2>
|
||||||
<message-list
|
<message-list
|
||||||
:subject-id="props.content.id"
|
:subject-id="props.content.id"
|
||||||
:messages="messages"
|
:messages="messages"
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
}">
|
}">
|
||||||
<div class="flex items-center justify-between py-4 text-2xl font-bold border-b mb-2">
|
<div class="flex items-center justify-between py-4 text-2xl font-bold border-b mb-2">
|
||||||
<div class="flex-1 text-center">
|
<div class="flex-1 text-center">
|
||||||
Supprimer ce contenu ?
|
{{$t('contentCard.deletecontenttitle')}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<v-btn icon @click="openDeleteConfirmationModal = false" class="ml-auto mr-2" variant="text">
|
<v-btn icon @click="openDeleteConfirmationModal = false" class="ml-auto mr-2" variant="text">
|
||||||
@@ -120,17 +120,17 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=" mr-2">
|
<div class=" mr-2">
|
||||||
Êtes-vous sûr de vouloir supprimer le contenu ?
|
{{$t('contentCard.deeletecontentwarning')}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="py-2 space-x-3">
|
<div class="py-2 space-x-3">
|
||||||
<v-btn variant="flat"
|
<v-btn variant="flat"
|
||||||
@click="deleteContent()" class=" mt-5">
|
@click="deleteContent()" class=" mt-5">
|
||||||
Oui
|
{{$t('general.yes')}}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
<v-btn variant="outlined"
|
<v-btn variant="outlined"
|
||||||
@click="openDeleteConfirmationModal = false" class=" mt-5">
|
@click="openDeleteConfirmationModal = false" class=" mt-5">
|
||||||
Non
|
{{$t('general.no')}}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</div>
|
</div>
|
||||||
</v-card>
|
</v-card>
|
||||||
|
|||||||
@@ -26,13 +26,13 @@
|
|||||||
</template>
|
</template>
|
||||||
<v-list>
|
<v-list>
|
||||||
<v-list-item v-if="creatorIsCurrentUser" @click="editContent">
|
<v-list-item v-if="creatorIsCurrentUser" @click="editContent">
|
||||||
<v-list-item-title>Modifier le contenu</v-list-item-title>
|
<v-list-item-title>{{ $t('contentCard.edit') }}</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
<v-list-item v-if="creatorIsCurrentUser" @click="openDeleteConfirmationDialog">
|
<v-list-item v-if="creatorIsCurrentUser" @click="openDeleteConfirmationDialog">
|
||||||
<v-list-item-title>Effacer le contenu</v-list-item-title>
|
<v-list-item-title>{{ $t('contentCard.delete') }}</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
<v-list-item @click="reportContent">
|
<v-list-item @click="reportContent">
|
||||||
<v-list-item-title>Reporter le contenu</v-list-item-title>
|
<v-list-item-title>{{ $t('contentCard.report') }}</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
</v-list>
|
</v-list>
|
||||||
</v-menu>
|
</v-menu>
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'hidden': !messagesVisible}">
|
<div :class="{'hidden': !messagesVisible}">
|
||||||
<h2 class="font-sans font-semibold ">Commentaires</h2>
|
<h2 class="font-sans font-semibold ">{{ $t('contentCard.commenttitle') }}</h2>
|
||||||
<message-list
|
<message-list
|
||||||
:subject-id="props.content.id"
|
:subject-id="props.content.id"
|
||||||
:messages="messages"
|
:messages="messages"
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
}">
|
}">
|
||||||
<div class="flex items-center justify-between py-4 text-2xl font-bold border-b mb-2">
|
<div class="flex items-center justify-between py-4 text-2xl font-bold border-b mb-2">
|
||||||
<div class="flex-1 text-center">
|
<div class="flex-1 text-center">
|
||||||
Supprimer ce contenu ?
|
{{$t('contentCard.deletecontenttitle')}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<v-btn icon @click="openDeleteConfirmationModal = false" class="ml-auto mr-2" variant="text">
|
<v-btn icon @click="openDeleteConfirmationModal = false" class="ml-auto mr-2" variant="text">
|
||||||
@@ -120,17 +120,17 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=" mr-2">
|
<div class=" mr-2">
|
||||||
Êtes-vous sûr de vouloir supprimer le contenu ?
|
{{$t('contentCard.deeletecontentwarning')}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="py-2 space-x-3">
|
<div class="py-2 space-x-3">
|
||||||
<v-btn variant="flat"
|
<v-btn variant="flat"
|
||||||
@click="deleteContent()" class=" mt-5">
|
@click="deleteContent()" class=" mt-5">
|
||||||
Oui
|
{{$t('general.yes')}}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
<v-btn variant="outlined"
|
<v-btn variant="outlined"
|
||||||
@click="openDeleteConfirmationModal = false" class=" mt-5">
|
@click="openDeleteConfirmationModal = false" class=" mt-5">
|
||||||
Non
|
{{$t('general.no')}}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</div>
|
</div>
|
||||||
</v-card>
|
</v-card>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex h-[calc(100vh-118px)] -mt-2">
|
<div class="flex h-[calc(100vh-118px)] -mt-2 w-full">
|
||||||
<!-- Homemade carousel -->
|
<!-- Homemade carousel -->
|
||||||
<div class="flex-1 flex items-center justify-center bg-neutral-500 max-h-screen relative">
|
<div class="flex-1 flex items-center justify-center bg-neutral-500 max-h-screen relative">
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ function unsubscribeFromCreator() {
|
|||||||
@click="subscribeToCreator"
|
@click="subscribeToCreator"
|
||||||
color="white"
|
color="white"
|
||||||
>
|
>
|
||||||
S'ABONNER
|
{{ $t('subscribebutton.subscribe') }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ function unsubscribeFromCreator() {
|
|||||||
style="transition: background-color 0.3s ease;"
|
style="transition: background-color 0.3s ease;"
|
||||||
color="white"
|
color="white"
|
||||||
>
|
>
|
||||||
SE DESABONNER
|
{{ $t('subscribebutton.unsubscribe') }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<div class="ml-60 text-white mr-10">
|
<div class="ml-60 text-white mr-10">
|
||||||
<div>
|
<div>
|
||||||
<p class="capitalize text-3xl font-bold ">{{ creator.name }}</p>
|
<p class="capitalize text-3xl font-bold ">{{ creator.name }}</p>
|
||||||
<div>{{ creator.subscriberCount }} Abonnés</div>
|
<div>{{ creator.subscriberCount }} {{ $t('banner.subscription') }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<div class="flex justify-between">
|
<div class="flex justify-between">
|
||||||
<div>
|
<div>
|
||||||
<p class="capitalize text-2xl font-bold">{{ creator.name }}</p>
|
<p class="capitalize text-2xl font-bold">{{ creator.name }}</p>
|
||||||
<div>{{ creator.subscriberCount }} Abonnés</div>
|
<div>{{ creator.subscriberCount }} {{ $t('banner.subscription') }}</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<div class="flex flex-column text-white capitalize px-2 mt-1">
|
<div class="flex flex-column text-white capitalize px-2 mt-1">
|
||||||
<p class="capitalize text-2xl font-bold">{{ creator.name }}</p>
|
<p class="capitalize text-2xl font-bold">{{ creator.name }}</p>
|
||||||
<div>{{ creator.subscriberCount }} Abonnés</div>
|
<div>{{ creator.subscriberCount }} {{ $t('banner.subscription')}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex ml-auto text-right text-white text-lg px-3 mt-2">
|
<div class="flex ml-auto text-right text-white text-lg px-3 mt-2">
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<div class="ml-60 text-white mr-10">
|
<div class="ml-60 text-white mr-10">
|
||||||
<div>
|
<div>
|
||||||
<p class="capitalize text-3xl font-bold ">{{ creator.name }}</p>
|
<p class="capitalize text-3xl font-bold ">{{ creator.name }}</p>
|
||||||
<div>{{ creator.subscriberCount }} Abonnés</div>
|
<div>{{ creator.subscriberCount }} {{ $t('banner.subscription') }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,16 @@
|
|||||||
<v-app-bar-nav-icon @click.stop="sideBarStore.toggle()">
|
<v-app-bar-nav-icon @click.stop="sideBarStore.toggle()">
|
||||||
</v-app-bar-nav-icon>
|
</v-app-bar-nav-icon>
|
||||||
|
|
||||||
<RouterLink to="/">
|
<RouterLink class="d-sm-block d-md-block d-lg-none" to="/">
|
||||||
|
<v-img
|
||||||
|
src="/images/usersmedia/HutopyProfile/profilepictures/profileHutopyProfile01.png"
|
||||||
|
ref="popupButtonRef"
|
||||||
|
alt="Hutopy Logo"
|
||||||
|
class="w-10"
|
||||||
|
></v-img>
|
||||||
|
</RouterLink>
|
||||||
|
|
||||||
|
<RouterLink class="d-none d-lg-flex" to="/">
|
||||||
<v-img
|
<v-img
|
||||||
src="/medias/hutopy.png"
|
src="/medias/hutopy.png"
|
||||||
ref="popupButtonRef"
|
ref="popupButtonRef"
|
||||||
@@ -68,10 +77,9 @@
|
|||||||
<v-icon class="mx-2 cursor-pointer" @click.stop="toggleSearch">mdi-magnify</v-icon>
|
<v-icon class="mx-2 cursor-pointer" @click.stop="toggleSearch">mdi-magnify</v-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<v-icon class="mx-2">mdi-bell-outline</v-icon>
|
<v-btn variant="text" style="margin:0" @click="toggleLanguage">
|
||||||
|
{{ selectedLanguage === 'fr' ? 'Fr' : 'En' }}
|
||||||
<v-btn variant="text" @click="changeLanguage('fr')">Français</v-btn>
|
</v-btn>
|
||||||
<v-btn variant="text" class="mx-2" @click="changeLanguage('en')">English</v-btn>
|
|
||||||
|
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<v-menu open-on-hover>
|
<v-menu open-on-hover>
|
||||||
@@ -114,17 +122,17 @@
|
|||||||
|
|
||||||
<v-list-item class="nav-button">
|
<v-list-item class="nav-button">
|
||||||
<v-list-item-title>
|
<v-list-item-title>
|
||||||
<v-btn to="/profile" class="w-100" variant="plain">Mon profil</v-btn>
|
<v-btn to="/profile" class="w-100" variant="plain">{{ $t('header.myprofile') }}</v-btn>
|
||||||
</v-list-item-title>
|
</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
<v-list-item class="nav-button">
|
<v-list-item class="nav-button">
|
||||||
<v-list-item-title>
|
<v-list-item-title>
|
||||||
<v-btn to="/wallet" class="w-100" variant="plain">Portefeuille</v-btn>
|
<v-btn to="/wallet" class="w-100" variant="plain">{{ $t('header.wallet') }}</v-btn>
|
||||||
</v-list-item-title>
|
</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
<v-list-item class="nav-button">
|
<v-list-item class="nav-button">
|
||||||
<v-list-item-title>
|
<v-list-item-title>
|
||||||
<v-btn @click="authStore.logout" class="w-100" variant="plain">Déconnexion</v-btn>
|
<v-btn @click="authStore.logout" class="w-100" variant="plain">{{ $t('header.Signout') }}</v-btn>
|
||||||
</v-list-item-title>
|
</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
</template>
|
</template>
|
||||||
@@ -144,17 +152,16 @@ import {useAuthStore} from "@/stores/authStore.js";
|
|||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
const { locale } = useI18n();
|
const { locale } = useI18n();
|
||||||
const authStore = useAuthStore()
|
const authStore = useAuthStore();
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore();
|
||||||
const sideBarStore = useSideBarStore()
|
const sideBarStore = useSideBarStore();
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const searchQuery = ref("");
|
const searchQuery = ref("");
|
||||||
const showSearch = ref(false);
|
const showSearch = ref(false);
|
||||||
|
|
||||||
let selectedLanguage = ref('fr');
|
let selectedLanguage = ref(locale.value);
|
||||||
initializeLocale();
|
initializeLocale();
|
||||||
|
|
||||||
const onSearch = () => {
|
const onSearch = () => {
|
||||||
const query = searchQuery.value.trim();
|
const query = searchQuery.value.trim();
|
||||||
if (!query) {
|
if (!query) {
|
||||||
@@ -197,7 +204,8 @@ function initializeLocale(){
|
|||||||
locale.value = selectedLanguage.value;
|
locale.value = selectedLanguage.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeLanguage(lang) {
|
function toggleLanguage() {
|
||||||
|
const lang = selectedLanguage.value === 'fr' ? 'en' : 'fr';
|
||||||
locale.value = lang;
|
locale.value = lang;
|
||||||
selectedLanguage.value = lang;
|
selectedLanguage.value = lang;
|
||||||
localStorage.setItem('preferredLocale', lang);
|
localStorage.setItem('preferredLocale', lang);
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ const authStore = useAuthStore()
|
|||||||
<nav class="h-full grid grid-rows-[60px_1fr_auto]">
|
<nav class="h-full grid grid-rows-[60px_1fr_auto]">
|
||||||
<div></div>
|
<div></div>
|
||||||
|
|
||||||
<div v-if="authStore.isAuthenticated" class="pt-4 px-4">
|
<div v-if="authStore.isAuthenticated" class="pt-4 px-5">
|
||||||
<h2>Abonnements</h2>
|
{{ $t('sidebar.subscriptionTitle') }}
|
||||||
<subscription-list>
|
<subscription-list>
|
||||||
<template v-slot:default>
|
<template v-slot:default>
|
||||||
<span>Aucun abonnement</span>
|
<span>Aucun abonnement</span>
|
||||||
|
|||||||
@@ -17,17 +17,17 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="py-4">
|
<div class="py-4">
|
||||||
<RouterLink class="nav-button font-weight-bold" to="/join">Aidez-nous</RouterLink>
|
<RouterLink class="nav-button font-weight-bold" to="/join">{{ $t('sitemenu.HelpUs') }}</RouterLink>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-center ">
|
<div class="text-center ">
|
||||||
<RouterLink class="nav-button" to="/helpandcontact">Aide & Contact</RouterLink>
|
<RouterLink class="nav-button" to="/helpandcontact">{{ $t('sitemenu.HelpAndContact') }}</RouterLink>
|
||||||
<RouterLink class="nav-button" to="/faq">FAQ</RouterLink>
|
<RouterLink class="nav-button" to="/faq">{{ $t('sitemenu.FAQ') }}</RouterLink>
|
||||||
<RouterLink class="nav-button" to="/guideforcreators">Guide pour les créateurs</RouterLink>
|
<RouterLink class="nav-button" to="/guideforcreators">{{ $t('sitemenu.CreatorGuide') }}</RouterLink>
|
||||||
<RouterLink class="nav-button" to="/termsandconditions">Conditions générales</RouterLink>
|
<RouterLink class="nav-button" to="/termsandconditions">{{ $t('sitemenu.TermsAndConditions') }}</RouterLink>
|
||||||
<RouterLink class="nav-button" to="/contentpolicy">Politique de Contenu</RouterLink>
|
<RouterLink class="nav-button" to="/contentpolicy">{{ $t('sitemenu.ContentPolicy') }}</RouterLink>
|
||||||
<RouterLink class="nav-button" to="/about">À Propos</RouterLink>
|
<RouterLink class="nav-button" to="/about">{{ $t('sitemenu.About') }}</RouterLink>
|
||||||
<RouterLink class="nav-button" to="/pricing">Frais</RouterLink>
|
<RouterLink class="nav-button" to="/pricing">{{ $t('sitemenu.Pricing') }}</RouterLink>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -35,13 +35,13 @@
|
|||||||
</template>
|
</template>
|
||||||
<v-list>
|
<v-list>
|
||||||
<v-list-item @click="editMessage(message)">
|
<v-list-item @click="editMessage(message)">
|
||||||
<v-list-item-title>Edit</v-list-item-title>
|
<v-list-item-title>{{ $t('message.edit') }}</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
<v-list-item @click="deleteMessage(message)">
|
<v-list-item @click="deleteMessage(message)">
|
||||||
<v-list-item-title>Delete</v-list-item-title>
|
<v-list-item-title>{{ $t('message.delete') }}</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
<v-list-item @click="reportMessage(message)">
|
<v-list-item @click="reportMessage(message)">
|
||||||
<v-list-item-title>Report</v-list-item-title>
|
<v-list-item-title>{{ $t('message.report') }}</v-list-item-title>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
</v-list>
|
</v-list>
|
||||||
</v-menu>
|
</v-menu>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
v-model="value"
|
v-model="value"
|
||||||
density="compact"
|
density="compact"
|
||||||
variant="underlined"
|
variant="underlined"
|
||||||
placeholder="Votre commentaire..."
|
:placeholder="$t('message.yourcomment')"
|
||||||
hide-details
|
hide-details
|
||||||
auto-grow
|
auto-grow
|
||||||
rows="1"
|
rows="1"
|
||||||
@@ -72,6 +72,7 @@ const props = defineProps({
|
|||||||
|
|
||||||
const emits = defineEmits(['message-posted'])
|
const emits = defineEmits(['message-posted'])
|
||||||
|
|
||||||
|
|
||||||
const loginModal = ref(false);
|
const loginModal = ref(false);
|
||||||
const client = useClient()
|
const client = useClient()
|
||||||
const value = ref("")
|
const value = ref("")
|
||||||
|
|||||||
@@ -24,22 +24,22 @@
|
|||||||
|
|
||||||
<v-btn variant="text" @click="currentComponent = 'CreatorPage'">
|
<v-btn variant="text" @click="currentComponent = 'CreatorPage'">
|
||||||
<v-icon class="mr-2">mdi-file-edit-outline</v-icon>
|
<v-icon class="mr-2">mdi-file-edit-outline</v-icon>
|
||||||
Créateur
|
{{ $t('profilemenu.creator') }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
<v-btn variant="text" @click="currentComponent = 'PersonnalInfo'">
|
<v-btn variant="text" @click="currentComponent = 'PersonnalInfo'">
|
||||||
<v-icon class="mr-2">mdi-information</v-icon>
|
<v-icon class="mr-2">mdi-information</v-icon>
|
||||||
Utilisateur
|
{{ $t('profilemenu.user') }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
<v-btn variant="text" @click="currentComponent = 'ManageAccount'">
|
<v-btn variant="text" @click="currentComponent = 'ManageAccount'">
|
||||||
<v-icon class="mr-2">mdi-account</v-icon>
|
<v-icon class="mr-2">mdi-account</v-icon>
|
||||||
Gestion de Comptes
|
{{ $t('profilemenu.accountmanagement') }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
<v-btn variant="text" @click="currentComponent = 'AccountSecurity'">
|
<v-btn variant="text" @click="currentComponent = 'AccountSecurity'">
|
||||||
<v-icon class="mr-2">mdi-security</v-icon>
|
<v-icon class="mr-2">mdi-security</v-icon>
|
||||||
Sécurité
|
{{ $t('profilemenu.security') }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user