-
Notifications
You must be signed in to change notification settings - Fork 479
/
codeorg_crowdin.yml
57 lines (52 loc) · 1.5 KB
/
codeorg_crowdin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#
# Your crowdin's credentials
#
"project_identifier" : "codeorg"
"base_path" : "../../i18n/locales"
# API Credentials must be loaded from a separate identity file. See
# https://support.crowdin.com/configuration-file/#split-project-configuration-and-api-credentials
"api_key" : ""
#
# Files configuration
#
files: [
{
#
# Source files filter
# e.g. "/resources/en/*.json"
#
"source" : "/source/**/*.yml",
#
# where translations live
# e.g. "/resources/%two_letters_code%/%original_file_name%"
#
"translation" : "/%language%/**/%original_file_name%",
#
# files or directories for ignore
# e.g. ["/**/?.txt", "/**/[0-9].txt", "/**/*\?*.txt"]
#
# hourofcode content is handled by the hourofcode-specific sync
"ignore" : [
"/source/hourofcode/**",
],
#
# The parameter "update_option" is optional. If it is not set, translations for changed strings will be lost. Useful for typo fixes and minor changes in source strings.
# e.g. "update_as_unapproved" or "update_without_changes"
#
"update_option" : "update_as_unapproved"
}, {
# config for json content
"source" : "/source/**/*.json",
"translation" : "/%language%/**/%original_file_name%",
"ignore" : [
"/source/hourofcode/**",
"/source/blockly-mooc/applab.json",
"/source/blockly-mooc/calc.json",
"/source/blockly-mooc/eval.json",
"/source/blockly-mooc/gamelab.json",
"/source/blockly-mooc/netsim.json",
"/source/blockly-mooc/weblab.json"
],
"update_option" : "update_as_unapproved"
}
]