Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] MAJ de la metadescription du Centre d'aide(PIX-14175) #714

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion shared/pages/support/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<script setup>
const { client } = usePrismic();
const { locale: i18nLocale } = useI18n();
const { locale: i18nLocale, t } = useI18n();

/* I18n Routes */
defineI18nRoute({
Expand All @@ -33,6 +33,11 @@ defineI18nRoute({
},
});

useHead({
title: t('support.meta.title'),
meta: [{ name: 'description', content: t('support.meta.description') }],
});

/* Fetch personas list */
const { data } = await useAsyncData(async () => {
try {
Expand Down
6 changes: 5 additions & 1 deletion shared/translations/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export default {
'pix-certification-application': 'Application for accreditation as a certification center | Pix',
'pix-orga-higher-school-registration': 'Finalise slot inquiry | Pix Orga sup',
'pix-orga-registration': 'Request for information | Pix pro',
support: 'Support | Pix',
},
'preview-page-load': 'Preview page loading...',
'home-page-url': `${process.env.DOMAIN_ORG}/en/`,
Expand Down Expand Up @@ -80,5 +79,10 @@ export default {
'contact-title': "Can't find the answer to your question?",
'contact-cta': 'Contact the support',
},
meta: {
title: 'Help Center and Contact',
description:
'Any question? Do you need help? Check out our FAQ or contact our support using the form dedicated to your situation.',
},
},
};
6 changes: 5 additions & 1 deletion shared/translations/fr-be.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export default {
'pix-certification-application': "Demande d'agrément comme centre de certification | Pix",
'pix-orga-higher-school-registration': "Finaliser la demande d'espace | Pix Orga sup",
'pix-orga-registration': "Demande d'information | Pix pro",
support: 'Support | Pix',
},
'preview-page-load': 'Chargement de la page de prévisualisation...',
'home-page-url': `${process.env.DOMAIN_ORG}/fr-be/`,
Expand Down Expand Up @@ -81,5 +80,10 @@ export default {
'contact-title': 'Vous ne trouvez pas la réponse à votre question ?',
'contact-cta': 'Contacter le support',
},
meta: {
title: 'Centre d’aide et contact',
description:
'Une question ? Besoin d’aide ? Trouvez votre réponse en consultant notre FAQ ou contactez le support via le formulaire adapté à votre situation.',
},
},
};
6 changes: 5 additions & 1 deletion shared/translations/fr-fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export default {
'pix-certification-application': "Demande d'agrément comme centre de certification | Pix",
'pix-orga-higher-school-registration': "Finaliser la demande d'espace | Pix Orga sup",
'pix-orga-registration': "Demande d'information | Pix pro",
support: 'Support | Pix',
},
'preview-page-load': 'Chargement de la page de prévisualisation...',
'home-page-url': `${process.env.DOMAIN_FR}/`,
Expand Down Expand Up @@ -81,5 +80,10 @@ export default {
'contact-title': 'Vous ne trouvez pas la réponse à votre question ?',
'contact-cta': 'Contacter le support',
},
meta: {
title: 'Centre d’aide et contact',
description:
'Une question ? Besoin d’aide ? Trouvez votre réponse en consultant notre FAQ ou contactez le support via le formulaire adapté à votre situation.',
},
},
};
6 changes: 5 additions & 1 deletion shared/translations/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export default {
'pix-certification-application': "Demande d'agrément comme centre de certification | Pix",
'pix-orga-higher-school-registration': "Finaliser la demande d'espace | Pix Orga sup",
'pix-orga-registration': "Demande d'information | Pix pro",
support: 'Support | Pix',
},
form: {
'not-supported':
Expand Down Expand Up @@ -81,5 +80,10 @@ export default {
'contact-title': 'Vous ne trouvez pas la réponse à votre question ?',
'contact-cta': 'Contacter le support',
},
meta: {
title: 'Centre d’aide et contact',
description:
'Une question ? Besoin d’aide ? Trouvez votre réponse en consultant notre FAQ ou contactez le support via le formulaire adapté à votre situation.',
},
},
};
16 changes: 15 additions & 1 deletion shared/translations/nl-be.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export default {
'pix-certification-application': "Demande d'agrément comme centre de certification | Pix",
'pix-orga-higher-school-registration': "Finaliser la demande d'espace | Pix Orga sup",
'pix-orga-registration': "Demande d'information | Pix pro",
support: 'Support | Pix',
},
'preview-page-load': 'Chargement de la page de prévisualisation...',
'home-page-url': `${process.env.DOMAIN_ORG}/nl-be/`,
Expand All @@ -72,4 +71,19 @@ export default {
'change-locale-switcher': 'Changer la langue',
'change-locale-switcher-button': 'Changer',
},
back: 'Retour',
support: {
form: {
'required-info': "Tous les champs marqués d'une <span>*</span> sont obligatoires",
},
faq: {
'contact-title': 'Vous ne trouvez pas la réponse à votre question ?',
'contact-cta': 'Contacter le support',
},
meta: {
title: 'Helpcentrum & Contact',
description:
'Heb je een vraag? Heb je hulp nodig? Vind je antwoord in de FAQ of neem contact met ons op via het formulier dat is aangepast aan jouw situatie.',
},
},
};