betaflight-configurator/crowdin.yml

36 lines
760 B
YAML

# ID used by the upload action to Crowdin
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
#
# Files configuration
#
"preserve_hierarchy": true
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" : {
"pt-BR" : "pt_BR",
"zh-CN" : "zh_CN",
"zh-TW" : "zh_TW"
}
}
}
]