Skip to content

Commit

Permalink
Fix typo in error message for IncorrectStrategyForI18n (#10768)
Browse files Browse the repository at this point in the history
  • Loading branch information
liruifengv authored Apr 12, 2024
1 parent ed2f4aa commit 17c2bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/core/errors/errors-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ export const IncorrectStrategyForI18n = {
name: 'IncorrectStrategyForI18n',
title: "You can't use the current function with the current strategy",
message: (functionName: string) =>
`The function \`${functionName}\' can only be used when the \`i18n.routing.strategy\` is set to \`"manual"\`.`,
`The function \`${functionName}\` can only be used when the \`i18n.routing.strategy\` is set to \`"manual"\`.`,
} satisfies ErrorData;

/**
Expand Down

0 comments on commit 17c2bb1

Please sign in to comment.