chore(): add schema for new translations

This commit is contained in:
Eduardo Roth
2023-12-19 23:30:27 -06:00
parent de975194f5
commit 022d72296a

View File

@@ -39,9 +39,18 @@ const i18n = defineCollection({
type: 'data', type: 'data',
schema: i18nSchema({ schema: i18nSchema({
extend: z.object({ extend: z.object({
'page.title.challenge': z.string(),
'author.createdBy': z.string(), 'author.createdBy': z.string(),
'buttons.star': z.string(), 'buttons.star': z.string(),
'buttons.sponsor': z.string(), 'buttons.sponsor': z.string(),
'challenge.footer.note': z.string(),
'challenge.footer.running': z.string(),
'challenge.footer.start': z.string(),
'challenge.footer.answer': z.string(),
'challenge.footer.reminder': z.string(),
'challenge.footer.communityAnswers': z.string(),
'challenge.footer.authorAnswer': z.string(),
'challenge.footer.blogPost': z.string(),
}), }),
}), }),
}); });