|
1 |
| -"base_path": "." |
2 |
| -"base_url": "https://api.crowdin.com" |
| 1 | +project_id_env: CROWDIN_PROJECT_ID |
| 2 | +api_token_env: CROWDIN_PERSONAL_TOKEN |
| 3 | +base_path: "." |
| 4 | +base_url: "https://api.crowdin.com" |
3 | 5 |
|
4 |
| -# |
5 | 6 | # Choose file structure in Crowdin
|
6 | 7 | # e.g. true or false
|
7 |
| -# |
8 |
| -"preserve_hierarchy": true |
| 8 | +preserve_hierarchy: true |
9 | 9 |
|
10 |
| -# |
11 | 10 | # Files configuration
|
12 |
| -# |
13 |
| -files: [ |
14 |
| - { |
15 |
| - # |
| 11 | +files: |
16 | 12 | # Source files filter
|
17 | 13 | # e.g. "/resources/en/*.json"
|
18 |
| - # |
19 |
| - "source": "/options/locale/locale_en-US.ini", |
20 |
| - |
21 |
| - # |
| 14 | + - source: "/options/locale/locale_en-US.ini" |
22 | 15 | # Where translations will be placed
|
23 | 16 | # e.g. "/resources/%two_letters_code%/%original_file_name%"
|
24 |
| - # |
25 |
| - "translation": "/options/locale/locale_%locale_with_underscore%.ini", |
26 |
| - |
27 |
| - # |
| 17 | + translation: "/options/locale/locale_%locale_with_underscore%.ini" |
28 | 18 | # Files or directories for ignore
|
29 | 19 | # e.g. ["/**/?.txt", "/**/[0-9].txt", "/**/*\?*.txt"]
|
30 |
| - # |
31 |
| - # "ignore": [], |
32 |
| - |
33 |
| - # |
| 20 | + # ignore: [] |
34 | 21 | # The dest allows you to specify a file name in Crowdin
|
35 | 22 | # e.g. "/messages.json"
|
36 |
| - # |
37 |
| - # "dest": "", |
38 |
| - |
39 |
| - # |
| 23 | + # dest: "" |
40 | 24 | # File type
|
41 | 25 | # e.g. "json"
|
42 |
| - # |
43 |
| - "type": "ini", |
44 |
| - |
45 |
| - # |
| 26 | + type: "ini" |
46 | 27 | # The parameter "update_option" is optional. If it is not set, after the files update the translations for changed strings will be removed. Use to fix typos and for minor changes in the source strings
|
47 | 28 | # e.g. "update_as_unapproved" or "update_without_changes"
|
48 |
| - # |
49 |
| - "update_option": "update_as_unapproved", |
50 |
| - |
51 |
| - # |
52 |
| - # Start block (for XML only) |
53 |
| - # |
54 |
| - |
55 |
| - # |
56 |
| - # Defines whether to translate tags attributes. |
57 |
| - # e.g. 0 or 1 (Default is 1) |
58 |
| - # |
59 |
| - # "translate_attributes": 1, |
60 |
| - |
61 |
| - # |
62 |
| - # Defines whether to translate texts placed inside the tags. |
63 |
| - # e.g. 0 or 1 (Default is 1) |
64 |
| - # |
65 |
| - # "translate_content": 1, |
66 |
| - |
67 |
| - # |
68 |
| - # This is an array of strings, where each item is the XPaths to DOM element that should be imported |
69 |
| - # e.g. ["/content/text", "/content/text[@value]"] |
70 |
| - # |
71 |
| - # "translatable_elements": [], |
72 |
| - |
73 |
| - # |
74 |
| - # Defines whether to split long texts into smaller text segments |
75 |
| - # e.g. 0 or 1 (Default is 1) |
76 |
| - # |
77 |
| - # "content_segmentation": 1, |
78 |
| - |
79 |
| - # |
80 |
| - # End block (for XML only) |
81 |
| - # |
82 |
| - |
83 |
| - # |
84 |
| - # Start .properties block |
85 |
| - # |
86 |
| - |
87 |
| - # |
88 |
| - # Defines whether single quote should be escaped by another single quote or backslash in exported translations |
89 |
| - # e.g. 0 or 1 or 2 or 3 (Default is 3) |
90 |
| - # 0 - do not escape single quote; |
91 |
| - # 1 - escape single quote by another single quote; |
92 |
| - # 2 - escape single quote by backslash; |
93 |
| - # 3 - escape single quote by another single quote only in strings containing variables ( {0} ). |
94 |
| - # |
95 |
| - # "escape_quotes": 3, |
96 |
| - |
97 |
| - # |
98 |
| - # Defines whether any special characters (=, :, ! and #) should be escaped by backslash in exported translations. |
99 |
| - # e.g. 0 or 1 (Default is 0) |
100 |
| - # 0 - do not escape special characters |
101 |
| - # 1 - escape special characters by a backslash |
102 |
| - # |
103 |
| - # "escape_special_characters": 0 |
104 |
| - # |
105 |
| - |
106 |
| - # |
107 |
| - # End .properties block |
108 |
| - # |
109 |
| - |
110 |
| - # |
111 |
| - # Does the first line contain header? |
112 |
| - # e.g. true or false |
113 |
| - # |
114 |
| - # "first_line_contains_header": true, |
115 |
| - |
116 |
| - # |
117 |
| - # for spreadsheets |
118 |
| - # e.g. "identifier,source_phrase,context,uk,ru,fr" |
119 |
| - # |
120 |
| - # "scheme": "", |
121 |
| - } |
122 |
| -] |
| 29 | + update_option: "update_as_unapproved" |
0 commit comments