Comparing version 0.0.6 to 0.1.0
@@ -41,2 +41,5 @@ 'use strict'; | ||
break; | ||
case 'maximum': | ||
out = 'sollte ' + (e.params.condition) + ' sein'; | ||
break; | ||
case 'maxItems': | ||
@@ -65,3 +68,3 @@ out = ''; | ||
break; | ||
case 'maximum': | ||
case 'minimum': | ||
out = 'sollte ' + (e.params.condition) + ' sein'; | ||
@@ -92,5 +95,2 @@ break; | ||
break; | ||
case 'minimum': | ||
out = 'sollte ' + (e.params.condition) + ' sein'; | ||
break; | ||
case 'multipleOf': | ||
@@ -97,0 +97,0 @@ out = 'sollte ein Vielfaches von ' + (e.schema) + ' sein'; |
@@ -42,2 +42,5 @@ 'use strict'; | ||
break; | ||
case 'maximum': | ||
out = 'should be ' + (e.params.condition); | ||
break; | ||
case 'maxItems': | ||
@@ -69,3 +72,3 @@ out = ''; | ||
break; | ||
case 'maximum': | ||
case 'minimum': | ||
out = 'should be ' + (e.params.condition); | ||
@@ -99,5 +102,2 @@ break; | ||
break; | ||
case 'minimum': | ||
out = 'should be ' + (e.params.condition); | ||
break; | ||
case 'multipleOf': | ||
@@ -104,0 +104,0 @@ out = 'should be multiple of ' + (e.schema); |
@@ -41,2 +41,5 @@ 'use strict'; | ||
break; | ||
case 'maximum': | ||
out = 'kell legyen ' + (e.params.condition); | ||
break; | ||
case 'maxItems': | ||
@@ -57,3 +60,3 @@ out = ''; | ||
break; | ||
case 'maximum': | ||
case 'minimum': | ||
out = 'kell legyen ' + (e.params.condition); | ||
@@ -76,5 +79,2 @@ break; | ||
break; | ||
case 'minimum': | ||
out = 'kell legyen ' + (e.params.condition); | ||
break; | ||
case 'multipleOf': | ||
@@ -81,0 +81,0 @@ out = 'a többszöröse kell legyen a következő számnak: ' + (e.schema); |
@@ -44,2 +44,5 @@ 'use strict'; | ||
break; | ||
case 'maximum': | ||
out = 'powinien być ' + (e.params.condition); | ||
break; | ||
case 'maxItems': | ||
@@ -73,3 +76,3 @@ out = ''; | ||
break; | ||
case 'maximum': | ||
case 'minimum': | ||
out = 'powinien być ' + (e.params.condition); | ||
@@ -105,5 +108,2 @@ break; | ||
break; | ||
case 'minimum': | ||
out = 'powinien być ' + (e.params.condition); | ||
break; | ||
case 'multipleOf': | ||
@@ -110,0 +110,0 @@ out = 'powinien być wielokrotnością ' + (e.schema); |
@@ -44,2 +44,5 @@ 'use strict'; | ||
break; | ||
case 'maximum': | ||
out = 'должен быть ' + (e.params.condition); | ||
break; | ||
case 'maxItems': | ||
@@ -77,3 +80,3 @@ out = ''; | ||
break; | ||
case 'maximum': | ||
case 'minimum': | ||
out = 'должен быть ' + (e.params.condition); | ||
@@ -113,5 +116,2 @@ break; | ||
break; | ||
case 'minimum': | ||
out = 'должен быть ' + (e.params.condition); | ||
break; | ||
case 'multipleOf': | ||
@@ -118,0 +118,0 @@ out = 'должен быть кратным ' + (e.schema); |
{ | ||
"name": "ajv-i18n", | ||
"version": "0.0.6", | ||
"version": "0.1.0", | ||
"description": "Internationalised error messages for ajv JSON-Schema validator", | ||
@@ -5,0 +5,0 @@ "main": "localize/index.js", |
@@ -10,5 +10,11 @@ # ajv-i18n | ||
At the moment these locales are supported: `de`, `en`, `hu`, `pl` and `ru`. | ||
|locale|language |contributor| | ||
|------|:-------:|:---------:| | ||
|de|German |[jmtoball](https://github.com/jmtoball)| | ||
|en|English || | ||
|hu|Hungarian|[szilveszter9](https://github.com/szilveszter9)| | ||
|pl|Polish |[danielzurawski](https://github.com/danielzurawski)| | ||
|ru|Russian || | ||
Please contribute those that you need to use. | ||
Please contribute locales that you need to use if they are missing. | ||
@@ -15,0 +21,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
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
23914
86