Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ajv-i18n

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ajv-i18n - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

localize/hu/index.js

5

localize/index.js

@@ -5,4 +5,5 @@ 'use strict';

en: require('./en'),
ru: require('./ru'),
pl: require('./pl')
hu: require('./hu'),
pl: require('./pl'),
ru: require('./ru')
};

2

localize/pl/index.js

@@ -110,3 +110,3 @@ 'use strict';

case 'not':
out = 'nie powinien pasować do wzoru z sekcji ' + (e.schema);
out = 'nie powinien pasować do wzoru z sekcji "not"';
break;

@@ -113,0 +113,0 @@ case 'oneOf':

{
"name": "ajv-i18n",
"version": "0.0.4",
"version": "0.0.5",
"description": "Internationalised error messages for ajv JSON-Schema validator",

@@ -37,4 +37,5 @@ "main": "localize/index.js",

"json-schema-test": "^0.1.4",
"mocha": "^2.3.2"
"mocha": "^2.3.2",
"pre-commit": "^1.1.1"
}
}
# ajv-i18n
Internationalised error messages for [Ajv](https://github.com/epoberezkin/ajv) - currently the fastest JSON-Schema validator
[![npm version](https://badge.fury.io/js/ajv-i18n.svg)](http://badge.fury.io/js/ajv-i18n)
## Supported locales
At the moment these locales are supported: `en` and `ru`.
At the moment these locales are supported: `en`, `hu`, `pl` and `ru`.

@@ -36,3 +38,3 @@ Please contribute those that you need to use.

// string with all errors and data paths
console.log(ajv.errorsText(errors, { separator: '\n' }));
console.log(ajv.errorsText(errors, { separator: '\n' }));
}

@@ -39,0 +41,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc