summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar liruifengv <liruifeng1024@gmail.com> 2024-04-12 15:07:07 +0800
committerGravatar GitHub <noreply@github.com> 2024-04-12 08:07:07 +0100
commit17c2bb1aad7eb1eb5a0dcb8d5ea5be24abcdddc7 (patch)
tree8ea9e64d350a7b7a6b7442f9b1874660d725915b
parented2f4aa1227fb2e967e9b3e2a6187b0f522aa8af (diff)
downloadastro-17c2bb1aad7eb1eb5a0dcb8d5ea5be24abcdddc7.tar.gz
astro-17c2bb1aad7eb1eb5a0dcb8d5ea5be24abcdddc7.tar.zst
astro-17c2bb1aad7eb1eb5a0dcb8d5ea5be24abcdddc7.zip
Fix typo in error message for IncorrectStrategyForI18n (#10768)
-rw-r--r--packages/astro/src/core/errors/errors-data.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts
index e18221c42..6cb22cc00 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;
/**