fix(crowdin): 匹配crowdin语言设置
This commit is contained in:
13
crowdin.yml
13
crowdin.yml
@@ -1,22 +1,15 @@
|
|||||||
project_id_env: CROWDIN_PROJECT_ID
|
project_id_env: CROWDIN_PROJECT_ID
|
||||||
api_token_env: CROWDIN_PERSONAL_TOKEN
|
api_token_env: CROWDIN_PERSONAL_TOKEN
|
||||||
base_path: .
|
base_path: .
|
||||||
base_url: 'https://api.crowdin.com'
|
base_url: "https://api.crowdin.com"
|
||||||
preserve_hierarchy: 1
|
preserve_hierarchy: true
|
||||||
|
|
||||||
export_languages:
|
export_languages:
|
||||||
- en-US
|
- en-US
|
||||||
- ja
|
- ja
|
||||||
files:
|
files:
|
||||||
- source: /locales/zh-CN/*.json
|
- source: /locales/zh-CN/*.json
|
||||||
translation: /locales/%locale%/%original_file_name%
|
translation: /locales/%locale%/%original_file_name%
|
||||||
languages_mapping:
|
|
||||||
locale:
|
|
||||||
en-US: en-US
|
|
||||||
ja: ja
|
|
||||||
|
|
||||||
- source: /prompts/zh-CN/**/*.prompt
|
- source: /prompts/zh-CN/**/*.prompt
|
||||||
translation: /prompts/%locale%/**/%original_file_name%
|
translation: /prompts/%locale%/**/%original_file_name%
|
||||||
languages_mapping:
|
|
||||||
locale:
|
|
||||||
en-US: en-US
|
|
||||||
ja: ja
|
|
||||||
|
|||||||
Reference in New Issue
Block a user