diff options
author | 2024-04-12 15:07:07 +0800 | |
---|---|---|
committer | 2024-04-12 08:07:07 +0100 | |
commit | 17c2bb1aad7eb1eb5a0dcb8d5ea5be24abcdddc7 (patch) | |
tree | 8ea9e64d350a7b7a6b7442f9b1874660d725915b | |
parent | ed2f4aa1227fb2e967e9b3e2a6187b0f522aa8af (diff) | |
download | astro-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.ts | 2 |
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; /** |