From fa34249be3ad56c04a3b2d128b967e2d693ba0f0 Mon Sep 17 00:00:00 2001 From: liruifengv Date: Fri, 12 Apr 2024 14:12:16 +0800 Subject: [PATCH] Fix typo in error message for IncorrectStrategyForI18n --- packages/astro/src/core/errors/errors-data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index e18221c428f1..6cb22cc00e99 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -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; /**