all repos — caroster @ b4c80b6740c2e6f559b26e2786f5efede878c6c7

[Octree] Group carpool to your event https://caroster.io

fix: :globe_with_meridians: Fix locals for Caroster Plus creation

#574
Tim Izzo tim@octree.ch
Thu, 20 Mar 2025 15:35:22 +0100
commit

b4c80b6740c2e6f559b26e2786f5efede878c6c7

parent

3fcb7cb7b12d3469697dbfef17dec09548f23617

M frontend/containers/EventTypeCard/PlusAction.tsxfrontend/containers/EventTypeCard/PlusAction.tsx

@@ -60,7 +60,7 @@ };

return ( <Button fullWidth variant="outlined" onClick={onClick}> - {isAuthenticated ? t`event.creation.plus.button` : t`signin.title`} + {t`event.creation.plus.button`} </Button> ); };
M frontend/containers/EventTypeCard/index.tsxfrontend/containers/EventTypeCard/index.tsx

@@ -2,7 +2,7 @@ import {Box, Paper, Typography} from '@mui/material';

import {useTranslation} from 'next-i18next'; import BasicAction from './BasicAction'; import PlusAction from './PlusAction'; -import {Module, useModuleQuery} from '../../generated/graphql'; +import {useModuleQuery} from '../../generated/graphql'; type Props = { type: 'basic' | 'plus';
M frontend/locales/en.jsonfrontend/locales/en.json

@@ -56,7 +56,7 @@ "event.creation.basic.button": "Create my Caroster Basic",

"event.creation.plus.title": "Caroster Plus", "event.creation.plus.subtitle": "Perfect for large events", "event.creation.plus.description": "Are you organizing an event with more than 100 participants? Caroster Plus is the solution for you! Offering a secure platform with advanced features, it’s the perfect choice for large-scale carpooling.", - "event.creation.plus.button": "Go to payment options", + "event.creation.plus.button": "Create my Caroster Plus", "event.creation.plus.fromPrice": "from", "event.details": "Information", "event.details.modify": "Modify",
M frontend/locales/fr.jsonfrontend/locales/fr.json

@@ -52,7 +52,7 @@ "event.creation.basic.button": "Créer mon Caroster Basic ",

"event.creation.plus.title": "Caroster Plus", "event.creation.plus.subtitle": "Parfait pour les grands événements", "event.creation.plus.description": "Vous organisez un événement de plus de 100 participants ? Caroster Plus est fait pour vous ! Offrant une plateforme sécurisée avec des options avancées, c’est la solution idéale pour covoiturer à grande échelle.", - "event.creation.plus.button": "Vers les options de paiement", + "event.creation.plus.button": "Créer mon Caroster Plus", "event.creation.plus.fromPrice": "dès", "event.details": "Informations", "event.details.modify": "Modifier",