Skip to content

Commit

Permalink
Build from ES6
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre committed Oct 21, 2015
1 parent b7ccb1a commit 13a7956
Show file tree
Hide file tree
Showing 55 changed files with 1,327 additions and 4,213 deletions.
38 changes: 6 additions & 32 deletions dist/i18n/ar.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,7 @@
/*!
* Parsleyjs
* Guillaume Potier - <guillaume@wisembly.com>
* Version 2.2.0-rc2 - built Tue Oct 06 2015 10:20:13
* MIT Licensed
*
*/
!(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module depending on jQuery.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Register plugin with global jQuery object.
factory(jQuery);
}
}(function ($) {
// small hack for requirejs if jquery is loaded through map and not path
// see http://requirejs.org/docs/jquery.html
if ('undefined' === typeof $ && 'undefined' !== typeof window.jQuery)
$ = window.jQuery;
// ParsleyConfig definition if not already set
window.ParsleyConfig = window.ParsleyConfig || {};
window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
// Define then the messages
window.ParsleyConfig.i18n.ar = jQuery.extend(window.ParsleyConfig.i18n.ar || {}, {
// Validation errors messages for Parsley
// Load this after Parsley

Parsley.addMessages('ar', {
defaultMessage: "تأكد من صحة القيمة المدخل",
type: {
email: "تأكد من إدخال بريد الكتروني صحيح",
Expand All @@ -49,7 +25,5 @@ window.ParsleyConfig.i18n.ar = jQuery.extend(window.ParsleyConfig.i18n.ar || {},
check: "يجب اختيار بين %s و %s خيار.",
equalto: "تأكد من تطابق القيمتين المدخلة."
});
// If file is loaded after Parsley main file, auto-load locale
if ('undefined' !== typeof window.ParsleyValidator)
window.ParsleyValidator.addCatalog('ar', window.ParsleyConfig.i18n.ar, true);
}));

Parsley.setLocale('ar');
38 changes: 6 additions & 32 deletions dist/i18n/bg.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,7 @@
/*!
* Parsleyjs
* Guillaume Potier - <guillaume@wisembly.com>
* Version 2.2.0-rc2 - built Tue Oct 06 2015 10:20:13
* MIT Licensed
*
*/
!(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module depending on jQuery.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Register plugin with global jQuery object.
factory(jQuery);
}
}(function ($) {
// small hack for requirejs if jquery is loaded through map and not path
// see http://requirejs.org/docs/jquery.html
if ('undefined' === typeof $ && 'undefined' !== typeof window.jQuery)
$ = window.jQuery;
// ParsleyConfig definition if not already set
window.ParsleyConfig = window.ParsleyConfig || {};
window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
// Define then the messages
window.ParsleyConfig.i18n.bg = jQuery.extend(window.ParsleyConfig.i18n.bg || {}, {
// Validation errors messages for Parsley
// Load this after Parsley

Parsley.addMessages('bg', {
defaultMessage: "Невалидна стойност.",
type: {
email: "Невалиден имейл адрес.",
Expand All @@ -49,7 +25,5 @@ window.ParsleyConfig.i18n.bg = jQuery.extend(window.ParsleyConfig.i18n.bg || {},
check: "Трябва да изберете между %s и %s стойности.",
equalto: "Стойността трябва да съвпада."
});
// If file is loaded after Parsley main file, auto-load locale
if ('undefined' !== typeof window.ParsleyValidator)
window.ParsleyValidator.addCatalog('bg', window.ParsleyConfig.i18n.bg, true);
}));

Parsley.setLocale('bg');
38 changes: 6 additions & 32 deletions dist/i18n/ca.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,7 @@
/*!
* Parsleyjs
* Guillaume Potier - <guillaume@wisembly.com>
* Version 2.2.0-rc2 - built Tue Oct 06 2015 10:20:13
* MIT Licensed
*
*/
!(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module depending on jQuery.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Register plugin with global jQuery object.
factory(jQuery);
}
}(function ($) {
// small hack for requirejs if jquery is loaded through map and not path
// see http://requirejs.org/docs/jquery.html
if ('undefined' === typeof $ && 'undefined' !== typeof window.jQuery)
$ = window.jQuery;
// ParsleyConfig definition if not already set
window.ParsleyConfig = window.ParsleyConfig || {};
window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
// Define then the messages
window.ParsleyConfig.i18n.ca = jQuery.extend(window.ParsleyConfig.i18n.ca || {}, {
// Validation errors messages for Parsley
// Load this after Parsley

Parsley.addMessages('ca', {
defaultMessage: "Aquest valor sembla ser invàlid.",
type: {
email: "Aquest valor ha de ser una adreça de correu electrònic vàlida.",
Expand All @@ -49,7 +25,5 @@ window.ParsleyConfig.i18n.ca = jQuery.extend(window.ParsleyConfig.i18n.ca || {},
check: "Has de marcar entre %s i %s opcions.",
equalto: "Aquest valor ha de ser el mateix."
});
// If file is loaded after Parsley main file, auto-load locale
if ('undefined' !== typeof window.ParsleyValidator)
window.ParsleyValidator.addCatalog('ca', window.ParsleyConfig.i18n.ca, true);
}));

Parsley.setLocale('ca');
31 changes: 4 additions & 27 deletions dist/i18n/cs.extra.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,7 @@
/*!
* Parsleyjs
* Guillaume Potier - <guillaume@wisembly.com>
* Version 2.2.0-rc2 - built Tue Oct 06 2015 10:20:13
* MIT Licensed
*
*/
!(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module depending on jQuery.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Register plugin with global jQuery object.
factory(jQuery);
}
}(function ($) {
// small hack for requirejs if jquery is loaded through map and not path
// see http://requirejs.org/docs/jquery.html
if ('undefined' === typeof $ && 'undefined' !== typeof window.jQuery)
$ = window.jQuery;
window.ParsleyConfig = window.ParsleyConfig || {};
window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
window.ParsleyConfig.i18n.cs = jQuery.extend(window.ParsleyConfig.i18n.cs || {}, {
// Validation errors messages for Parsley
// Load this after Parsley

Parsley.addMessages('cs', {
dateiso: "Tato položka musí být datum ve formátu RRRR-MM-DD.",
minwords: "Tato položka musí mít délku nejméně %s slov.",
maxwords: "Tato položka musí mít délku nejvíce %s slov.",
Expand All @@ -33,4 +11,3 @@ window.ParsleyConfig.i18n.cs = jQuery.extend(window.ParsleyConfig.i18n.cs || {},
lt: "Tato hodnota musí být menší.",
lte: "Tato hodnota musí být menší nebo rovna."
});
}));
38 changes: 6 additions & 32 deletions dist/i18n/cs.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,7 @@
/*!
* Parsleyjs
* Guillaume Potier - <guillaume@wisembly.com>
* Version 2.2.0-rc2 - built Tue Oct 06 2015 10:20:13
* MIT Licensed
*
*/
!(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module depending on jQuery.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Register plugin with global jQuery object.
factory(jQuery);
}
}(function ($) {
// small hack for requirejs if jquery is loaded through map and not path
// see http://requirejs.org/docs/jquery.html
if ('undefined' === typeof $ && 'undefined' !== typeof window.jQuery)
$ = window.jQuery;
// ParsleyConfig definition if not already set
window.ParsleyConfig = window.ParsleyConfig || {};
window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
// Define then the messages
window.ParsleyConfig.i18n.cs = jQuery.extend(window.ParsleyConfig.i18n.cs || {}, {
// Validation errors messages for Parsley
// Load this after Parsley

Parsley.addMessages('cs', {
defaultMessage: "Tato položka je neplatná.",
type: {
email: "Tato položka musí být e-mailová adresa.",
Expand All @@ -49,7 +25,5 @@ window.ParsleyConfig.i18n.cs = jQuery.extend(window.ParsleyConfig.i18n.cs || {},
check: "Je nutné vybrat od %s do %s možností.",
equalto: "Tato položka musí být stejná."
});
// If file is loaded after Parsley main file, auto-load locale
if ('undefined' !== typeof window.ParsleyValidator)
window.ParsleyValidator.addCatalog('cs', window.ParsleyConfig.i18n.cs, true);
}));

Parsley.setLocale('cs');
38 changes: 6 additions & 32 deletions dist/i18n/da.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,7 @@
/*!
* Parsleyjs
* Guillaume Potier - <guillaume@wisembly.com>
* Version 2.2.0-rc2 - built Tue Oct 06 2015 10:20:13
* MIT Licensed
*
*/
!(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module depending on jQuery.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Register plugin with global jQuery object.
factory(jQuery);
}
}(function ($) {
// small hack for requirejs if jquery is loaded through map and not path
// see http://requirejs.org/docs/jquery.html
if ('undefined' === typeof $ && 'undefined' !== typeof window.jQuery)
$ = window.jQuery;
// ParsleyConfig definition if not already set
window.ParsleyConfig = window.ParsleyConfig || {};
window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
// Define then the messages
window.ParsleyConfig.i18n.da = jQuery.extend(window.ParsleyConfig.i18n.da || {}, {
// Validation errors messages for Parsley
// Load this after Parsley

Parsley.addMessages('da', {
defaultMessage: "Indtast venligst en korrekt værdi.",
type: {
email: "Indtast venligst en korrekt emailadresse.",
Expand All @@ -49,7 +25,5 @@ window.ParsleyConfig.i18n.da = jQuery.extend(window.ParsleyConfig.i18n.da || {},
check: "Vælg mellem %s og %s muligheder.",
equalto: "De to felter er ikke ens."
});
// If file is loaded after Parsley main file, auto-load locale
if ('undefined' !== typeof window.ParsleyValidator)
window.ParsleyValidator.addCatalog('da', window.ParsleyConfig.i18n.da, true);
}));

Parsley.setLocale('da');
31 changes: 4 additions & 27 deletions dist/i18n/de.extra.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,7 @@
/*!
* Parsleyjs
* Guillaume Potier - <guillaume@wisembly.com>
* Version 2.2.0-rc2 - built Tue Oct 06 2015 10:20:13
* MIT Licensed
*
*/
!(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module depending on jQuery.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Register plugin with global jQuery object.
factory(jQuery);
}
}(function ($) {
// small hack for requirejs if jquery is loaded through map and not path
// see http://requirejs.org/docs/jquery.html
if ('undefined' === typeof $ && 'undefined' !== typeof window.jQuery)
$ = window.jQuery;
window.ParsleyConfig = window.ParsleyConfig || {};
window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
window.ParsleyConfig.i18n.de = jQuery.extend(window.ParsleyConfig.i18n.de || {}, {
// Validation errors messages for Parsley
// Load this after Parsley

Parsley.addMessages('de', {
dateiso: "Die Eingabe muss ein gültiges Datum sein (YYYY-MM-DD).",
minwords: "Die Eingabe ist zu kurz. Sie muss aus %s oder mehr Wörtern bestehen.",
maxwords: "Die Eingabe ist zu lang. Sie muss aus %s oder weniger Wörtern bestehen.",
Expand All @@ -33,4 +11,3 @@ window.ParsleyConfig.i18n.de = jQuery.extend(window.ParsleyConfig.i18n.de || {},
lt: "Die Eingabe muss kleiner sein.",
lte: "Die Eingabe muss kleiner oder gleich sein."
});
}));
38 changes: 6 additions & 32 deletions dist/i18n/de.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,7 @@
/*!
* Parsleyjs
* Guillaume Potier - <guillaume@wisembly.com>
* Version 2.2.0-rc2 - built Tue Oct 06 2015 10:20:13
* MIT Licensed
*
*/
!(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module depending on jQuery.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Register plugin with global jQuery object.
factory(jQuery);
}
}(function ($) {
// small hack for requirejs if jquery is loaded through map and not path
// see http://requirejs.org/docs/jquery.html
if ('undefined' === typeof $ && 'undefined' !== typeof window.jQuery)
$ = window.jQuery;
// ParsleyConfig definition if not already set
window.ParsleyConfig = window.ParsleyConfig || {};
window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
// Define then the messages
window.ParsleyConfig.i18n.de = jQuery.extend(window.ParsleyConfig.i18n.de || {}, {
// Validation errors messages for Parsley
// Load this after Parsley

Parsley.addMessages('de', {
defaultMessage: "Die Eingabe scheint nicht korrekt zu sein.",
type: {
email: "Die Eingabe muss eine gültige E-Mail-Adresse sein.",
Expand All @@ -49,7 +25,5 @@ window.ParsleyConfig.i18n.de = jQuery.extend(window.ParsleyConfig.i18n.de || {},
check: "Wählen Sie zwischen %s und %s Angaben.",
equalto: "Dieses Feld muss dem anderen entsprechen."
});
// If file is loaded after Parsley main file, auto-load locale
if ('undefined' !== typeof window.ParsleyValidator)
window.ParsleyValidator.addCatalog('de', window.ParsleyConfig.i18n.de, true);
}));

Parsley.setLocale('de');
Loading

0 comments on commit 13a7956

Please # to comment.