Repository navigation
Expand file tree
/
Copy pathlocalazy.json
More file actions
87 lines (84 loc) · 3.01 KB
/
Copy pathlocalazy.json
File metadata and controls
87 lines (84 loc) · 3.01 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"readKey": "a7688614897667993891-866e2615b0a22e6ccef56aea9b10e815efa3e1296752a7a30bd9925f1a8f33e7",
"upload": {
"type": "json",
"keySeparator": "|",
"deprecate": "file",
"filterSource": false,
"features": ["plural_object", "filter_untranslated"],
"files": [
{
"pattern": "apps/web/src/i18n/strings/en_EN.json",
"file": "element-web.json",
"lang": "inherited"
},
{
"group": "existing",
"pattern": "apps/web/src/i18n/strings/*.json",
"file": "element-web.json",
"excludes": ["apps/web/src/i18n/strings/en_EN.json"],
"lang": "${autodetectLang}"
},
{
"pattern": "apps/desktop/src/i18n/strings/en_EN.json",
"file": "element-desktop.json",
"lang": "inherited"
},
{
"group": "existing",
"pattern": "apps/desktop/src/i18n/strings/*.json",
"file": "element-desktop.json",
"excludes": ["apps/desktop/src/i18n/strings/en_EN.json"],
"lang": "${autodetectLang}"
},
{
"pattern": "packages/shared-components/src/i18n/strings/en_EN.json",
"file": "shared-components.json",
"lang": "inherited"
},
{
"group": "existing",
"pattern": "packages/shared-components/src/i18n/strings/*.json",
"file": "shared-components.json",
"excludes": ["packages/shared-components/src/i18n/strings/en_EN.json"],
"lang": "${autodetectLang}"
},
{
"pattern": "modules/*/src/translations.json",
"path": "${path}",
"features": ["multilingual", "plural_object", "filter_untranslated"]
}
]
},
"download": {
"files": [
{
"conditions": "equals: ${file}, element-web.json",
"output": "apps/web/src/i18n/strings/${langLsrUnderscore}.json"
},
{
"conditions": "equals: ${file}, element-desktop.json",
"output": "apps/desktop/src/i18n/strings/${langLsrUnderscore}.json"
},
{
"conditions": "equals: ${file}, shared-components.json",
"output": "packages/shared-components/src/i18n/strings/${langLsrUnderscore}.json"
}
],
"includeSourceLang": "${includeSourceLang|false}",
"langAliases": {
"en": "en-EN"
}
},
"conversion": {
"actions": {
"conditions": "startsWith: modules/, ${path}",
"type": "json-multilingual",
"output": "${path}/${file}",
"params": {
"filter_untranslated": true,
"lang_format": "ll_rr_scrp"
}
}
}
}