mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-11 05:13:02 -05:00
chore(): add schema for new translations
This commit is contained in:
@@ -39,9 +39,18 @@ const i18n = defineCollection({
|
||||
type: 'data',
|
||||
schema: i18nSchema({
|
||||
extend: z.object({
|
||||
'page.title.challenge': z.string(),
|
||||
'author.createdBy': z.string(),
|
||||
'buttons.star': 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(),
|
||||
}),
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user