Change the way Crowdin integrates (#2329)

This commit is contained in:
BruceChen 2022-11-06 21:21:21 +08:00 committed by GitHub
parent 0b5a562f7f
commit 09d4e71554
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
365 changed files with 69 additions and 279034 deletions

View file

@ -1,13 +1,32 @@
files:
- source: /MinecraftClient/Resources/Translations/Translations.resx
translation: /MinecraftClient/Resources/Translations/Translations.%osx_code%.resx
- source: /MinecraftClient/Resources/AsciiArt/AsciiArt.resx
translation: /MinecraftClient/Resources/AsciiArt/AsciiArt.%osx_code%.resx
- source: /README.md
translation: /README/README-%language%.md
- source: /docs/.vuepress/translations/en.json
translation: /docs/.vuepress/translations/%osx_code%.json
- source: /docs/README.md
translation: /docs/l10n/%osx_code%/README.md
- source: /docs/guide/*.md
translation: /docs/l10n/%osx_code%/guide/%original_file_name%
"project_id_env": "CROWDIN_PROJECT_ID"
"api_token_env": "CROWDIN_PERSONAL_TOKEN"
"base_path": "/"
"preserve_hierarchy": true
"base_url": "https://api.crowdin.com"
"files": [
{
"source": "/MinecraftClient/Resources/Translations/Translations.resx",
"translation": "/MinecraftClient/Resources/Translations/Translations.%osx_code%.resx"
},
{
"source": "/MinecraftClient/Resources/AsciiArt/AsciiArt.resx",
"translation": "/MinecraftClient/Resources/AsciiArt/AsciiArt.%osx_code%.resx"
},
{
"source": "/README.md",
"translation": "/README/README-%language%.md"
},
{
"source": "/docs/.vuepress/translations/en.json",
"translation": "/docs/.vuepress/translations/%osx_code%.json"
},
{
"source": "/docs/README.md",
"translation": "/docs/l10n/%osx_code%/README.md"
},
{
"source": "/docs/guide/*.md",
"translation": "/docs/l10n/%osx_code%/guide/%original_file_name%"
}
]