mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-12-28 00:18:14 +00:00
32 lines
1018 B
YAML
32 lines
1018 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_title": "chore(l10n): update translations"
|
|
"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"
|
|
}
|
|
]
|