Skip to content

Commit

Permalink
[49848] Fix crowdin locale mapping directly in app settings
Browse files Browse the repository at this point in the history
In the web app, under Settings > Languages > Language Mapping, mappings for ckb-IR, zh-CN and zh-TW have been explicitly defined. There are not needed anymore in the configuration file.
  • Loading branch information
cbliard committed Sep 8, 2023
1 parent 8de7b10 commit 1766dd7
Showing 1 changed file with 6 additions and 48 deletions.
54 changes: 6 additions & 48 deletions crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,68 +9,26 @@
files: [
{
"source": "/config/locales/en.yml",
"translation": "/config/locales/crowdin/%two_letters_code%.yml",
"languages_mapping": {
"two_letters_code": {
"ckb": "ckb-IR",
"zh-CN": "zh-CN",
"zh-TW": "zh-TW",
}
}
"translation": "/config/locales/crowdin/%two_letters_code%.yml"
},
{
"source": "/config/locales/js-en.yml",
"translation": "/config/locales/crowdin/js-%two_letters_code%.yml",
"languages_mapping": {
"two_letters_code": {
"ckb": "ckb-IR",
"zh-CN": "zh-CN",
"zh-TW": "zh-TW",
}
}
"translation": "/config/locales/crowdin/js-%two_letters_code%.yml"
},
{
"source": "/config/locales/en.seeders.yml",
"translation": "/config/locales/crowdin/%two_letters_code%.seeders.yml",
"languages_mapping": {
"two_letters_code": {
"ckb": "ckb-IR",
"zh-CN": "zh-CN",
"zh-TW": "zh-TW",
}
}
"translation": "/config/locales/crowdin/%two_letters_code%.seeders.yml"
},
{
"source": "/modules/**/config/locales/en.yml",
"translation": "/modules/**/config/locales/crowdin/%two_letters_code%.yml",
"languages_mapping": {
"two_letters_code": {
"ckb": "ckb-IR",
"zh-CN": "zh-CN",
"zh-TW": "zh-TW",
}
}
"translation": "/modules/**/config/locales/crowdin/%two_letters_code%.yml"
},
{
"source": "/modules/**/config/locales/js-en.yml",
"translation": "/modules/**/config/locales/crowdin/js-%two_letters_code%.yml",
"languages_mapping": {
"two_letters_code": {
"ckb": "ckb-IR",
"zh-CN": "zh-CN",
"zh-TW": "zh-TW",
}
}
"translation": "/modules/**/config/locales/crowdin/js-%two_letters_code%.yml"
},
{
"source": "/modules/**/config/locales/en.seeders.yml",
"translation": "/modules/**/config/locales/crowdin/%two_letters_code%.seeders.yml",
"languages_mapping": {
"two_letters_code": {
"ckb": "ckb-IR",
"zh-CN": "zh-CN",
"zh-TW": "zh-TW",
}
}
"translation": "/modules/**/config/locales/crowdin/%two_letters_code%.seeders.yml"
},
]

0 comments on commit 1766dd7

Please sign in to comment.