Skip to content

Commit 0f7c4b0

Browse files
committed
WIP
1 parent f6266b9 commit 0f7c4b0

File tree

1 file changed

+12
-105
lines changed

1 file changed

+12
-105
lines changed

crowdin.yml

Lines changed: 12 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,29 @@
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"
35

4-
#
56
# Choose file structure in Crowdin
67
# e.g. true or false
7-
#
8-
"preserve_hierarchy": true
8+
preserve_hierarchy: true
99

10-
#
1110
# Files configuration
12-
#
13-
files: [
14-
{
15-
#
11+
files:
1612
# Source files filter
1713
# e.g. "/resources/en/*.json"
18-
#
19-
"source": "/options/locale/locale_en-US.ini",
20-
21-
#
14+
- source: "/options/locale/locale_en-US.ini"
2215
# Where translations will be placed
2316
# 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"
2818
# Files or directories for ignore
2919
# e.g. ["/**/?.txt", "/**/[0-9].txt", "/**/*\?*.txt"]
30-
#
31-
# "ignore": [],
32-
33-
#
20+
# ignore: []
3421
# The dest allows you to specify a file name in Crowdin
3522
# e.g. "/messages.json"
36-
#
37-
# "dest": "",
38-
39-
#
23+
# dest: ""
4024
# File type
4125
# e.g. "json"
42-
#
43-
"type": "ini",
44-
45-
#
26+
type: "ini"
4627
# 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
4728
# 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

Comments
 (0)