From 6194ff3019ed18539ff966553266e0d33b91ee44 Mon Sep 17 00:00:00 2001 From: Babak Farkhoopak <44144724+babakfp@users.noreply.github.com> Date: Thu, 25 Apr 2024 07:34:42 +0330 Subject: [PATCH] Fixed typos --- src/client/app/router.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/app/router.ts b/src/client/app/router.ts index 33c56577..68efb2de 100644 --- a/src/client/app/router.ts +++ b/src/client/app/router.ts @@ -171,17 +171,17 @@ export function createRouter( if (!value.fallback) continue if (value.fallback === 'root') { throw new Error( - `Invalid Vitepress Config: A locale (${key}), cannot fallback to (root).` + `Invalid VitePress Config: A locale (${key}), cannot fall back to (root).` ) } if (key === value.fallback) { throw new Error( - `Invalid Vitepress Config: A locale (${key}), cannot have a fallback to itself.` + `Invalid VitePress Config: A locale (${key}), cannot have a fallback to itself.` ) } if (!Object.keys(locales).includes(value.fallback)) { throw new Error( - `Invalid Vitepress Config: A locale (${key}), cannot have a fallback to a non existing locale.` + `Invalid VitePress Config: A locale (${key}), cannot have a fallback to a non existing locale.` ) } }