diff --git a/JsonToolsNppPlugin/JSONTools/JsonParser.cs b/JsonToolsNppPlugin/JSONTools/JsonParser.cs index 4e167aa..96dcd0f 100644 --- a/JsonToolsNppPlugin/JSONTools/JsonParser.cs +++ b/JsonToolsNppPlugin/JSONTools/JsonParser.cs @@ -208,7 +208,7 @@ public string TranslateMessageIfDesired(bool translated) case JsonLintType.FATAL_INVALID_STARTSWITH_u: return Translator.TranslateLintMessage(translated, lintType, "Expected literal starting with 'u' to be undefined"); case JsonLintType.FATAL_BADLY_LOCATED_CHAR: return TryTranslateWithOneParam(translated, lintType, "Badly located character {0}", param1); case JsonLintType.FATAL_NO_INPUT: return Translator.TranslateLintMessage(translated, lintType, "No input"); - case JsonLintType.FATAL_ONLY_WHITESPACE_COMMENTS: return Translator.TranslateLintMessage(translated, lintType, "Json string is only whitespace and maybe comments"); + case JsonLintType.FATAL_ONLY_WHITESPACE_COMMENTS: return Translator.TranslateLintMessage(translated, lintType, "Input is only whitespace and maybe comments"); case JsonLintType.FATAL_JSONL_NOT_ONE_DOC_PER_LINE: return Translator.TranslateLintMessage(translated, lintType, "JSON Lines document does not contain exactly one JSON document per line"); // FATAL messages that wrap an exception case JsonLintType.FATAL_UNSPECIFIED_ERROR: diff --git a/JsonToolsNppPlugin/JSONTools/JsonSchemaValidator.cs b/JsonToolsNppPlugin/JSONTools/JsonSchemaValidator.cs index 5b0259f..43b4413 100644 --- a/JsonToolsNppPlugin/JSONTools/JsonSchemaValidator.cs +++ b/JsonToolsNppPlugin/JSONTools/JsonSchemaValidator.cs @@ -76,7 +76,7 @@ private static JsonLint ValidationProblemToLint(JsonLintType problemType, Dictio break; case JsonLintType.SCHEMA_OBJECT_MISSING_REQUIRED_KEY: string keyMissing = (string)keywords["required"]; - msg = JsonLint.TryTranslateWithOneParam(translated, problemType, "object missing required key {0}", keyMissing); + msg = JsonLint.TryTranslateWithOneParam(translated, problemType, "object missing \"required\" key {0}", keyMissing); break; case JsonLintType.SCHEMA_FALSE_SCHEMA: msg = Translator.TranslateLintMessage(translated, problemType, "the schema is `false`, so nothing will validate."); diff --git a/JsonToolsNppPlugin/Properties/AssemblyInfo.cs b/JsonToolsNppPlugin/Properties/AssemblyInfo.cs index ae4df1b..4902c87 100644 --- a/JsonToolsNppPlugin/Properties/AssemblyInfo.cs +++ b/JsonToolsNppPlugin/Properties/AssemblyInfo.cs @@ -28,5 +28,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("8.0.0.7")] -[assembly: AssemblyFileVersion("8.0.0.7")] +[assembly: AssemblyVersion("8.0.0.8")] +[assembly: AssemblyFileVersion("8.0.0.8")] diff --git a/JsonToolsNppPlugin/Tests/JsonParserTests.cs b/JsonToolsNppPlugin/Tests/JsonParserTests.cs index 44a6111..8393135 100644 --- a/JsonToolsNppPlugin/Tests/JsonParserTests.cs +++ b/JsonToolsNppPlugin/Tests/JsonParserTests.cs @@ -915,7 +915,7 @@ public static bool TestLinter() }), ("\"\\i\"", "\"i\"", new string[]{"Escaped char 'i' is only valid in JSON5"}), ("", "null", new string[]{"No input"}), - ("\t\r\n // comments\r\n/* */ ", "null", new string[]{ "JavaScript comments are not part of the original JSON specification", "JavaScript comments are not part of the original JSON specification","Json string is only whitespace and maybe comments" }), + ("\t\r\n // comments\r\n/* */ ", "null", new string[]{ "JavaScript comments are not part of the original JSON specification", "JavaScript comments are not part of the original JSON specification","Input is only whitespace and maybe comments" }), ("[5/ ]", "[5]", new string[]{ "JavaScript comments are not part of the original JSON specification", "Expected JavaScript comment after '/'" }), ("\xa0\u2028\u2029\ufeff\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\"\xa0\u2028\u2029\ufeff\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\"", "\"\xa0\u2028\u2029\ufeff\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\"", new string[] { diff --git a/translation/english.json5 b/translation/english.json5 index 3e747ab..eec18f4 100644 --- a/translation/english.json5 +++ b/translation/english.json5 @@ -276,8 +276,8 @@ "JSON5_NUM_LEADING_DECIMAL_POINT": "Numbers with a leading decimal point are only part of JSON5", "JSON5_COMMA_AFTER_LAST_ELEMENT_ARRAY": "Comma after last element of array", "JSON5_COMMA_AFTER_LAST_ELEMENT_OBJECT": "Comma after last key-value pair of object", - // ============== BAD messages ============== "JSON5_NUM_TRAILING_DECIMAL_POINT": "Numbers with a trailing decimal point are only part of JSON5", + // ============== BAD messages ============== "BAD_UNTERMINATED_MULTILINE_COMMENT": "Unterminated multi-line comment", "BAD_PYTHON_COMMENT": "Python-style '#' comments are not part of any well-accepted JSON specification", "BAD_STRING_CONTAINS_NEWLINE": "String literal contains newline", @@ -332,7 +332,7 @@ "FATAL_INVALID_STARTSWITH_u": "Expected literal starting with 'u' to be undefined", "FATAL_BADLY_LOCATED_CHAR": "Badly located character {0}", "FATAL_NO_INPUT": "No input", - "FATAL_ONLY_WHITESPACE_COMMENTS": "Json string is only whitespace and maybe comments", + "FATAL_ONLY_WHITESPACE_COMMENTS": "Input is only whitespace and maybe comments", "FATAL_JSONL_NOT_ONE_DOC_PER_LINE": "JSON Lines document does not contain exactly one JSON document per line", // ============== SCHEMA messages ============== "SCHEMA_TYPE_MISMATCH": "found type {0}, expected type {1}.", @@ -342,7 +342,7 @@ "SCHEMA_ARRAY_TOO_SHORT": "array required to have at least {0} items, but it has {1} items.", "SCHEMA_CONTAINS_VIOLATION": "Array must have between {0} and {1} items that match \"contains\" schema {2}", "SCHEMA_MINCONTAINS_VIOLATION": "Array must have at least {0} items that match \"contains\" schema {1}", - "SCHEMA_OBJECT_MISSING_REQUIRED_KEY": "object missing required key {0}", + "SCHEMA_OBJECT_MISSING_REQUIRED_KEY": "object missing \"required\" key {0}", "SCHEMA_FALSE_SCHEMA": "the schema is `false`, so nothing will validate.", "SCHEMA_STRING_DOESNT_MATCH_PATTERN": "string '{0}' does not match regex '{1}'", "SCHEMA_RECURSION_LIMIT_REACHED": "validation has a maximum depth of 128", diff --git a/translation/italian.json5 b/translation/italian.json5 index efa73d3..82ca5b7 100644 --- a/translation/italian.json5 +++ b/translation/italian.json5 @@ -258,99 +258,99 @@ // BAD (has "{0.}" instead of "{0}"): "Trovato '{0.}' dopo la chiave {1} quando erano previsti i due punti" "jsonLint": { // ============== OK messages ============== - "OK_CONTROL_CHAR": "Control characters (ASCII code less than 0x20) are disallowed inside strings under the strict JSON specification", + "OK_CONTROL_CHAR": "I caratteri di controllo (codice ASCII inferiore a 0x20) non sono consentiti all'interno delle stringhe secondo la rigorosa specifica JSON", // ============== NAN_INF messages ============== - "NAN_INF_Infinity": "Infinity is not part of the original JSON specification", - "NAN_INF_NaN": "NaN is not part of the original JSON specification", + "NAN_INF_Infinity": "Infinity non fa parte della specifica JSON originale", + "NAN_INF_NaN": "NaN non fa parte della specifica JSON originale", // ============== JSONC messages ============== - "JSONC_JAVASCRIPT_COMMENT": "JavaScript comments are not part of the original JSON specification", + "JSONC_JAVASCRIPT_COMMENT": "I commenti JavaScript non fanno parte della specifica JSON originale", // ============== JSON5 messages ============== - "JSON5_WHITESPACE_CHAR": "Whitespace characters other than ' ', '\\t', '\\r', and '\\n' are only allowed in JSON5", - "JSON5_SINGLEQUOTED_STRING": "Singlequoted strings are only allowed in JSON5", - "JSON5_ESCAPED_NEWLINE": "Escaped newline characters are only allowed in JSON5", - "JSON5_X_ESCAPE": "\\x escapes are only allowed in JSON5", - "JSON5_ESCAPED_CHAR": "Escaped char '{0}' is only valid in JSON5", - "JSON5_UNQUOTED_KEY": "Unquoted keys are only supported in JSON5", - "JSON5_NUM_LEADING_PLUS": "Leading + signs in numbers are not allowed except in JSON5", - "JSON5_HEX_NUM": "Hexadecimal numbers are only part of JSON5", - "JSON5_NUM_LEADING_DECIMAL_POINT": "Numbers with a leading decimal point are only part of JSON5", - "JSON5_COMMA_AFTER_LAST_ELEMENT_ARRAY": "Comma after last element of array", - "JSON5_COMMA_AFTER_LAST_ELEMENT_OBJECT": "Comma after last key-value pair of object", + "JSON5_WHITESPACE_CHAR": "I caratteri di spazio diverso da ' ', '\\t', '\\r' e '\\n' sono consentiti solo in JSON5", + "JSON5_SINGLEQUOTED_STRING": "Le stringhe tra virgolette singole sono consentite solo in JSON5", + "JSON5_ESCAPED_NEWLINE": "I caratteri di nuova riga con escape sono consentiti solo in JSON5", + "JSON5_X_ESCAPE": "\\x escape sono consentiti solo in JSON5", + "JSON5_ESCAPED_CHAR": "Solo in JSON5 è possibile eseguire l'escape del carattere '{0}'.", + "JSON5_UNQUOTED_KEY": "Le chiavi senza virgolette sono supportate solo in JSON5", + "JSON5_NUM_LEADING_PLUS": "I segni + iniziali nei numeri non sono consentiti tranne che in JSON5", + "JSON5_HEX_NUM": "I numeri esadecimali sono solo una parte di JSON5", + "JSON5_NUM_LEADING_DECIMAL_POINT": "I numeri con un punto decimale iniziale sono solo una parte di JSON5", + "JSON5_COMMA_AFTER_LAST_ELEMENT_ARRAY": "Virgola dopo l'ultimo elemento dell'array", + "JSON5_COMMA_AFTER_LAST_ELEMENT_OBJECT": "Virgola dopo l'ultima coppia chiave-valore dell'oggetto", + "JSON5_NUM_TRAILING_DECIMAL_POINT": "I numeri con un punto decimale finale sono solo una parte di JSON5", // ============== BAD messages ============== - "JSON5_NUM_TRAILING_DECIMAL_POINT": "Numbers with a trailing decimal point are only part of JSON5", - "BAD_UNTERMINATED_MULTILINE_COMMENT": "Unterminated multi-line comment", - "BAD_PYTHON_COMMENT": "Python-style '#' comments are not part of any well-accepted JSON specification", - "BAD_STRING_CONTAINS_NEWLINE": "String literal contains newline", - "BAD_KEY_CONTAINS_NEWLINE": "Object key contains newline", - "BAD_UNTERMINATED_STRING": "Unterminated string literal starting at position {0}", - "BAD_INVALID_UNQUOTED_KEY": "No valid unquoted key beginning at {0}", - "BAD_PYTHON_nan": "nan is not a valid representation of Not a Number in JSON", - "BAD_PYTHON_None": "None is not an accepted part of any JSON specification", - "BAD_PYTHON_inf": "inf is not the correct representation of Infinity in JSON", - "BAD_UNNECESSARY_LEADING_0": "Numbers with an unnecessary leading 0 (like \"01\") are not part of any JSON specification", - "BAD_SLASH_FRACTION": "Fractions of the form 1/3 are not part of any JSON specification", - "BAD_NUMBER_INVALID_FORMAT": "Number string {0} had bad format", - "BAD_TWO_CONSECUTIVE_COMMAS_ARRAY": "Two consecutive commas after element {0} of array", - "BAD_COMMA_BEFORE_FIRST_ELEMENT_ARRAY": "Comma before first value in array", - "BAD_ARRAY_ENDSWITH_CURLYBRACE": "Tried to terminate an array with '}'", - "BAD_NO_COMMA_BETWEEN_ARRAY_ITEMS": "No comma between array members", - "BAD_COLON_BETWEEN_ARRAY_ITEMS": "':' (key-value separator) where ',' between array members expected. Maybe you forgot to close the array?", - "BAD_UNTERMINATED_ARRAY": "Unterminated array", - "BAD_TWO_CONSECUTIVE_COMMAS_OBJECT": "Two consecutive commas after key-value pair {0} of object", - "BAD_COMMA_BEFORE_FIRST_PAIR_OBJECT": "Comma before first value in object", - "BAD_NO_COMMA_BETWEEN_OBJECT_PAIRS": "No comma after key-value pair {0} in object", - "BAD_UNTERMINATED_OBJECT": "Unterminated object", - "BAD_OBJECT_ENDSWITH_SQUAREBRACE": "Tried to terminate object with ']'", - "BAD_COLON_BETWEEN_OBJECT_PAIRS": "':' found instead of comma after key-value pair", - "BAD_CHAR_WHERE_COLON_EXPECTED": "Found '{0}' after key {1} when colon expected", - "BAD_NO_COLON_BETWEEN_OBJECT_KEY_VALUE": "No ':' between key {0} and value {0} of object", - "BAD_DUPLICATE_KEY": "Object has multiple of key \"{0}\"", - "BAD_PYTHON_True": "True is not an accepted part of any JSON specification", - "BAD_PYTHON_False": "False is not an accepted part of any JSON specification", - "BAD_JAVASCRIPT_undefined": "undefined is not part of any JSON specification", - "BAD_CHAR_INSTEAD_OF_EOF": "At end of valid JSON document, got {0} instead of EOF", + "BAD_UNTERMINATED_MULTILINE_COMMENT": "Commento su più righe senza terminazione", + "BAD_PYTHON_COMMENT": "I commenti '#' in stile Python non fanno parte di alcuna specifica JSON ben accettata", + "BAD_STRING_CONTAINS_NEWLINE": "La stringa letterale contiene una nuova riga", + "BAD_KEY_CONTAINS_NEWLINE": "La chiave dell'oggetto contiene una nuova riga", + "BAD_UNTERMINATED_STRING": "Stringa letterale senza terminazione che inizia dalla posizione {0}", + "BAD_INVALID_UNQUOTED_KEY": "Nessuna chiave valida senza virgolette che inizia alle {0}", + "BAD_PYTHON_nan": "nan non è una rappresentazione valida di Not a Number in JSON", + "BAD_PYTHON_None": "None non è una parte accettata di alcuna specifica JSON", + "BAD_PYTHON_inf": "inf non è la rappresentazione corretta di Infinity in JSON", + "BAD_UNNECESSARY_LEADING_0": "I numeri con uno 0 iniziale non necessario (come \"01\") non fanno parte di alcuna specifica JSON", + "BAD_SLASH_FRACTION": "Le frazioni della forma 1/3 non fanno parte di alcuna specifica JSON", + "BAD_NUMBER_INVALID_FORMAT": "La stringa numerica {0} aveva un formato non valido", + "BAD_TWO_CONSECUTIVE_COMMAS_ARRAY": "Due virgole consecutive dopo l'elemento {0} dell'array", + "BAD_COMMA_BEFORE_FIRST_ELEMENT_ARRAY": "Virgola prima del primo valore nell'array", + "BAD_ARRAY_ENDSWITH_CURLYBRACE": "Ho provato a terminare un array con '}'", + "BAD_NO_COMMA_BETWEEN_ARRAY_ITEMS": "Nessuna virgola tra i membri dell'array", + "BAD_COLON_BETWEEN_ARRAY_ITEMS": "':' (separatore del valore-chiave) dove ',' è previsto tra i membri dell'array. Forse hai dimenticato di chiudere l'array?", + "BAD_UNTERMINATED_ARRAY": "Array non terminato", + "BAD_TWO_CONSECUTIVE_COMMAS_OBJECT": "Due virgole consecutive dopo la coppia chiave-valore {0} dell'oggetto", + "BAD_COMMA_BEFORE_FIRST_PAIR_OBJECT": "Virgola prima del primo valore nell'oggetto", + "BAD_NO_COMMA_BETWEEN_OBJECT_PAIRS": "Nessuna virgola dopo la coppia chiave-valore {0} nell'oggetto", + "BAD_UNTERMINATED_OBJECT": "Oggetto non terminato", + "BAD_OBJECT_ENDSWITH_SQUAREBRACE": "Ho provato a terminare l'oggetto con ']'", + "BAD_COLON_BETWEEN_OBJECT_PAIRS": "':' trovato al posto della virgola dopo la coppia chiave-valore", + "BAD_CHAR_WHERE_COLON_EXPECTED": "Trovato '{0}' dopo la chiave {1} quando erano previsti i due punti", + "BAD_NO_COLON_BETWEEN_OBJECT_KEY_VALUE": "Nessun ':' tra la chiave {0} e il valore {0} dell'oggetto", + "BAD_DUPLICATE_KEY": "L'oggetto ha multipli della chiave \"{0}\"", + "BAD_PYTHON_True": "True non è una parte accettata di alcuna specifica JSON", + "BAD_PYTHON_False": "False non è una parte accettata di alcuna specifica JSON", + "BAD_JAVASCRIPT_undefined": "undefined non fa parte di alcuna specifica JSON", + "BAD_CHAR_INSTEAD_OF_EOF": "Alla fine del documento JSON valido, ho ricevuto {0} invece di EOF", // ============== FATAL messages ============== - "FATAL_EXPECTED_JAVASCRIPT_COMMENT": "Expected JavaScript comment after '/'", - "FATAL_HEXADECIMAL_TOO_SHORT": "Could not find valid hexadecimal of length {0}", - "FATAL_NUL_CHAR": "'\\x00' is the null character, which is illegal in JsonTools", - "FATAL_UNTERMINATED_KEY": "Unterminated object key", - "FATAL_INVALID_STARTSWITH_n": "Expected literal starting with 'n' to be null or nan", - "FATAL_PLUS_OR_MINUS_AT_EOF": "'{0}' sign at end of document", - "FATAL_INVALID_STARTSWITH_I": "Expected literal starting with 'I' to be Infinity", - "FATAL_INVALID_STARTSWITH_N": "Expected literal starting with 'N' to be NaN or None", - "FATAL_INVALID_STARTSWITH_i": "Expected literal starting with 'i' to be inf", - "FATAL_HEX_INT_OVERFLOW": "Hex number too large for a 64-bit signed integer type", - "FATAL_SECOND_DECIMAL_POINT": "Number with a decimal point in the wrong place", - "FATAL_NUM_TRAILING_e_OR_E": "Scientific notation 'e' with no number following", - "FATAL_MAX_RECURSION_DEPTH": "Maximum recursion depth (512) reached", - "FATAL_UNEXPECTED_EOF": "Unexpected end of file", - "FATAL_NO_VALID_LITERAL_POSSIBLE": "No valid literal possible", - "FATAL_INVALID_STARTSWITH_t": "Expected literal starting with 't' to be true", - "FATAL_INVALID_STARTSWITH_f": "Expected literal starting with 'f' to be false", - "FATAL_INVALID_STARTSWITH_T": "Expected literal starting with 'T' to be True", - "FATAL_INVALID_STARTSWITH_F": "Expected literal starting with 'F' to be False", - "FATAL_INVALID_STARTSWITH_u": "Expected literal starting with 'u' to be undefined", - "FATAL_BADLY_LOCATED_CHAR": "Badly located character {0}", - "FATAL_NO_INPUT": "No input", - "FATAL_ONLY_WHITESPACE_COMMENTS": "Json string is only whitespace and maybe comments", - "FATAL_JSONL_NOT_ONE_DOC_PER_LINE": "JSON Lines document does not contain exactly one JSON document per line", + "FATAL_EXPECTED_JAVASCRIPT_COMMENT": "Previsto commento JavaScript dopo '/'", + "FATAL_HEXADECIMAL_TOO_SHORT": "Impossibile trovare un esadecimale valido di lunghezza {0}", + "FATAL_NUL_CHAR": "'\\x00' è il carattere nullo, che non è valido in JsonTools", + "FATAL_UNTERMINATED_KEY": "Chiave oggetto non terminata", + "FATAL_INVALID_STARTSWITH_n": "Un letterale che inizia con 'n' deve essere null o nan", + "FATAL_PLUS_OR_MINUS_AT_EOF": "Segni '{0}' alla fine del documento", + "FATAL_INVALID_STARTSWITH_I": "Un letterale che inizia con 'I' deve essere Infinity", + "FATAL_INVALID_STARTSWITH_N": "Un letterale che inizia con 'N' deve essere Nan o None", + "FATAL_INVALID_STARTSWITH_i": "Un letterale che inizia con 'i' deve essere inf", + "FATAL_HEX_INT_OVERFLOW": "Numero esadecimale troppo grande per un tipo intero con segno a 64 bit", + "FATAL_SECOND_DECIMAL_POINT": "Numero con un punto decimale al posto sbagliato", + "FATAL_NUM_TRAILING_e_OR_E": "Notazione scientifica 'e' senza numero seguito", + "FATAL_MAX_RECURSION_DEPTH": "Profondità massima di ricorsione (512) raggiunta", + "FATAL_UNEXPECTED_EOF": "Fine del file imprevista", + "FATAL_NO_VALID_LITERAL_POSSIBLE": "Nessun valore letterale valido possibile", + "FATAL_INVALID_STARTSWITH_t": "Un letterale che inizia con 't' deve essere true", + "FATAL_INVALID_STARTSWITH_f": "Un letterale che inizia con 'f' deve essere false", + "FATAL_INVALID_STARTSWITH_T": "Un letterale che inizia con 'T' deve essere True", + "FATAL_INVALID_STARTSWITH_F": "Un letterale che inizia con 'F' deve essere False", + "FATAL_INVALID_STARTSWITH_u": "Un letterale che inizia con 'u' deve essere undefined", + "FATAL_BADLY_LOCATED_CHAR": "Personaggio {0} mal posizionato", + "FATAL_NO_INPUT": "Nessun input", + "FATAL_ONLY_WHITESPACE_COMMENTS": "L'input è solo spazio bianco e forse commenti", + "FATAL_JSONL_NOT_ONE_DOC_PER_LINE": "Il documento Linee JSON non contiene esattamente un documento JSON per riga", // ============== SCHEMA messages ============== - "SCHEMA_TYPE_MISMATCH": "found type {0}, expected type {1}.", - "SCHEMA_TYPE_ARRAY_MISMATCH": "found type {0}, expected one of the types {1}.", - "SCHEMA_VALUE_NOT_IN_ENUM": "found value {0}, but the only allowed values are {1}.", - "SCHEMA_ARRAY_TOO_LONG": "array required to have no more than {0} items, but it has {1} items.", - "SCHEMA_ARRAY_TOO_SHORT": "array required to have at least {0} items, but it has {1} items.", - "SCHEMA_CONTAINS_VIOLATION": "Array must have between {0} and {1} items that match \"contains\" schema {2}", - "SCHEMA_MINCONTAINS_VIOLATION": "Array must have at least {0} items that match \"contains\" schema {1}", - "SCHEMA_OBJECT_MISSING_REQUIRED_KEY": "object missing required key {0}", - "SCHEMA_FALSE_SCHEMA": "the schema is `false`, so nothing will validate.", - "SCHEMA_STRING_DOESNT_MATCH_PATTERN": "string '{0}' does not match regex '{1}'", - "SCHEMA_RECURSION_LIMIT_REACHED": "validation has a maximum depth of 128", - "SCHEMA_NUMBER_LESS_THAN_MIN": "number {0} less than minimum {1}", - "SCHEMA_NUMBER_GREATER_THAN_MAX": "number {0} greater than maximum {1}", - "SCHEMA_NUMBER_LESSEQ_EXCLUSIVE_MIN": "number {0} less than or equal to exclusive minimum {1}", - "SCHEMA_NUMBER_GREATEREQ_EXCLUSIVE_MAX": "number {0} greater than or equal to exclusive maximum {1}", - "SCHEMA_STRING_TOO_LONG": "string {0} had greater than maxLength {1}", - "SCHEMA_STRING_TOO_SHORT": "string {0} had less than minLength {1}" + "SCHEMA_TYPE_MISMATCH": "tipo trovato {0}, tipo previsto {1}.", + "SCHEMA_TYPE_ARRAY_MISMATCH": "tipo trovato {0}, previsto uno dei tipi {1}.", + "SCHEMA_VALUE_NOT_IN_ENUM": "valore trovato {0}, ma gli unici valori consentiti sono {1}.", + "SCHEMA_ARRAY_TOO_LONG": "l'array non deve contenere più di {0} elementi, ma ha {1} elementi.", + "SCHEMA_ARRAY_TOO_SHORT": "l'array deve avere almeno {0} elementi, ma ha {1} elementi.", + "SCHEMA_CONTAINS_VIOLATION": "L'array deve contenere tra {0} e {1} elementi che corrispondono a \"contains\" lo schema {2}", + "SCHEMA_MINCONTAINS_VIOLATION": "L'array deve contenere almeno {0} elementi che corrispondono a \"contains\" schema {1}", + "SCHEMA_OBJECT_MISSING_REQUIRED_KEY": "Oggetto mancante \"required\" chiave {0}", + "SCHEMA_FALSE_SCHEMA": "lo schema è `false`, quindi nulla supererà la convalida", + "SCHEMA_STRING_DOESNT_MATCH_PATTERN": "la stringa '{0}' non corrisponde alla regex '{1}'", + "SCHEMA_RECURSION_LIMIT_REACHED": "la convalida ha una profondità massima di 128", + "SCHEMA_NUMBER_LESS_THAN_MIN": "numero {0} inferiore al minimo {1}", + "SCHEMA_NUMBER_GREATER_THAN_MAX": "numero {0} maggiore del massimo {1}", + "SCHEMA_NUMBER_LESSEQ_EXCLUSIVE_MIN": "numero {0} inferiore o uguale al minimo esclusivo {1}", + "SCHEMA_NUMBER_GREATEREQ_EXCLUSIVE_MAX": "numero {0} maggiore o uguale al massimo esclusivo {1}", + "SCHEMA_STRING_TOO_LONG": "la stringa {0} era maggiore di maxLength {1}", + "SCHEMA_STRING_TOO_SHORT": "la stringa {0} aveva meno di minLength {1}" } }