Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalaforge committed Dec 27, 2023
1 parent 3d16eaf commit e7f68df
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions docs/src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,21 @@ const docs = defineCollection({
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(),
}),
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.reminder': z.string(),
'challenge.footer.communityAnswers': z.string(),
'challenge.footer.authorAnswer': z.string(),
'challenge.footer.blogPost': z.string(),
})
.partial(),
}),
});

Expand Down

0 comments on commit e7f68df

Please sign in to comment.