2022-08-07 20:26:40 -04:00
|
|
|
---
|
2022-03-13 16:29:51 -04:00
|
|
|
"base_path": "."
|
|
|
|
"base_url": "https://api.crowdin.com" # optional (for Crowdin Enterprise only)
|
2024-03-22 19:54:12 -04:00
|
|
|
"preserve_hierarchy": true # false will flatten tree on crowdin, but doesn't work with dest option
|
2024-08-16 11:19:57 -04:00
|
|
|
"pull_request_title": "chore(l10n): update translations"
|
2022-04-18 14:53:28 -04:00
|
|
|
"pull_request_labels": [
|
|
|
|
"crowdin",
|
|
|
|
"l10n"
|
|
|
|
]
|
2022-03-13 16:29:51 -04:00
|
|
|
|
2022-08-07 20:26:40 -04:00
|
|
|
"files": [
|
2022-03-13 16:29:51 -04:00
|
|
|
{
|
2022-08-07 20:26:40 -04:00
|
|
|
"source": "/locale/*.po",
|
2024-03-22 19:54:12 -04:00
|
|
|
"dest": "/%original_file_name%",
|
2022-08-07 20:26:40 -04:00
|
|
|
"translation": "/locale/%two_letters_code%/LC_MESSAGES/%original_file_name%",
|
2022-03-13 16:29:51 -04:00
|
|
|
"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"
|
|
|
|
}
|
2024-03-22 19:54:12 -04:00
|
|
|
},
|
|
|
|
"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"
|
2022-03-13 16:29:51 -04:00
|
|
|
}
|
|
|
|
]
|