Skip to content

Commit 5eb0c89

Browse files
committed
feat(i18n): provide complete en_US translation
1 parent 43a74f4 commit 5eb0c89

File tree

2 files changed

+146
-3
lines changed

2 files changed

+146
-3
lines changed

cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const { argv } = yargs
8888

8989
.alias('l', 'language')
9090
.describe('l', 'the selected language')
91-
.choices('l', ['en_US', 'de_DE'])
91+
.choices('l', ['en_US', 'de'])
9292
.default('l', 'en_US')
9393

9494
.alias('p', 'properties')

lib/locales/en_US.json

Lines changed: 145 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,149 @@
11
{
2-
"locales": "en_US",
2+
"locales": "en_US",
33
"translations": {
4-
"${0} Schema": "Schema: ${0}"
4+
" or ": " or ",
5+
"${0} Constraints": "${0} Constraints",
6+
"${0} Definitions": "${0} Definitions",
7+
"${0} Examples": "${0} Examples",
8+
"${0} Properties": "${0} Properties",
9+
"${0} Schema": "${0} Schema",
10+
"${0} Type": "${0} Type",
11+
"(international) email": "(international) email",
12+
"(international) hostname": "(international) hostname",
13+
", the value must be null": ", the value must be null",
14+
"Abstract": "Abstract",
15+
"Additional Properties": "Additional Properties",
16+
"Additional properties": "Additional properties",
17+
"Additional properties are allowed and do not have to follow a specific schema": "Additional properties are allowed and do not have to follow a specific schema",
18+
"Additional properties are allowed, as long as they follow this schema:": "Additional properties are allowed, as long as they follow this schema:",
19+
"Allowed": "Allowed",
20+
"Can be instantiated": "Can be instantiated",
21+
"Cannot be instantiated": "Cannot be instantiated",
22+
"Custom Properties": "Custom Properties",
23+
"Defined In": "Defined In",
24+
"Defined by": "Defined by",
25+
"Definitions group ${0}": "Definitions group ${0}",
26+
"Deprecated": "Deprecated",
27+
"Details": "Details",
28+
"Experimental": "Experimental",
29+
"Explanation": "Explanation",
30+
"Extensible": "Extensible",
31+
"Forbidden": "Forbidden",
32+
"IPv4": "IPv4",
33+
"IPv6": "IPv6",
34+
"IRI": "IRI",
35+
"IRI reference": "IRI reference",
36+
"Identifiable": "Identifiable",
37+
"Merged": "Merged",
38+
"Multiple": "Multiple",
39+
"No": "No",
40+
"Not specified": "Not specified",
41+
"Nullable": "Nullable",
42+
"Optional": "Optional",
43+
"Pattern: ": "Pattern: ",
44+
"Property": "Property",
45+
"Reference this group by using": "Reference this group by using",
46+
"Required": "Required",
47+
"Stabilizing": "Stabilizing",
48+
"Stable": "Stable",
49+
"Status": "Status",
50+
"Type": "Type",
51+
"Type: ": "Type: ",
52+
"URI": "URI",
53+
"URI reference": "URI reference",
54+
"UUID": "UUID",
55+
"Unknown": "Unknown",
56+
"Unknown abstraction": "Unknown abstraction",
57+
"Unknown additional properties": "Unknown additional properties",
58+
"Unknown custom properties": "Unknown custom properties",
59+
"Unknown definition": "Unknown definition",
60+
"Unknown extensibility": "Unknown extensibility",
61+
"Unknown identifiability": "Unknown identifiability",
62+
"Untitled ${0} in ${1}": "Untitled ${0} in ${1}",
63+
"Untitled complex type in ${0}": "Untitled complex type in ${0}",
64+
"Untitled schema": "Untitled schema",
65+
"Untitled undefined type in ${0}": "Untitled undefined type in ${0}",
66+
"Value": "Value",
67+
"What does ${0} mean?": "What does ${0} mean?",
68+
"Yes": "Yes",
69+
"all items in this array must be unique. Duplicates are not allowed.": "all items in this array must be unique. Duplicates are not allowed.",
70+
"all of": "all of",
71+
"an array of the following:": "an array of the following:",
72+
"an array where each item follows the corresponding schema in the following list:": "an array where each item follows the corresponding schema in the following list:",
73+
"and all following items may follow any schema": "and all following items may follow any schema",
74+
"and all following items must follow the schema: ": "and all following items must follow the schema: ",
75+
"any of": "any of",
76+
"any of the folllowing: ": "any of the folllowing: ",
77+
"can be null": "can be null",
78+
"cannot be null": "cannot be null",
79+
"check the specification": "check the specification",
80+
"check type definition": "check type definition",
81+
"constant": "constant",
82+
"date": "date",
83+
"date time": "date time",
84+
"defined in: ": "defined in: ",
85+
"duration": "duration",
86+
"email": "email",
87+
"hostname": "hostname",
88+
"is optional": "is optional",
89+
"is required": "is required",
90+
"maximum": "maximum",
91+
"maximum (exclusive)": "maximum (exclusive)",
92+
"maximum length": "maximum length",
93+
"maximum number of contained items": "maximum number of contained items",
94+
"maximum number of items": "maximum number of items",
95+
"maximum number of properties": "maximum number of properties",
96+
"merged type": "merged type",
97+
"minimum": "minimum",
98+
"minimum (exclusive)": "minimum (exclusive)",
99+
"minimum length": "minimum length",
100+
"minimum number of contained items": "minimum number of contained items",
101+
"minimum number of items": "minimum number of items",
102+
"minimum number of properties": "minimum number of properties",
103+
"multiple of": "multiple of",
104+
"no description": "no description",
105+
"not": "not",
106+
"not defined": "not defined",
107+
"one (and only one) of": "one (and only one) of",
108+
"open original schema": "open original schema",
109+
"pattern": "pattern",
110+
"the maximum number of characters for this string is: ": "the maximum number of characters for this string is: ",
111+
"the maximum number of items for this array is: ": "the maximum number of items for this array is: ",
112+
"the maximum number of properties for this object is: ": "the maximum number of properties for this object is: ",
113+
"the minimum number of characters for this string is: ": "the minimum number of characters for this string is: ",
114+
"the minimum number of items for this array is: ": "the minimum number of items for this array is: ",
115+
"the minimum number of properties for this object is: ": "the minimum number of properties for this object is: ",
116+
"the string must be a IRI reference, according to ": "the string must be a IRI reference, according to ",
117+
"the string must be a IRI, according to ": "the string must be a IRI, according to ",
118+
"the string must be a URI reference, according to ": "the string must be a URI reference, according to ",
119+
"the string must be a URI, according to ": "the string must be a URI, according to ",
120+
"the string must be a UUID, according to ": "the string must be a UUID, according to ",
121+
"the string must be a date string, according to ": "the string must be a date string, according to ",
122+
"the string must be a date time string, according to ": "the string must be a date time string, according to ",
123+
"the string must be a duration string, according to ": "the string must be a duration string, according to ",
124+
"the string must be a hostname, according to ": "the string must be a hostname, according to ",
125+
"the string must be a time string, according to ": "the string must be a time string, according to ",
126+
"the string must be an (IDN) hostname, according to ": "the string must be an (IDN) hostname, according to ",
127+
"the string must be an (international) email address, according to ": "the string must be an (international) email address, according to ",
128+
"the string must be an IPv4 address (dotted quad), according to ": "the string must be an IPv4 address (dotted quad), according to ",
129+
"the string must be an IPv6 address, according to ": "the string must be an IPv6 address, according to ",
130+
"the string must be an email address, according to ": "the string must be an email address, according to ",
131+
"the string must match the following regular expression: ": "the string must match the following regular expression: ",
132+
"the value of this number must be a multiple of: ": "the value of this number must be a multiple of: ",
133+
"the value of this number must be greater than: ": "the value of this number must be greater than: ",
134+
"the value of this number must be smaller than: ": "the value of this number must be smaller than: ",
135+
"the value of this number must greater than or equal to: ": "the value of this number must greater than or equal to: ",
136+
"the value of this number must smaller than or equal to: ": "the value of this number must smaller than or equal to: ",
137+
"the value of this property must be equal to one of the following values:": "the value of this property must be equal to one of the following values:",
138+
"the value of this property must be equal to:": "the value of this property must be equal to:",
139+
"the value of this string must follow the format: ": "the value of this string must follow the format: ",
140+
"this array may not contain fewer than ${0} items that validate against the schema:": "this array may not contain fewer than ${0} items that validate against the schema:",
141+
"this array may not contain more than ${0} items that validate against the schema:": "this array may not contain more than ${0} items that validate against the schema:",
142+
"time": "time",
143+
"try pattern": "try pattern",
144+
"try regular expression with regexr.com": "try regular expression with regexr.com",
145+
"unique items": "unique items",
146+
"unknown": "unknown",
147+
"unknown format": "unknown format"
5148
}
6149
}

0 commit comments

Comments
 (0)