Skip to content

Commit

Permalink
chore: fix translations
Browse files Browse the repository at this point in the history
  • Loading branch information
younes200 committed Dec 16, 2024
1 parent 1337934 commit c757bf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions apps/frontend/src/components/chapters/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ export const ChapterFormContent: React.FC<
const utils = trpc.useUtils();
const createMutation = trpc.chapter.create.useMutation();

const { t } = useTranslation();

const validationSchema = Yup.object().shape({
startTime: Yup.number(),
stopTime: Yup.number(),
Expand Down
3 changes: 2 additions & 1 deletion apps/frontend/src/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,5 +262,6 @@
"chapters.form.reset.confirm.description": "Etes-vous sûr de vouloir réinitialiser tous les chapitres ?",
"chapters.form.button.add": " Ajouter un chapitre",
"chapters.form.button.reset": "Réinitialiser les chapitres",
"chapters.form.title.placeholder": "Titre du chapitre"
"chapters.form.title.placeholder": "Titre du chapitre",
"chapters.form.description.placeholder": "Description du chapitre"
}

0 comments on commit c757bf2

Please sign in to comment.