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:
parent
0fefc78dc9
commit
f471330f76
1 changed files with 30 additions and 8 deletions
38
crowdin.yml
38
crowdin.yml
|
@ -1,8 +1,30 @@
|
||||||
preserve_hierarchy:
|
#
|
||||||
files:
|
# Files configuration
|
||||||
- source: /locales/en/messages.json
|
#
|
||||||
translation: /locales/%two_letters_code%/%original_file_name%
|
"preserve_hierarchy": false
|
||||||
languages_mapping:
|
|
||||||
two_letters_code:
|
files: [
|
||||||
pt-BR: pt_BR
|
{
|
||||||
zh-CN: zh_CN
|
#
|
||||||
|
# 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue