Skip to content

Commit

Permalink
feat(i18n): provide complete en_US translation
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Dec 11, 2019
1 parent 43a74f4 commit 5eb0c89
Show file tree
Hide file tree
Showing 2 changed files with 146 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const { argv } = yargs

.alias('l', 'language')
.describe('l', 'the selected language')
.choices('l', ['en_US', 'de_DE'])
.choices('l', ['en_US', 'de'])
.default('l', 'en_US')

.alias('p', 'properties')
Expand Down
147 changes: 145 additions & 2 deletions lib/locales/en_US.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,149 @@
{
"locales": "en_US",
"locales": "en_US",
"translations": {
"${0} Schema": "Schema: ${0}"
" or ": " or ",
"${0} Constraints": "${0} Constraints",
"${0} Definitions": "${0} Definitions",
"${0} Examples": "${0} Examples",
"${0} Properties": "${0} Properties",
"${0} Schema": "${0} Schema",
"${0} Type": "${0} Type",
"(international) email": "(international) email",
"(international) hostname": "(international) hostname",
", the value must be null": ", the value must be null",
"Abstract": "Abstract",
"Additional Properties": "Additional Properties",
"Additional properties": "Additional properties",
"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",
"Additional properties are allowed, as long as they follow this schema:": "Additional properties are allowed, as long as they follow this schema:",
"Allowed": "Allowed",
"Can be instantiated": "Can be instantiated",
"Cannot be instantiated": "Cannot be instantiated",
"Custom Properties": "Custom Properties",
"Defined In": "Defined In",
"Defined by": "Defined by",
"Definitions group ${0}": "Definitions group ${0}",
"Deprecated": "Deprecated",
"Details": "Details",
"Experimental": "Experimental",
"Explanation": "Explanation",
"Extensible": "Extensible",
"Forbidden": "Forbidden",
"IPv4": "IPv4",
"IPv6": "IPv6",
"IRI": "IRI",
"IRI reference": "IRI reference",
"Identifiable": "Identifiable",
"Merged": "Merged",
"Multiple": "Multiple",
"No": "No",
"Not specified": "Not specified",
"Nullable": "Nullable",
"Optional": "Optional",
"Pattern: ": "Pattern: ",
"Property": "Property",
"Reference this group by using": "Reference this group by using",
"Required": "Required",
"Stabilizing": "Stabilizing",
"Stable": "Stable",
"Status": "Status",
"Type": "Type",
"Type: ": "Type: ",
"URI": "URI",
"URI reference": "URI reference",
"UUID": "UUID",
"Unknown": "Unknown",
"Unknown abstraction": "Unknown abstraction",
"Unknown additional properties": "Unknown additional properties",
"Unknown custom properties": "Unknown custom properties",
"Unknown definition": "Unknown definition",
"Unknown extensibility": "Unknown extensibility",
"Unknown identifiability": "Unknown identifiability",
"Untitled ${0} in ${1}": "Untitled ${0} in ${1}",
"Untitled complex type in ${0}": "Untitled complex type in ${0}",
"Untitled schema": "Untitled schema",
"Untitled undefined type in ${0}": "Untitled undefined type in ${0}",
"Value": "Value",
"What does ${0} mean?": "What does ${0} mean?",
"Yes": "Yes",
"all items in this array must be unique. Duplicates are not allowed.": "all items in this array must be unique. Duplicates are not allowed.",
"all of": "all of",
"an array of the following:": "an array of the following:",
"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:",
"and all following items may follow any schema": "and all following items may follow any schema",
"and all following items must follow the schema: ": "and all following items must follow the schema: ",
"any of": "any of",
"any of the folllowing: ": "any of the folllowing: ",
"can be null": "can be null",
"cannot be null": "cannot be null",
"check the specification": "check the specification",
"check type definition": "check type definition",
"constant": "constant",
"date": "date",
"date time": "date time",
"defined in: ": "defined in: ",
"duration": "duration",
"email": "email",
"hostname": "hostname",
"is optional": "is optional",
"is required": "is required",
"maximum": "maximum",
"maximum (exclusive)": "maximum (exclusive)",
"maximum length": "maximum length",
"maximum number of contained items": "maximum number of contained items",
"maximum number of items": "maximum number of items",
"maximum number of properties": "maximum number of properties",
"merged type": "merged type",
"minimum": "minimum",
"minimum (exclusive)": "minimum (exclusive)",
"minimum length": "minimum length",
"minimum number of contained items": "minimum number of contained items",
"minimum number of items": "minimum number of items",
"minimum number of properties": "minimum number of properties",
"multiple of": "multiple of",
"no description": "no description",
"not": "not",
"not defined": "not defined",
"one (and only one) of": "one (and only one) of",
"open original schema": "open original schema",
"pattern": "pattern",
"the maximum number of characters for this string is: ": "the maximum number of characters for this string is: ",
"the maximum number of items for this array is: ": "the maximum number of items for this array is: ",
"the maximum number of properties for this object is: ": "the maximum number of properties for this object is: ",
"the minimum number of characters for this string is: ": "the minimum number of characters for this string is: ",
"the minimum number of items for this array is: ": "the minimum number of items for this array is: ",
"the minimum number of properties for this object is: ": "the minimum number of properties for this object is: ",
"the string must be a IRI reference, according to ": "the string must be a IRI reference, according to ",
"the string must be a IRI, according to ": "the string must be a IRI, according to ",
"the string must be a URI reference, according to ": "the string must be a URI reference, according to ",
"the string must be a URI, according to ": "the string must be a URI, according to ",
"the string must be a UUID, according to ": "the string must be a UUID, according to ",
"the string must be a date string, according to ": "the string must be a date string, according to ",
"the string must be a date time string, according to ": "the string must be a date time string, according to ",
"the string must be a duration string, according to ": "the string must be a duration string, according to ",
"the string must be a hostname, according to ": "the string must be a hostname, according to ",
"the string must be a time string, according to ": "the string must be a time string, according to ",
"the string must be an (IDN) hostname, according to ": "the string must be an (IDN) hostname, according to ",
"the string must be an (international) email address, according to ": "the string must be an (international) email address, according to ",
"the string must be an IPv4 address (dotted quad), according to ": "the string must be an IPv4 address (dotted quad), according to ",
"the string must be an IPv6 address, according to ": "the string must be an IPv6 address, according to ",
"the string must be an email address, according to ": "the string must be an email address, according to ",
"the string must match the following regular expression: ": "the string must match the following regular expression: ",
"the value of this number must be a multiple of: ": "the value of this number must be a multiple of: ",
"the value of this number must be greater than: ": "the value of this number must be greater than: ",
"the value of this number must be smaller than: ": "the value of this number must be smaller than: ",
"the value of this number must greater than or equal to: ": "the value of this number must greater than or equal to: ",
"the value of this number must smaller than or equal to: ": "the value of this number must smaller than or equal to: ",
"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:",
"the value of this property must be equal to:": "the value of this property must be equal to:",
"the value of this string must follow the format: ": "the value of this string must follow the format: ",
"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:",
"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:",
"time": "time",
"try pattern": "try pattern",
"try regular expression with regexr.com": "try regular expression with regexr.com",
"unique items": "unique items",
"unknown": "unknown",
"unknown format": "unknown format"
}
}

0 comments on commit 5eb0c89

Please sign in to comment.