Test internationalization

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle committed 2024-03-03 14:46:48 -08:00
1 parent d69a5e015f
commit 201c034da3
8 files changed
+133 -119

No files matched your search

+4 -1
View File
@@ -2,6 +2,7 @@ import type { Providers, HostingProvider, ProviderType } from "@site/src/types/p
import ReactMarkdown from "react-markdown";
import Admonition from '@theme/Admonition';
import React, { useState } from 'react';
import Translate from "@docusaurus/Translate";
export const noP = (props: { children: any; }) => {
const { children } = props;
@@ -66,7 +67,9 @@ export const ProviderSelector = () => {
{selectedProvider ? (
<ReactMarkdown>{selectedProvider.description}</ReactMarkdown>
) : (
<p>Select a provider to see specific installation instructions</p>
<p>
<Translate>Select a provider to see specific installation instructions</Translate>
</p>
)}
</Admonition>
</div>