Test localization

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle committed 2024-03-03 21:09:13 -08:00
1 parent 05c4ec92fc
commit f05ceaaae3
14 files changed
+1245 -18

No files matched your search

+4 -4
View File
@@ -19,7 +19,7 @@ const FeatureList: FeatureItem[] = [
image: Crossplatform2Img,
description: (
<>
<Translate id="homepage.features.1">Geyser is a program that allows Minecraft: Bedrock Edition clients to join Minecraft: Java Edition servers, allowing for true crossplay between both editions of the game. The ultimate goal of this project is to allow Minecraft: Bedrock Edition users to join Minecraft: Java Edition servers as seamlessly as possible.</Translate>
<Translate id="components.homepage_features.1">Geyser is a program that allows Minecraft: Bedrock Edition clients to join Minecraft: Java Edition servers, allowing for true crossplay between both editions of the game. The ultimate goal of this project is to allow Minecraft: Bedrock Edition users to join Minecraft: Java Edition servers as seamlessly as possible.</Translate>
</>
),
},
@@ -28,7 +28,7 @@ const FeatureList: FeatureItem[] = [
image: Crossplatform1Img,
description: (
<>
<Translate id='homepage.features.2'>Geyser acts as a translator which sits between the Bedrock client and the Java server. It takes data from the Bedrock client and translates it into a format the Java server understands and vice versa. Geyser works with any modern Minecraft version and can be installed either as a plugin or ran as a standalone program.</Translate>
<Translate id='components.homepage_features.features.2'>Geyser acts as a translator which sits between the Bedrock client and the Java server. It takes data from the Bedrock client and translates it into a format the Java server understands and vice versa. Geyser works with any modern Minecraft version and can be installed either as a plugin or ran as a standalone program.</Translate>
</>
),
},
@@ -37,9 +37,9 @@ const FeatureList: FeatureItem[] = [
image: Crossplatform0Img,
description: (
<>
<Translate id='homepage.features.3'>Geyser can be joined from Bedrock clients on Windows 10/11, iOS, Android, and even consoles (more info here). Geyser works with a wide array of hosting providers, but can also be used as its own standalone proxy to join any Minecraft server!</Translate>
<Translate id='components.homepage_features.features.3'>Geyser can be joined from Bedrock clients on Windows 10/11, iOS, Android, and even consoles (more info here). Geyser works with a wide array of hosting providers, but can also be used as its own standalone proxy to join any Minecraft server!</Translate>
<Translate id='homepage.features.4'>If you are a server owner, you can install our Floodgate plugin which allows Xbox Live authenticated Bedrock users to join without a Java Edition account!</Translate>
<Translate id='components.homepage_features.features.4'>If you are a server owner, you can install our Floodgate plugin which allows Xbox Live authenticated Bedrock users to join without a Java Edition account!</Translate>
</>
),
},
+2 -2
View File
@@ -55,12 +55,12 @@ export const ProviderSelector = () => {
</option>
))}
</select>
<Admonition type="tip" title={<Translate id='providers.instructions'>Provider Instructions</Translate>}>
<Admonition type="tip" title={<Translate id='components.provider.instructions'>Provider Instructions</Translate>}>
{selectedProvider ? (
<ReactMarkdown>{selectedProvider.description}</ReactMarkdown>
) : (
<p>
<Translate id='providers.select'>Select a provider to see specific installation instructions</Translate>
<Translate id='components.provider.select'>Select a provider to see specific installation instructions</Translate>
</p>
)}
</Admonition>
+7 -9
View File
@@ -15,15 +15,14 @@ import StandaloneIcon from '@site/static/img/icons/geyser.png';
import PlatformIcon from '@site/src/components/PlatformIcon';
import { ProjectDownload } from '@site/src/components/ProjectDownload';
import { Collapsibles, Collapsible } from '@site/src/components/Collapsibles';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import Translate from '@docusaurus/Translate';
const DownloadPage: React.FC = () => (
<>
<HeroBanner
title="Download"
subheading="Download the latest versions of our various projects."
title={<Translate id='pages.download.title'>Download</Translate>}
subheading={<Translate id='pages.download.subheading'>Download the latest versions of our various projects.</Translate>}
backgroundImage={HeroBackground}
/>
@@ -31,7 +30,7 @@ const DownloadPage: React.FC = () => (
<TabItem value="geyser" label="Geyser" default>
<ProjectDownload
projectId="geyser"
description={<Translate>A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.</Translate>}
description={<Translate id='pages.download.description.geyser'>A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.</Translate>}
setup="/geyser/setup"
downloadsInfo={{
bungeecord: <PlatformIcon svg={WaterfallBungeeCordIcon} text="BungeeCord" />,
@@ -47,7 +46,7 @@ const DownloadPage: React.FC = () => (
<TabItem value="floodgate" label="Floodgate">
<ProjectDownload
projectId="floodgate"
description={<Translate>Hybrid mode plugin to allow for connections from Geyser to join online mode servers.</Translate>}
description={<Translate id='pages.download.description.floodgate'>Hybrid mode plugin to allow for connections from Geyser to join online mode servers.</Translate>}
setup="/floodgate/setup"
downloadsInfo={{
bungee: <PlatformIcon svg={WaterfallBungeeCordIcon} text="BungeeCord" />,
@@ -60,7 +59,7 @@ const DownloadPage: React.FC = () => (
<Collapsibles>
<Collapsible
title='GeyserConnect'
subtitle={<Translate>A plugin to allow for Geyser players to connect to your server without needing to use a proxy.</Translate>}
subtitle={<Translate id='pages.download.description.geyserconnect'>A plugin to allow for Geyser players to connect to your server without needing to use a proxy.</Translate>}
inner={
<ProjectDownload
projectId="geyserconnect"
@@ -74,7 +73,7 @@ const DownloadPage: React.FC = () => (
/>
<Collapsible
title='GeyserOptionalPack'
subtitle={<Translate>An optional Bedrock resource pack to extend Geyser functionality.</Translate>}
subtitle={<Translate id='pages.download.description.geyseroptionalpack'>An optional Bedrock resource pack to extend Geyser functionality.</Translate>}
inner={
<ProjectDownload
projectId="geyseroptionalpack"
@@ -93,10 +92,9 @@ const DownloadPage: React.FC = () => (
);
export default function Download(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={`Download from ${siteConfig.title}`}
title={`Geyser Downloads`}
description="Download the latest versions of our various projects."
>
<main>
+2 -2
View File
@@ -16,10 +16,10 @@ function HomepageHeader() {
<img src={HeroImage} alt="Geyser Logo" className={styles.heroImageBackgroundBlur}/>
<div className={styles.textSection}>
<Heading as="h1" className="hero__title">
<Translate>Revolutionize Your Minecraft Server</Translate>
<Translate id='pages.main.title'>Revolutionize Your Minecraft Server</Translate>
</Heading>
<p className="hero__subtitle">
<Translate>Enable clients from Minecraft Bedrock Edition to join your Minecraft Java server</Translate>
<Translate id='pages.main.subtitle'>Enable clients from Minecraft Bedrock Edition to join your Minecraft Java server</Translate>
</p>
</div>
</div>