Skip to content

Commit

Permalink
indonesia translate
Browse files Browse the repository at this point in the history
translater the code, footer, nevbar,current, current.json, and get-started.mdx
  • Loading branch information
Mukhliy committed Dec 7, 2024
1 parent 3196103 commit b1bad79
Show file tree
Hide file tree
Showing 8 changed files with 5,430 additions and 14,113 deletions.
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const config = {
position: 'right',
dropdownItemsBefore: [
{ // [TODO]: replace this href to our google doc translate site
href: `${globalConfig.baseGithubUrl}/ASEAN-Docs#translation`,
href: `https://docs.google.com/spreadsheets/d/1SMr3F7tv2HIj4bqk0YDECXhJhLZVJPfs12SxFEVHm9c/edit?usp=sharing`,
label: 'Help Us Translate',
},
],
Expand Down Expand Up @@ -203,7 +203,7 @@ const config = {

i18n: {
defaultLocale: i18nConfig.defaultLocale,
locales: isDeployPreview? [i18nConfig.defaultLocale] : i18nConfig.registeredLocales,
locales: isDeployPreview ? [i18nConfig.defaultLocale] : ['en', 'id', 'fr'],
localeConfigs: i18nConfig.localeConfigs
},

Expand Down
204 changes: 120 additions & 84 deletions i18n/id/code.json

Large diffs are not rendered by default.

54 changes: 47 additions & 7 deletions i18n/id/docusaurus-plugin-content-docs-builder-guide/current.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"version.label": {
"message": "Next",
"message": "Berikutnya",
"description": "The label for version current"
},
"sidebar.docs_builderGuide.category.Building in BTE": {
"message": "Building in BTE",
"message": "Membangun di BTE",
"description": "The label for category Building in BTE in sidebar docs_builderGuide"
},
"sidebar.docs_builderGuide.category.Basic BTE Building": {
"message": "Basic BTE Building",
"message": "Bangunan Dasar BTE",
"description": "The label for category Basic BTE Building in sidebar docs_builderGuide"
},
"sidebar.docs_builderGuide.category.Advance Building": {
"message": "Advance Building",
"message": "Bangunan Lanjutan",
"description": "The label for category Advance Building in sidebar docs_builderGuide"
},
"sidebar.docs_builderGuide.category.Tips": {
Expand All @@ -24,15 +24,55 @@
"description": "The label for category World Edit in sidebar docs_builderGuide"
},
"sidebar.docs_builderGuide.category.Basic of World Edit": {
"message": "Basic of World Edit",
"message": "Dasar World Edit",
"description": "The label for category Basic of World Edit in sidebar docs_builderGuide"
},
"sidebar.docs_builderGuide.category.Basic Commands": {
"message": "Basic Commands",
"message": "Perintah Dasar",
"description": "The label for category Basic Commands in sidebar docs_builderGuide"
},
"sidebar.docs_builderGuide.category.Advanced Commands": {
"message": "Advanced Commands",
"message": "Perintah Lanjutan",
"description": "The label for category Advanced Commands in sidebar docs_builderGuide"
},
"sidebar.docs_builderGuide.category.Advanced Building": {
"message": "Advanced Building",
"description": "The label for category Advanced Building in sidebar docs_builderGuide"
},
"sidebar.docs_builderGuide.category.WorldEdit": {
"message": "WorldEdit",
"description": "The label for category WorldEdit in sidebar docs_builderGuide"
},
"sidebar.docs_builderGuide.category.Basics of WorldEdit": {
"message": "Basics of WorldEdit",
"description": "The label for category Basics of WorldEdit in sidebar docs_builderGuide"
},
"sidebar.docs_builderGuide.category.Advanced Concepts": {
"message": "Advanced Concepts",
"description": "The label for category Advanced Concepts in sidebar docs_builderGuide"
},
"sidebar.docs_builderGuide.doc.Intro to Builder Guide": {
"message": "Intro to Builder Guide",
"description": "The label for the doc item Intro to Builder Guide in sidebar docs_builderGuide, linking to the doc builder-guide"
},
"sidebar.docs_builderGuide.doc.Download the Modpack": {
"message": "Download the Modpack",
"description": "The label for the doc item Download the Modpack in sidebar docs_builderGuide, linking to the doc modpack"
},
"sidebar.docs_builderGuide.doc.Mods included in the Modpack": {
"message": "Mods included in the Modpack",
"description": "The label for the doc item Mods included in the Modpack in sidebar docs_builderGuide, linking to the doc modpackMods"
},
"sidebar.docs_builderGuide.doc.Color picking": {
"message": "Color picking",
"description": "The label for the doc item Color picking in sidebar docs_builderGuide, linking to the doc building/basic/ColorBasics"
},
"sidebar.docs_builderGuide.doc.BTE Practices": {
"message": "BTE Practices",
"description": "The label for the doc item BTE Practices in sidebar docs_builderGuide, linking to the doc building/basic/bteStandards"
},
"sidebar.docs_builderGuide.doc.Modpack commands": {
"message": "Modpack commands",
"description": "The label for the doc item Modpack commands in sidebar docs_builderGuide, linking to the doc building/basic/modpack-basics"
}
}
56 changes: 50 additions & 6 deletions i18n/id/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,70 @@
{
"version.label": {
"message": "Next",
"message": "Berikutnya",
"description": "The label for version current"
},
"sidebar.docs_intro.category.Getting Started": {
"message": "Getting Started",
"message": "Memulai",
"description": "The label for category Getting Started in sidebar docs_intro"
},
"sidebar.docs_intro.category.Building Your First Build": {
"message": "Building Your First Build",
"message": "Membangun Bangunan Pertama Anda",
"description": "The label for category Building Your First Build in sidebar docs_intro"
},
"sidebar.docs_intro.category.Plot System": {
"message": "Plot System",
"message": "Sistem Plot",
"description": "The label for category Plot System in sidebar docs_intro"
},
"sidebar.docs_intro.category.Become Official Builder": {
"message": "Become Official Builder",
"message": "Menjadi Builder Resmi",
"description": "The label for category Become Official Builder in sidebar docs_intro"
},
"sidebar.docs_intro.category.Exam Plot Process": {
"message": "Exam Plot Process",
"message": "Proses Plot Ujian",
"description": "The label for category Exam Plot Process in sidebar docs_intro"
},
"sidebar.docs_intro.doc.Visiting": {
"message": "Visiting",
"description": "The label for the doc item Visiting in sidebar docs_intro, linking to the doc getting-started/visiting"
},
"sidebar.docs_intro.doc.BTE Building": {
"message": "BTE Building",
"description": "The label for the doc item BTE Building in sidebar docs_intro, linking to the doc getting-started/building-first-build/bte-building"
},
"sidebar.docs_intro.doc.Where is your plot ?": {
"message": "Where is your plot ?",
"description": "The label for the doc item Where is your plot ? in sidebar docs_intro, linking to the doc getting-started/building-first-build/plot-system/getting-reference"
},
"sidebar.docs_intro.doc.Building on your plot": {
"message": "Building on your plot",
"description": "The label for the doc item Building on your plot in sidebar docs_intro, linking to the doc getting-started/building-first-build/plot-system/building-plot"
},
"sidebar.docs_intro.doc.Requirements": {
"message": "Requirements",
"description": "The label for the doc item Requirements in sidebar docs_intro, linking to the doc become-official/official-builder-req"
},
"sidebar.docs_intro.doc.Exam Plot": {
"message": "Exam Plot",
"description": "The label for the doc item Exam Plot in sidebar docs_intro, linking to the doc become-official/exam-plot"
},
"sidebar.docs_intro.doc.World Edit": {
"message": "World Edit",
"description": "The label for the doc item World Edit in sidebar docs_intro, linking to the doc become-official/exam-process/world-edit"
},
"sidebar.docs_intro.doc.Making Outline": {
"message": "Making Outline",
"description": "The label for the doc item Making Outline in sidebar docs_intro, linking to the doc become-official/exam-process/making-outline"
},
"sidebar.docs_intro.doc.Building Process": {
"message": "Building Process",
"description": "The label for the doc item Building Process in sidebar docs_intro, linking to the doc become-official/exam-process/building-process"
},
"sidebar.docs_intro.doc.Submitting Exam": {
"message": "Submitting Exam",
"description": "The label for the doc item Submitting Exam in sidebar docs_intro, linking to the doc become-official/submit-exam"
},
"sidebar.docs_intro.doc.F.A.Q": {
"message": "F.A.Q",
"description": "The label for the doc item F.A.Q in sidebar docs_intro, linking to the doc faq"
}
}
39 changes: 19 additions & 20 deletions i18n/id/docusaurus-plugin-content-docs/current/get-started.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Translate from '@docusaurus/Translate';

---
title: Get Started in ASEAN BuildTheEarth
id: get-started
Expand All @@ -22,11 +24,11 @@ import WelcomeImage from '@site/static/media/docs/intro/getting-started/aseanbte
<MakePair
pair_left = {
<div>
<h2 id="discord">1. Join our discord server!</h2><br/>
We use Discord as our community hub.<hr/>
<h2 id="discord"><Translate>1. Bergabunglah dengan server Discord kami!</Translate></h2><br/>
<Translate>Kami menggunakan Discord sebagai pusat komunitas kami.</Translate><hr/>
</div>
}
pair_right = { <InviteButton>Go to Discord Server </InviteButton> }
pair_right = { <InviteButton><Translate>Go to Discord Server</Translate></InviteButton> }
/>
<StraightLine bend="Right"/>

Expand All @@ -35,26 +37,24 @@ import WelcomeImage from '@site/static/media/docs/intro/getting-started/aseanbte
pair_left = { /* a server ip box */
<div align="Left">
<table><tbody><tr><td>
<b>Server IP</b>
<b><Translate>Server IP</Translate></b>
<Tabs>
<TabItem value="java" label="Java Edition" default>
<CodeBlock className="language-js" title="IP">
<CodeBlock className="language-js" title="<Translate>IP</Translate>">
139.99.91.188:25569
</CodeBlock>
<Admonition type="note">
<sub><div style={{ lineHeight: 1.5}}>
<b>Java edition includes:</b><br/>
The versions of Minecraft which are on Windows, Linux and macOS<br/>
<sub><div style={{ lineHeight: 1.5}}><b><Translate>Java edition includes:</Translate></b><br/>
<Translate>Versi Minecraft yang tersedia di Windows, Linux, dan macOS</Translate><br/>
</div></sub>
</Admonition>
</TabItem>
<TabItem value="bedrock" label="Bedrock Edition">
<BedrockIpBox IP="139.99.91.188" PORT="19132" />
<br/>
<Admonition type="note">
<sub><div style={{ lineHeight: 1.5}}>
<b>Bedrock edition includes:</b><br/>
The version of Minecraft that is on PS4, XBOX, Windows 10, mobile (Pocket Edition) and Nintendo Switch.<br/>
<sub><div style={{ lineHeight: 1.5}}><b><Translate>Bedrock edition includes:</Translate></b><br/>
<Translate>Versi Minecraft yang tersedia di PS4, XBOX, Windows 10, mobile (Pocket Edition), dan Nintendo Switch.</Translate><br/>
</div></sub>
</Admonition>
</TabItem>
Expand All @@ -64,20 +64,19 @@ import WelcomeImage from '@site/static/media/docs/intro/getting-started/aseanbte
}
pair_right_m = {
<div>
<h2 id="server">2. Join our Minecraft Server</h2><br/>
You can join our Minecraft server by using these IPs.<hr/>
<Admonition type="danger" title="CAUTION">
<h2 id="server"><Translate>2. Bergabunglah dengan Server Minecraft kami</Translate></h2><br/>
<Translate>Anda dapat bergabung ke server Minecraft kami dengan menggunakan IP berikut.</Translate><hr/>
<Admonition type="danger" title="<Translate>PERINGATAN</Translate>">
<Details
style={{ /* danger red theme to warn cracked minecrafter */
"--ifm-alert-border-color": "rgb(255, 50, 56, 0.3)",
"--ifm-alert-background-color": "rgba(255, 0, 0, 0.05)",
"--docusaurus-details-decoration-color": "rgb(225, 50, 56, 1)"
}}
summary={ <summary><strong>Cracked Minecraft is banned!</strong></summary>}
summary={ <summary><strong><Translate>Minecraft bajakan tidak diperbolehkan!</Translate></strong></summary>}
>
<sup style={{display: "inline-block", lineHeight:"1.2"}}>
This is because we follow the BuildTheEarth’s rules as well as Mojang’s.
All of your building progress in cracked Minecraft will not be accepted!
<Translate>Ini karena kami mengikuti aturan BuildTheEarth serta Mojang. Semua kemajuan pembangunan dalam Minecraft bajakan tidak akan diterima!</Translate>
</sup>
</Details>
</Admonition>
Expand All @@ -90,13 +89,13 @@ import WelcomeImage from '@site/static/media/docs/intro/getting-started/aseanbte
<MakePair
pair_left = {
<div>
<h2 id="tour">3. Take a Tour in our server</h2><br/>
By following this tutorial you will able to know how to join our server and visit different build sites. <hr/>
<h2 id="tour"><Translate>3. Lakukan Tur di server kami</Translate></h2><br/>
<Translate>Dengan mengikuti tutorial ini, Anda akan tahu cara bergabung ke server kami dan mengunjungi berbagai lokasi pembangunan.</Translate> <hr/>
</div>
}
pair_right = {
<div align="Left" style={{width:"100%"}}><MinecraftWindow useDropdown="false">
<Img src={WelcomeImage} aspect="1803 1014" alt="Welcome To ASEAN BTE" />
<Img src={WelcomeImage} aspect="1803 1014" alt="<Translate>Welcome To ASEAN BTE</Translate>" />
</MinecraftWindow></div>
}
/>
Expand Down
16 changes: 8 additions & 8 deletions i18n/id/docusaurus-theme-classic/footer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"link.title.Docs": {
"message": "Docs",
"message": "Dokumentasi",
"description": "The title of the footer links column with title=Docs in the footer"
},
"link.title.Discord Community": {
"message": "Discord Community",
"message": "Komunitas Discord",
"description": "The title of the footer links column with title=Discord Community in the footer"
},
"link.title.More": {
"message": "More",
"message": "Lainnya",
"description": "The title of the footer links column with title=More in the footer"
},
"link.item.label.Get Started": {
"message": "Get Started",
"message": "Mulai",
"description": "The label of footer link with label=Get Started linking to intro/get-started"
},
"link.item.label.Builder Guide": {
"message": "Builder Guide",
"message": "Panduan Builder",
"description": "The label of footer link with label=Builder Guide linking to guide/builder-guide"
},
"link.item.label.BuildTheEarth.net": {
Expand All @@ -32,19 +32,19 @@
"description": "The label of footer link with label=BuildTheEarth ASEAN linking to https://discord.gg/DNwnKmkQpw"
},
"link.item.label.Support Us": {
"message": "Support Us",
"message": "Dukung Kami",
"description": "The label of footer link with label=Support Us linking to /support"
},
"link.item.label.GitHub": {
"message": "GitHub",
"description": "The label of footer link with label=GitHub linking to https://github.com/ASEAN-Build-The-Earth"
},
"link.item.label.BuildTheEarth Website": {
"message": "BuildTheEarth Website",
"message": "Situs BuildTheEarth",
"description": "The label of footer link with label=BuildTheEarth Website linking to https://buildtheearth.net/"
},
"copyright": {
"message": "Copyright © 2022 Association of Southeast Asian Nation Build The Earth.",
"message": "Hak Cipta © 2022 Association of Southeast Asian Nation Build The Earth.",
"description": "The footer copyright"
}
}
10 changes: 7 additions & 3 deletions i18n/id/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,23 @@
"description": "The title in the navbar"
},
"item.label.Get Started": {
"message": "Get Started",
"message": "Mulai",
"description": "Navbar item with label Get Started"
},
"item.label.Builder Guide": {
"message": "Builder Guide",
"message": "Panduan Pembangun",
"description": "Navbar item with label Builder Guide"
},
"item.label.Support Us": {
"message": "Support Us",
"message": "Dukung Kami",
"description": "Navbar item with label Support Us"
},
"item.label.Discord": {
"message": "Discord",
"description": "Navbar item with label Discord"
},
"logo.alt": {
"message": "ASEAN BTE",
"description": "The alt text of navbar logo"
}
}
Loading

0 comments on commit b1bad79

Please sign in to comment.