mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-12-29 12:16:08 +00:00
87774333f3
Co-authored-by: TheElixZammuto <6505622+TheElixZammuto@users.noreply.github.com>
31 lines
961 B
YAML
31 lines
961 B
YAML
---
|
|
"base_path": "."
|
|
"base_url": "https://api.crowdin.com" # optional (for Crowdin Enterprise only)
|
|
"preserve_hierarchy": true # false will flatten tree on crowdin, but doesn't work with dest option
|
|
"pull_request_labels": [
|
|
"crowdin",
|
|
"l10n"
|
|
]
|
|
|
|
"files": [
|
|
{
|
|
"source": "/locale/*.po",
|
|
"dest": "/%original_file_name%",
|
|
"translation": "/locale/%two_letters_code%/LC_MESSAGES/%original_file_name%",
|
|
"languages_mapping": {
|
|
"two_letters_code": {
|
|
# map non-two letter codes here, left side is crowdin designation, right side is babel designation
|
|
"en-GB": "en_GB",
|
|
"en-US": "en_US"
|
|
}
|
|
},
|
|
"update_option": "update_as_unapproved"
|
|
},
|
|
{
|
|
"source": "/src_assets/common/assets/web/public/assets/locale/en.json",
|
|
"dest": "/sunshine.json",
|
|
"translation": "/src_assets/common/assets/web/public/assets/locale/%two_letters_code%.%file_extension%",
|
|
"update_option": "update_as_unapproved"
|
|
}
|
|
]
|