feat: 更新 Crowdin 工作流以支持 dashboard WebUI 的本地化文件,添加相关验证逻辑
This commit is contained in:
11
crowdin.yml
11
crowdin.yml
@@ -7,9 +7,20 @@ preserve_hierarchy: true
|
||||
export_languages:
|
||||
- en-US
|
||||
- ja
|
||||
- ko
|
||||
files:
|
||||
- source: /locales/zh-CN/*.json
|
||||
translation: /locales/%locale%/%original_file_name%
|
||||
excluded_target_languages:
|
||||
- ko
|
||||
|
||||
- source: /prompts/zh-CN/**/*.prompt
|
||||
translation: /prompts/%locale%/**/%original_file_name%
|
||||
excluded_target_languages:
|
||||
- ko
|
||||
|
||||
- source: /dashboard/src/i18n/locales/zh.json
|
||||
translation: /dashboard/src/i18n/locales/%two_letters_code%.json
|
||||
languages_mapping:
|
||||
two_letters_code:
|
||||
en-US: en
|
||||
|
||||
Reference in New Issue
Block a user