1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-20 23:05:15 +03:00

Revert "Update Crowdin configuration file" (#3098)

This reverts commit 5204c39af4.
This commit is contained in:
Míguel Ángel Mulero Martínez 2022-12-01 04:43:40 +01:00 committed by GitHub
parent 0fefc78dc9
commit f471330f76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,30 @@
preserve_hierarchy:
files:
- source: /locales/en/messages.json
translation: /locales/%two_letters_code%/%original_file_name%
languages_mapping:
two_letters_code:
pt-BR: pt_BR
zh-CN: zh_CN
#
# 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" : {
"pt-BR" : "pt_BR",
"zh-CN" : "zh_CN"
}
}
}
]