diff --git a/docs-templates/api/dictionary/use-translations.mdx b/docs-templates/api/dictionary/use-translations.mdx index 13275afc..3d842ce3 100644 --- a/docs-templates/api/dictionary/use-translations.mdx +++ b/docs-templates/api/dictionary/use-translations.mdx @@ -125,7 +125,7 @@ export default function TranslateGreeting() { ### Using prefixes We can use prefixes to only translate a subset of the dictionary. -```jsx title="dictionary.jsx" copy +```jsx title="dictionary.jsx" copy const dictionary = { prefix1: { // [!code highlight] prefix2: { // [!code highlight] diff --git a/docs/en-US/next/api/dictionary/get-translations.mdx b/docs/en-US/next/api/dictionary/get-translations.mdx index 2a569573..967fec8e 100644 --- a/docs/en-US/next/api/dictionary/get-translations.mdx +++ b/docs/en-US/next/api/dictionary/get-translations.mdx @@ -126,7 +126,7 @@ export default async function TranslateGreeting() { ### Using prefixes We can use prefixes to only fetch a subset of the dictionary. -```jsx title="dictionary.jsx" copy +```jsx title="dictionary.jsx" copy const dictionary = { prefix1: { // [!code highlight] prefix2: { // [!code highlight] diff --git a/docs/en-US/next/api/dictionary/use-translations.mdx b/docs/en-US/next/api/dictionary/use-translations.mdx index 26e75d34..e9e8a317 100644 --- a/docs/en-US/next/api/dictionary/use-translations.mdx +++ b/docs/en-US/next/api/dictionary/use-translations.mdx @@ -120,7 +120,7 @@ export default async function TranslateGreeting() { ### Using prefixes We can use prefixes to only translate a subset of the dictionary. -```jsx title="dictionary.jsx" copy +```jsx title="dictionary.jsx" copy const dictionary = { prefix1: { // [!code highlight] prefix2: { // [!code highlight]