1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-19 14:25:14 +03:00

Merge pull request #945 from mikeller/added_crowdin_yaml

Update Crowdin configuration file
This commit is contained in:
Michael Keller 2018-02-25 09:25:00 +13:00 committed by GitHub
commit 1c214e5741
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,32 @@
files:
- source: /locales/en/messages.json
translation: /locales/%locale_with_underscore%/%original_file_name%
#
# Files configuration
#
"preserve_hierarchy": false
files: [
{
#
# Source files filter
# e.g. "/resources/en/*.json"
#
"source" : "/locales/en/messages.json",
#
# where translations live
# e.g. "/resources/%two_letters_code%/%original_file_name%"
#
"translation" : "/locales/%two_letters_code%/%original_file_name%",
#
# Often software projects have custom names for locale directories. crowdin-cli allows you to map your own languages to be understandable by Crowdin.
#
"languages_mapping" : {
"two_letters_code" : {
"es-ES" : "es",
"pt-PT" : "pt",
"sv-SE" : "sv",
"zh-CN" : "zh_CN"
}
}
}
]