From 17c2bb1aad7eb1eb5a0dcb8d5ea5be24abcdddc7 Mon Sep 17 00:00:00 2001 From: liruifengv Date: Fri, 12 Apr 2024 15:07:07 +0800 Subject: [PATCH] Fix typo in error message for IncorrectStrategyForI18n (#10768) --- 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; /**