@@ -17,20 +17,10 @@ import styles from './FAQsList.module.css'
1717
1818const faqCategoriesOrder : Record < FAQCategory , number > = {
1919 [ FAQCategory . QuestionsGenerales ] : 1 ,
20- [ FAQCategory . GeneralQuestions ] : 1 ,
21- [ FAQCategory . PreguntasGenerales ] : 1 ,
2220 [ FAQCategory . ComprendreLeCalcul ] : 2 ,
23- [ FAQCategory . AboutTheCalculation ] : 2 ,
24- [ FAQCategory . EntenderElCálculo ] : 2 ,
2521 [ FAQCategory . CestÉtonnant ] : 3 ,
26- [ FAQCategory . ItsSurprising ] : 3 ,
27- [ FAQCategory . EsSorprendente ] : 3 ,
2822 [ FAQCategory . IdéesPourAgir ] : 4 ,
29- [ FAQCategory . IdeasForAction ] : 4 ,
30- [ FAQCategory . IdeasParaActuar ] : 4 ,
3123 [ FAQCategory . ÀProposDesOutils ] : 5 ,
32- [ FAQCategory . AboutTheTools ] : 5 ,
33- [ FAQCategory . AcercaDeLasHerramientas ] : 5 ,
3424}
3525
3626const FaqsOverscreen = ( { filter, page, slug } : { filter : string ; slug : string } & Omit < FAQSListProps , 'faqs' > ) => {
@@ -115,7 +105,7 @@ const FaqsOverscreen = ({ filter, page, slug }: { filter: string; slug: string }
115105 < ul className = { styles . categories } >
116106 { faqsByCategory . map ( ( [ category , faqs ] ) => (
117107 < li key = { category } className = { styles . category } >
118- < h2 className = { styles . categoryTitle } > { category } </ h2 >
108+ < h2 className = { styles . categoryTitle } > { t ( category ) } </ h2 >
119109 < ul >
120110 { faqs . map ( ( faq ) => (
121111 < FAQ key = { faq . title } faq = { faq } page = { page } loadingText = { t ( 'loading' ) } withAnchor />
0 commit comments