ajv-i18n
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -30,2 +30,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -32,0 +35,0 @@ out = 'musí vyhovět "' + (e.keyword) + '" validaci'; |
@@ -29,2 +29,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -31,0 +34,0 @@ out = 'should pass "' + (e.keyword) + '" keyword validation'; |
@@ -28,2 +28,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -30,0 +33,0 @@ out = 'should pass "' + (e.keyword) + '" keyword validation'; |
@@ -28,2 +28,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -30,0 +33,0 @@ out = 'debe pasar la validación de palabra clave "' + (e.keyword) + '"'; |
@@ -28,2 +28,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -30,0 +33,0 @@ out = 'doit être valide selon le critère "' + (e.keyword) + '"'; |
@@ -25,2 +25,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -27,0 +30,0 @@ out = 'should pass "' + (e.keyword) + '" keyword validation'; |
@@ -30,2 +30,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -32,0 +35,0 @@ out = 'should pass "' + (e.keyword) + '" keyword validation'; |
@@ -25,2 +25,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -27,0 +30,0 @@ out = 'should pass "' + (e.keyword) + '" keyword validation'; |
@@ -30,2 +30,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -32,0 +35,0 @@ out = 'powinien przejść walidację "' + (e.keyword) + '"'; |
@@ -30,2 +30,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'должно содержать значение соответствующее схеме'; | ||
break; | ||
case 'custom': | ||
@@ -32,0 +35,0 @@ out = 'должно соответствовать правилу "' + (e.keyword) + '"'; |
@@ -30,2 +30,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -32,0 +35,0 @@ out = 'musí splniť "' + (e.keyword) + '" validáciu'; |
@@ -28,2 +28,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -30,0 +33,0 @@ out = 'bör passera "' + (e.keyword) + '" nyckelord validering'; |
@@ -25,2 +25,5 @@ 'use strict'; | ||
break; | ||
case 'contains': | ||
out = 'should contain a valid item'; | ||
break; | ||
case 'custom': | ||
@@ -27,0 +30,0 @@ out = '应当通过 "' + (e.keyword) + ' 关键词校验"'; |
{ | ||
"name": "ajv-i18n", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "Internationalised error messages for ajv JSON-Schema validator", | ||
@@ -19,4 +19,5 @@ "main": "localize/index.js", | ||
"prepublish": "npm run build", | ||
"test": "npm run build && npm run test-spec && npm run test-browser", | ||
"test": "npm run build && npm run test-cov && npm run test-browser", | ||
"test-spec": "mocha spec/*.spec.js -R spec", | ||
"test-cov": "nyc mocha spec/*.spec.js -R spec", | ||
"test-browser": "npm run bundle-test && scripts/prepare-tests && karma start --single-run --browsers PhantomJS" | ||
@@ -45,2 +46,3 @@ }, | ||
"browserify": "^13.0.0", | ||
"coveralls": "^2.11.16", | ||
"dot": "^1.0.3", | ||
@@ -55,2 +57,3 @@ "jasmine-core": "^2.4.1", | ||
"mocha": "^2.3.2", | ||
"nyc": "^10.1.2", | ||
"phantomjs-prebuilt": "^2.1.4", | ||
@@ -63,3 +66,13 @@ "pre-commit": "^1.1.1", | ||
"ajv": ">=2.0.0" | ||
}, | ||
"nyc": { | ||
"exclude": [ | ||
"**/spec/**", | ||
"node_modules" | ||
], | ||
"reporter": [ | ||
"lcov", | ||
"text-summary" | ||
] | ||
} | ||
} |
@@ -6,2 +6,3 @@ # ajv-i18n | ||
[![npm version](https://badge.fury.io/js/ajv-i18n.svg)](http://badge.fury.io/js/ajv-i18n) | ||
[![Coverage Status](https://coveralls.io/repos/github/epoberezkin/ajv-i18n/badge.svg?branch=master)](https://coveralls.io/github/epoberezkin/ajv-i18n?branch=master) | ||
@@ -8,0 +9,0 @@ |
75601
2188
103
18