Repository navigation
Expand file tree
/
Copy pathwebsite-exclusions.json
More file actions
41 lines (41 loc) · 2.29 KB
/
Copy pathwebsite-exclusions.json
File metadata and controls
41 lines (41 loc) · 2.29 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
{
"$comment": [
"Areas of the website that are never translated. scripts/lib/website-english.mjs",
"leaves them out of the two English catalogs it builds.",
"",
"An exclusion applies to both sides: an excluded key is not required of any",
"locale, not counted by coverage, and not checked by validate. A locale that",
"already holds one keeps it, unused, and it is reported as an extra key.",
"",
"`backendFiles` and `frontendNamespaces` are globs (`*` within one path segment,",
"`**` across segments). Backend files are matched relative to config/locales/.",
"`backendKeys` are dotted key prefixes, for an excluded area whose copy is in a",
"file shared with copy that is translated.",
"",
"Every entry is grouped under its area. The areas are iHiD's list: admin,",
"bootcamp, courses, hiring, campaigns, challenges, maintaining, test, and dead",
"mailers. The patterns under each area were matched by hand against website",
"main at 102577eb and need his review. An empty list means nothing at that",
"commit obviously matched; there may still be copy in that area."
],
"areas": {
"admin": { "backendFiles": [], "backendKeys": [], "frontendNamespaces": [] },
"bootcamp": {
"backendFiles": ["views/components/bootcamp.yml"],
"backendKeys": [],
"frontendNamespaces": ["components/settings/BootcampAffiliateCouponForm.tsx", "components/settings/BootcampFreeCouponForm.tsx"]
},
"courses": { "backendFiles": ["views/courses/**"], "backendKeys": [], "frontendNamespaces": [] },
"hiring": { "backendFiles": [], "backendKeys": [], "frontendNamespaces": [] },
"campaigns": { "backendFiles": [], "backendKeys": [], "frontendNamespaces": [] },
"challenges": { "backendFiles": [], "backendKeys": [], "frontendNamespaces": [] },
"maintaining": { "backendFiles": [], "backendKeys": [], "frontendNamespaces": ["components/maintaining", "components/maintaining/**"] },
"test": { "backendFiles": [], "backendKeys": [], "frontendNamespaces": ["components/test", "components/test/**"] },
"dead mailers": {
"$todo": "TODO(iHiD): which mailers are dead is not derivable from the repo. Nothing is excluded for this area yet.",
"backendFiles": [],
"backendKeys": [],
"frontendNamespaces": []
}
}
}