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.6 to 0.1.0

8

localize/de/index.js

@@ -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 @@

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