[SKIP_BUILD] Update Crowdin settings

This commit is contained in:
BruceChen 2022-11-28 11:56:36 +08:00
parent 851ecf50c7
commit a4e55e8a93
4 changed files with 23 additions and 7 deletions

View file

@ -20,11 +20,13 @@ jobs:
- name: Sync translations from crowdin - name: Sync translations from crowdin
uses: crowdin/github-action@1.5.0 uses: crowdin/github-action@1.5.0
with: with:
upload_translations: true upload_sources: true
upload_translations: false
download_translations: true download_translations: true
localization_branch_name: l10n_master localization_branch_name: l10n_master
create_pull_request: false create_pull_request: false
push_translations: false
base_path: ${{ github.workspace }} base_path: ${{ github.workspace }}
env: env:

View file

@ -10,7 +10,7 @@
<div align="center"> <div align="center">
[English](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/README.md) | [Nederlands](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Dutch.md) | [Русский](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Russian.md) | [Српски](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Serbian_Cyrillic.md) | [Türkçe](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Turkish.md) | [Tiếng Việt](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Vietnamese.md) | [简体中文](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Chinese_Simplified.md) | [繁體中文](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Chinese_Traditional.md) [English](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/README.md) | [Nederlands](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Dutch.md) | [Русский](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Russian.md) | [Српски](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Serbian_Cyrillic.md) | [Türkçe](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Turkish.md) | [Tiếng Việt](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Vietnamese.md) | [简体中文](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Chinese_Simplified.md) | [繁體中文](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Chinese_Traditional.md)
</div> </div>

View file

@ -15,7 +15,7 @@
}, },
{ {
"source": "/README.md", "source": "/README.md",
"translation": "/README/README-%language%.md" "translation": "/docs/.vuepress/public/MCC-README/README-%language%.md"
}, },
{ {
"source": "/docs/.vuepress/translations/en.json", "source": "/docs/.vuepress/translations/en.json",

View file

@ -57,12 +57,25 @@ Install [Git](https://www.git-scm.com/)
4. Clone the [Git Hub Repository](https://github.com/MCCTeam/Minecraft-Console-Client) by typing end executing the following command: 4. Clone the [Git Hub Repository](https://github.com/MCCTeam/Minecraft-Console-Client) by typing end executing the following command:
```bash ```bash
git clone --branch l10n_master https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive git clone https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive
``` ```
5. Once the repository has been cloned, you can close the `Git Bash` terminal emulator 5. Once the repository has been cloned, you can close the `Git Bash` terminal emulator
6. Open up the new cloned folder 6. Open up the new cloned folder
#### Download translation resources (optional)
1. Visit [MCC project's homepage on Crowdin](https://crowdin.com/project/minecraft-console-client).
2. You will need to log in to your Crowdin account in order to download.
3. Click on the language you want to download the translation for.
4. Find `MinecraftClient` -> `Resources` -> `Translations` -> `MCC in-app text and settings file comments`
5. Click the button `¡¤¡¤¡¤` at the end of the line.
6. Click Download and save the file to folder `/MinecraftClient/Resources/Translations/`.
7. Find `MinecraftClient` -> `Resources` -> `AsciiArt` -> `ASCII Arts (Please use fixed-width fonts for editing)`
8. Click the button `¡¤¡¤¡¤` at the end of the line.
9. Click Download and save the file to folder `/MinecraftClient/Resources/AsciiArt/`.
10. If you need to download a translation in another language, go to step 3 to continue.
#### Building using the Visual Studio #### Building using the Visual Studio
1. Open up the `MinecraftClient.sln` via Visual Studio 1. Open up the `MinecraftClient.sln` via Visual Studio
@ -114,11 +127,12 @@ Requirements:
2. Recursively clone the [Git Hub Repository](https://github.com/MCCTeam/Minecraft-Console-Client) by typing end executing the following command: 2. Recursively clone the [Git Hub Repository](https://github.com/MCCTeam/Minecraft-Console-Client) by typing end executing the following command:
```bash ```bash
git clone --branch l10n_master https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive git clone https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive
``` ```
3. Go to the folder you've cloned (should be `Minecraft-Console-Client`) 3. Go to the folder you've cloned (should be `Minecraft-Console-Client`)
4. Run the following command to build the project: 4. If you want to download translation resources, please check out [Download translation resources](#download-translation-resources-optional)
5. Run the following command to build the project:
- On Linux: - On Linux:
@ -171,7 +185,7 @@ Requirements:
1. Clone the [Git Hub Repository](https://github.com/MCCTeam/Minecraft-Console-Client) by typing end executing the following command: 1. Clone the [Git Hub Repository](https://github.com/MCCTeam/Minecraft-Console-Client) by typing end executing the following command:
```bash ```bash
git clone --branch l10n_master https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive git clone https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive
``` ```
2. Navigate to `Minecraft-Console-Client/Docker` 2. Navigate to `Minecraft-Console-Client/Docker`