Comparing version 1.6.0 to 2.0.0-beta.0
@@ -27,2 +27,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'musí být konstantní'; | ||
break; | ||
case 'constant': | ||
@@ -53,2 +56,5 @@ out = 'musí být konstantní'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -171,2 +177,5 @@ out = 'musí být ve formátu "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -173,0 +182,0 @@ out = 'musí mýt požadovanou položku ' + (e.params.missingProperty); |
@@ -26,2 +26,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'should be equal to constant'; | ||
break; | ||
case 'constant': | ||
@@ -48,2 +51,5 @@ out = 'should be equal to constant'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -150,2 +156,5 @@ out = 'sollte diesem Format entsprechen: "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -152,0 +161,0 @@ out = 'sollte das erforderliche Attribut ' + (e.params.missingProperty) + ' enthalten'; |
@@ -25,2 +25,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'should be equal to constant'; | ||
break; | ||
case 'constant': | ||
@@ -49,2 +52,5 @@ out = 'should be equal to constant'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -157,2 +163,5 @@ out = 'should match format "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -159,0 +168,0 @@ out = 'should have required property ' + (e.params.missingProperty); |
@@ -25,2 +25,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'debe ser igual a la constante'; | ||
break; | ||
case 'constant': | ||
@@ -51,2 +54,5 @@ out = 'debe ser igual a la constante'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -157,2 +163,5 @@ out = 'debe coincidir con el formato "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -159,0 +168,0 @@ out = 'debe tener la propiedad requerida ' + (e.params.missingProperty); |
@@ -25,2 +25,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'doit être égal à la constante'; | ||
break; | ||
case 'constant': | ||
@@ -43,2 +46,5 @@ out = 'doit être égal à la constante'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -145,2 +151,5 @@ out = 'doit correspondre au format "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -147,0 +156,0 @@ out = 'requiert la propriété ' + (e.params.missingProperty); |
@@ -22,2 +22,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'should be equal to constant'; | ||
break; | ||
case 'constant': | ||
@@ -48,2 +51,5 @@ out = 'should be equal to constant'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -134,2 +140,5 @@ out = 'meg kell feleljen a következő formátumnak: "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -136,0 +145,0 @@ out = 'kell legyen ' + (e.params.missingProperty) + ' tulajdonsága'; |
@@ -27,2 +27,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'should be equal to constant'; | ||
break; | ||
case 'constant': | ||
@@ -51,2 +54,5 @@ out = 'should be equal to constant'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -167,2 +173,5 @@ out = 'deve corrispondere formato "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -169,0 +178,0 @@ out = 'dovrebbe avere attributo richiesta ' + (e.params.missingProperty); |
@@ -22,2 +22,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'should be equal to constant'; | ||
break; | ||
case 'constant': | ||
@@ -40,2 +43,5 @@ out = 'should be equal to constant'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -126,2 +132,5 @@ out = '"' + (e.params.format) + '"形式に揃えなければいけない'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -128,0 +137,0 @@ out = '必要なプロパティ' + (e.params.missingProperty) + 'がなければいけない'; |
@@ -27,2 +27,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'powinien być równy stałej'; | ||
break; | ||
case 'constant': | ||
@@ -51,2 +54,5 @@ out = 'powinien być równy stałej'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -163,2 +169,5 @@ out = 'powinien zgadzać się z formatem "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -165,0 +174,0 @@ out = 'powinien zawierać wymagane pole ' + (e.params.missingProperty); |
@@ -27,2 +27,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'должно быть равно заданному значению'; | ||
break; | ||
case 'constant': | ||
@@ -51,2 +54,5 @@ out = 'должно быть равно заданному значению'; | ||
break; | ||
case 'false schema': | ||
out = 'схема равна false'; | ||
break; | ||
case 'format': | ||
@@ -173,2 +179,5 @@ out = 'должно соответствовать формату "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'имя поля \'' + (e.params.propertyName) + '\' не соответствует схеме'; | ||
break; | ||
case 'required': | ||
@@ -175,0 +184,0 @@ out = 'должно иметь обязательное поле ' + (e.params.missingProperty); |
@@ -27,2 +27,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'musí byť konštanta'; | ||
break; | ||
case 'constant': | ||
@@ -53,2 +56,5 @@ out = 'musí byť konštanta'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -171,2 +177,5 @@ out = 'musí mať formát "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -173,0 +182,0 @@ out = 'musí mať požadovanú položku ' + (e.params.missingProperty); |
@@ -25,2 +25,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = 'bör vara en konstant'; | ||
break; | ||
case 'constant': | ||
@@ -47,2 +50,5 @@ out = 'bör vara en konstant'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -143,2 +149,5 @@ out = 'borde matcha formatet "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -145,0 +154,0 @@ out = 'borde ha den nödvändiga egenskapen ' + (e.params.missingProperty); |
@@ -22,2 +22,5 @@ 'use strict'; | ||
break; | ||
case 'const': | ||
out = '应当等于常量'; | ||
break; | ||
case 'constant': | ||
@@ -40,2 +43,5 @@ out = '应当等于常量'; | ||
break; | ||
case 'false schema': | ||
out = 'boolean schema is false'; | ||
break; | ||
case 'format': | ||
@@ -120,2 +126,5 @@ out = '应当匹配格式 "' + (e.params.format) + '"'; | ||
break; | ||
case 'propertyNames': | ||
out = 'property name \'' + (e.params.propertyName) + '\' is invalid'; | ||
break; | ||
case 'required': | ||
@@ -122,0 +131,0 @@ out = '应当有必需属性 ' + (e.params.missingProperty); |
{ | ||
"name": "ajv-i18n", | ||
"version": "1.6.0", | ||
"version": "2.0.0-beta.0", | ||
"description": "Internationalised error messages for ajv JSON-Schema validator", | ||
@@ -42,3 +42,4 @@ "main": "localize/index.js", | ||
"devDependencies": { | ||
"ajv": ">=2.0.0", | ||
"ajv": "^5.0.3-beta.0", | ||
"ajv-keywords": "^2.0.1-beta.0", | ||
"brfs": "^1.4.3", | ||
@@ -63,3 +64,3 @@ "browserify": "^13.0.0", | ||
"peerDependencies": { | ||
"ajv": ">=2.0.0" | ||
"ajv": ">=5.0.3-beta.0" | ||
}, | ||
@@ -66,0 +67,0 @@ "nyc": { |
@@ -11,17 +11,20 @@ # ajv-i18n | ||
|locale|language |contributor| | ||
|------|:-------:|:---------:| | ||
|🇬🇧 en|English || | ||
|🇨🇿 cz|Czech |[kiskovacs](https://github.com/kiskovacs)| | ||
|🇩🇪 de|German |[jmtoball](https://github.com/jmtoball)| | ||
|🇪🇸 es|Spanish |[jpablom](https://github.com/jpablom)| | ||
|🇫🇷 fr|French |[monlouisj](https://github.com/monlouisj)| | ||
|🇭🇺 hu|Hungarian|[szilveszter9](https://github.com/szilveszter9)| | ||
|🇮🇹 it|Italian |[jasoniangreen](https://github.com/jasoniangreen)| | ||
|🇯🇵 ja|Japanese |[gilgongo](https://github.com/gilgongo)| | ||
|🇵🇱 pl|Polish |[danielzurawski](https://github.com/danielzurawski)| | ||
|🇷🇺 ru|Russian || | ||
|🇸🇰 sk|Slovak |[kiskovacs](https://github.com/kiskovacs)| | ||
|🇸🇪 sv|Swedish |[limmen](https://github.com/Limmen)| | ||
|🇨🇳 zh|Chinese |[jinzhubaofu](https://github.com/jinzhubaofu)| | ||
|locale|language |contributor|draft-04|Ajv v5<sup>\*</sup>|draft-06| | ||
|------|:-------:|:---------:|:------:|:------:|:------:| | ||
|🇬🇧 en|English |[epoberezkin](https://github.com/epoberezkin)|✓|✓|✓| | ||
|🇨🇿 cz|Czech |[kiskovacs](https://github.com/kiskovacs)|✓|✓|-| | ||
|🇩🇪 de|German |[jmtoball](https://github.com/jmtoball)|✓|-|-| | ||
|🇪🇸 es|Spanish |[jpablom](https://github.com/jpablom)|✓|✓|-| | ||
|🇫🇷 fr|French |[monlouisj](https://github.com/monlouisj)|✓|✓|-| | ||
|🇭🇺 hu|Hungarian|[szilveszter9](https://github.com/szilveszter9)|✓|-|-| | ||
|🇮🇹 it|Italian |[jasoniangreen](https://github.com/jasoniangreen)|✓|-|-| | ||
|🇯🇵 ja|Japanese |[gilgongo](https://github.com/gilgongo)|✓|-|-| | ||
|🇵🇱 pl|Polish |[danielzurawski](https://github.com/danielzurawski)|✓|✓|-| | ||
|🇷🇺 ru|Russian |[epoberezkin](https://github.com/epoberezkin)|✓|✓|✓| | ||
|🇸🇰 sk|Slovak |[kiskovacs](https://github.com/kiskovacs)|✓|✓|-| | ||
|🇸🇪 sv|Swedish |[limmen](https://github.com/Limmen)|✓|✓|-| | ||
|🇨🇳 zh|Chinese |[jinzhubaofu](https://github.com/jinzhubaofu)|✓|✓|-| | ||
<sup>\*</sup> v5 is a special mode in Ajv version 4.x.x | ||
Please contribute locales that you need to use if they are missing. | ||
@@ -28,0 +31,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79750
2305
106
19
1