From 3c5fc13e5f1f9a6b9700496233153b9f8b17531a Mon Sep 17 00:00:00 2001 From: Rafal Chlodnicki Date: Sun, 18 Jul 2021 23:40:33 +0200 Subject: [PATCH] chore(docs): fix grammar --- docs/content/en/options-reference.md | 2 +- docs/content/es/options-reference.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/en/options-reference.md b/docs/content/en/options-reference.md index 97841f8e7..c1eabc4b7 100644 --- a/docs/content/en/options-reference.md +++ b/docs/content/en/options-reference.md @@ -163,7 +163,7 @@ Supported properties: - `alwaysRedirect` (default: `false`) - Set to always redirect to the value stored in the cookie, not just on first visit. - `fallbackLocale` (default: `null`) - If none of the locales match the browser's locale, use this one as a fallback. - `onlyOnRoot` (default: `false`) - Set to `true` (recommended for improved SEO) to only attempt to detect the browser locale on the root path (`/`) of the site. Only effective when using strategy other than `'no_prefix'`. -- `onlyOnNoPrefix` (default: `false`) - This is a more permissive variant of `onlyOnRoot` that will allow attempt to detect the browser locale on the root path (`/`) and also on paths that have no locale prefix (like `/foo`). Only effective when `onlyOnRoot` is not enabled and using strategy other than `'no_prefix'`. +- `onlyOnNoPrefix` (default: `false`) - This is a more permissive variant of `onlyOnRoot` that will attempt to detect the browser locale on the root path (`/`) and also on paths that have no locale prefix (like `/foo`). Only effective when `onlyOnRoot` is not enabled and using strategy other than `'no_prefix'`. - `useCookie` (default: `true`) - If enabled, a cookie is set once the user has been redirected to browser's preferred locale, to prevent subsequent redirections. Set to `false` to redirect every time. - `cookieKey` (default: `'i18n_redirected'`) - Cookie name. - `cookieDomain` (default: `null`) - Set to override the default domain of the cookie. Defaults to the **host** of the site. diff --git a/docs/content/es/options-reference.md b/docs/content/es/options-reference.md index f4d3228c4..103d43933 100644 --- a/docs/content/es/options-reference.md +++ b/docs/content/es/options-reference.md @@ -163,7 +163,7 @@ Supported properties: - `alwaysRedirect` (default: `false`) - Set to always redirect to the value stored in the cookie, not just on first visit. - `fallbackLocale` (default: `null`) - If none of the locales match the browser's locale, use this one as a fallback. - `onlyOnRoot` (default: `false`) - Set to `true` (recommended for improved SEO) to only attempt to detect the browser locale on the root path (`/`) of the site. Only effective when using strategy other than `'no_prefix'`. -- `onlyOnNoPrefix` (default: `false`) - This is a more permissive variant of `onlyOnRoot` that will allow attempt to detect the browser locale on the root path (`/`) and also on paths that have no locale prefix (like `/foo`). Only effective when `onlyOnRoot` is not enabled and using strategy other than `'no_prefix'`. +- `onlyOnNoPrefix` (default: `false`) - This is a more permissive variant of `onlyOnRoot` that will attempt to detect the browser locale on the root path (`/`) and also on paths that have no locale prefix (like `/foo`). Only effective when `onlyOnRoot` is not enabled and using strategy other than `'no_prefix'`. - `useCookie` (default: `true`) - If enabled, a cookie is set once the user has been redirected to browser's preferred locale, to prevent subsequent redirections. Set to `false` to redirect every time. - `cookieKey` (default: `'i18n_redirected'`) - Cookie name. - `cookieDomain` (default: `null`) - Set to override the default domain of the cookie. Defaults to the **host** of the site.