Skip to content

Commit 2787a91

Browse files
committed
chore: housekeeping
1 parent 487c52d commit 2787a91

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

crowdin.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
project_id_env: CROWDIN_PROJECT_ID
22
api_token_env: CROWDIN_PERSONAL_TOKEN
3-
base_path: ./i18n
3+
4+
base_path: .
45
preserve_hierarchy: true
6+
# 只导出已翻译的条目
7+
# skip_untranslated_strings: true
8+
# 只导出已审核的翻译
9+
# export_only_approved: true
510

611
files:
7-
- source: 'src/languages/en.yaml'
8-
translation: 'src/languages/%locale%.yaml'
12+
- source: /i18n/languages/en.yaml
13+
translation: /i18n/languages/%locale%.yaml
14+
ignore:
15+
- /i18n/**/dist/**
16+
917
languages_mapping:
1018
locale:
19+
en: en # 一般不会导出,但映射留着无妨
1120
ar: ar
1221
fr: fr
1322
hi: hi

0 commit comments

Comments
 (0)