diff --git a/src/locales/en.json b/src/locales/en.json index 32c947c..22e8d47 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1,5 +1,54 @@ { + "general": { + "yes": "yes", + "no": "no" + }, + "banner": { + "subscription": "Subscriptions" + }, "footer": { "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?" } } \ No newline at end of file diff --git a/src/locales/fr.json b/src/locales/fr.json index 3aed308..613d167 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -1,5 +1,54 @@ { + "general": { + "yes": "oui", + "no": "non" + }, + "banner": { + "subscription": "Abonnés" + }, "footer": { "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?" } } \ No newline at end of file diff --git a/src/views/contents/ContentCard.vue b/src/views/contents/ContentCard.vue index 150b553..aa6ea25 100644 --- a/src/views/contents/ContentCard.vue +++ b/src/views/contents/ContentCard.vue @@ -110,7 +110,7 @@ }">
- Supprimer ce contenu ? + {{$t('contentCard.deletecontenttitle')}}
diff --git a/src/views/contents/contentcards/NContentCard.vue b/src/views/contents/contentcards/NContentCard.vue index 96f396c..d2a187b 100644 --- a/src/views/contents/contentcards/NContentCard.vue +++ b/src/views/contents/contentcards/NContentCard.vue @@ -26,13 +26,13 @@ - Modifier le contenu + {{$t('contentCard.edit')}} - Effacer le contenu + {{$t('contentCard.delete')}} - Reporter le contenu + {{$t('contentCard.report')}} @@ -85,7 +85,7 @@
-

Commentaires

+

{{ $t('contentCard.commenttitle') }}

- Supprimer ce contenu ? + {{$t('contentCard.deletecontenttitle')}}
@@ -120,17 +120,17 @@
- Êtes-vous sûr de vouloir supprimer le contenu ? + {{$t('contentCard.deeletecontentwarning')}}
- Oui + {{$t('general.yes')}} - Non + {{$t('general.no')}}
diff --git a/src/views/contents/contentcards/SmContentCard.vue b/src/views/contents/contentcards/SmContentCard.vue index 8cbd59c..6ec31c0 100644 --- a/src/views/contents/contentcards/SmContentCard.vue +++ b/src/views/contents/contentcards/SmContentCard.vue @@ -26,13 +26,13 @@ - Modifier le contenu + {{ $t('contentCard.edit') }} - Effacer le contenu + {{ $t('contentCard.delete') }} - Reporter le contenu + {{ $t('contentCard.report') }} @@ -85,7 +85,7 @@
-

Commentaires

+

{{ $t('contentCard.commenttitle') }}

- Supprimer ce contenu ? + {{$t('contentCard.deletecontenttitle')}}
@@ -120,17 +120,17 @@
- Êtes-vous sûr de vouloir supprimer le contenu ? + {{$t('contentCard.deeletecontentwarning')}}
- Oui + {{$t('general.yes')}} - Non + {{$t('general.no')}}
diff --git a/src/views/contents/contentfullscreen/FullScreenContentMd.vue b/src/views/contents/contentfullscreen/FullScreenContentMd.vue index cc20836..f7090e5 100644 --- a/src/views/contents/contentfullscreen/FullScreenContentMd.vue +++ b/src/views/contents/contentfullscreen/FullScreenContentMd.vue @@ -1,5 +1,5 @@  @@ -44,7 +44,7 @@ function unsubscribeFromCreator() { style="transition: background-color 0.3s ease;" color="white" > - SE DESABONNER + {{ $t('subscribebutton.unsubscribe') }} diff --git a/src/views/creators/banner/bannerlower/BannerActionsLg.vue b/src/views/creators/banner/bannerlower/BannerActionsLg.vue index 930e68f..d040195 100644 --- a/src/views/creators/banner/bannerlower/BannerActionsLg.vue +++ b/src/views/creators/banner/bannerlower/BannerActionsLg.vue @@ -19,7 +19,7 @@

{{ creator.name }}

-
{{ creator.subscriberCount }} Abonnés
+
{{ creator.subscriberCount }} {{ $t('banner.subscription') }}
diff --git a/src/views/creators/banner/bannerlower/BannerActionsMd.vue b/src/views/creators/banner/bannerlower/BannerActionsMd.vue index 51985c9..eb2b887 100644 --- a/src/views/creators/banner/bannerlower/BannerActionsMd.vue +++ b/src/views/creators/banner/bannerlower/BannerActionsMd.vue @@ -19,7 +19,7 @@

{{ creator.name }}

-
{{ creator.subscriberCount }} Abonnés
+
{{ creator.subscriberCount }} {{ $t('banner.subscription') }}
diff --git a/src/views/creators/banner/bannerlower/BannerActionsSm.vue b/src/views/creators/banner/bannerlower/BannerActionsSm.vue index 497d680..a37f1fb 100644 --- a/src/views/creators/banner/bannerlower/BannerActionsSm.vue +++ b/src/views/creators/banner/bannerlower/BannerActionsSm.vue @@ -19,7 +19,7 @@

{{ creator.name }}

-
{{ creator.subscriberCount }} Abonnés
+
{{ creator.subscriberCount }} {{ $t('banner.subscription')}}
diff --git a/src/views/creators/banner/bannerlower/BannerActionsXl.vue b/src/views/creators/banner/bannerlower/BannerActionsXl.vue index 930e68f..d040195 100644 --- a/src/views/creators/banner/bannerlower/BannerActionsXl.vue +++ b/src/views/creators/banner/bannerlower/BannerActionsXl.vue @@ -19,7 +19,7 @@

{{ creator.name }}

-
{{ creator.subscriberCount }} Abonnés
+
{{ creator.subscriberCount }} {{ $t('banner.subscription') }}
diff --git a/src/views/main/Header.vue b/src/views/main/Header.vue index e75c0ac..cb7386f 100644 --- a/src/views/main/Header.vue +++ b/src/views/main/Header.vue @@ -7,7 +7,16 @@ - + + + + + mdi-magnify - mdi-bell-outline - - Français - English + + {{ selectedLanguage === 'fr' ? 'Fr' : 'En' }} +
@@ -114,17 +122,17 @@ - Mon profil + {{ $t('header.myprofile') }} - Portefeuille + {{ $t('header.wallet') }} - Déconnexion + {{ $t('header.Signout') }} @@ -136,25 +144,24 @@