first
This commit is contained in:
21
plugins/bootstrap-validator/0.5.0/dist/css/bootstrapValidator.css
vendored
Normal file
21
plugins/bootstrap-validator/0.5.0/dist/css/bootstrapValidator.css
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
|
||||
* BootstrapValidator (http://bootstrapvalidator.com)
|
||||
|
||||
* The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
|
||||
|
||||
*
|
||||
|
||||
* @author http://twitter.com/nghuuphuoc
|
||||
|
||||
* @copyright (c) 2013 - 2014 Nguyen Huu Phuoc
|
||||
|
||||
* @license MIT
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
.bv-form .help-block {
|
||||
|
||||
margin-bottom: 0;
|
||||
11
plugins/bootstrap-validator/0.5.0/dist/css/bootstrapValidator.min.css
vendored
Normal file
11
plugins/bootstrap-validator/0.5.0/dist/css/bootstrapValidator.min.css
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
|
||||
* BootstrapValidator (http://bootstrapvalidator.com)
|
||||
|
||||
* The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
|
||||
|
||||
*
|
||||
|
||||
* @version v0.5.0, built on 2014-07-14 4:31:02 PM
|
||||
|
||||
* @author https://twitter.com/nghuuphuoc
|
||||
6478
plugins/bootstrap-validator/0.5.0/dist/js/bootstrapValidator.js
vendored
Normal file
6478
plugins/bootstrap-validator/0.5.0/dist/js/bootstrapValidator.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
12
plugins/bootstrap-validator/0.5.0/dist/js/bootstrapValidator.min.js
vendored
Normal file
12
plugins/bootstrap-validator/0.5.0/dist/js/bootstrapValidator.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
326
plugins/bootstrap-validator/0.5.0/dist/js/language/de_DE.js
vendored
Normal file
326
plugins/bootstrap-validator/0.5.0/dist/js/language/de_DE.js
vendored
Normal file
@@ -0,0 +1,326 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* German language package
|
||||
|
||||
* Translated by @logemann
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': 'Bitte eine Base64 Kodierung eingeben'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': 'Bitte einen Wert zwischen %s und %s eingeben',
|
||||
|
||||
notInclusive: 'Bitte einen Wert zwischen %s und %s (strictly) eingeben'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': 'Bitte einen gültigen Wert eingeben'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': 'Bitte einen gültigen Wert eingeben',
|
||||
|
||||
less: 'Bitte mindestens %s Werte eingeben',
|
||||
|
||||
more: 'Bitte maximal %s Werte eingeben',
|
||||
|
||||
between: 'Zwischen %s - %s Werten wählen'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': 'Bitte gültige Kreditkartennr. eingeben'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': 'Bitte gültige CUSIP Nummer eingeben'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': 'Bitte gültige CVV Nummer eingeben'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': 'Bitte gültiges Datum eingeben'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': 'Bitte anderen Wert eingeben'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': 'Bitte Zahlen eingeben'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': 'Bitte gültige EAN Nummer eingeben'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': 'Bitte gültige Emailadresse eingeben'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': 'Bitte gültiges File eingeben'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': 'Bitte Wert größer gleich %s eingeben',
|
||||
|
||||
notInclusive: 'Bitte Wert größer als %s eingeben'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': 'Bitte gültige GRId Nummer eingeben'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': 'Bitte gültigen Hexadezimalwert eingeben'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': 'Bitte gültige Hex-Farbe eingeben'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': 'Bitte eine gültige IBAN Nummer eingeben',
|
||||
|
||||
countryNotSupported: 'Der Ländercode %s wird nicht unterstützt',
|
||||
|
||||
country: 'Bitte eine gültige IBAN Nummer für %s eingeben',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: 'Andorra',
|
||||
|
||||
AE: 'Vereinigte Arabische Emirate',
|
||||
|
||||
AL: 'Albanien',
|
||||
|
||||
AO: 'Angola',
|
||||
|
||||
AT: 'Österreich',
|
||||
|
||||
AZ: 'Azerbaijan',
|
||||
|
||||
BA: 'Bosnien Herzigovina',
|
||||
|
||||
BE: 'Belgien',
|
||||
|
||||
BF: 'Burkina Faso',
|
||||
|
||||
BG: 'Bulgarien',
|
||||
|
||||
BH: 'Bahrain',
|
||||
|
||||
BI: 'Burundi',
|
||||
|
||||
BJ: 'Benin',
|
||||
|
||||
BR: 'Brasilien',
|
||||
|
||||
CH: 'Schweiz',
|
||||
|
||||
CI: 'Elfenbeinküste',
|
||||
|
||||
CM: 'Kamerun',
|
||||
|
||||
CR: 'Costa Rica',
|
||||
|
||||
CV: 'Cape Verde',
|
||||
|
||||
CY: 'Zypern',
|
||||
|
||||
CZ: 'Tschechische Repuplik',
|
||||
|
||||
DE: 'Deutschland',
|
||||
|
||||
DK: 'Dänemark',
|
||||
|
||||
DO: 'Dominikanische Republik',
|
||||
|
||||
DZ: 'Algerien',
|
||||
|
||||
EE: 'Estland',
|
||||
|
||||
ES: 'Spanien',
|
||||
|
||||
FI: 'Finnland',
|
||||
|
||||
FO: 'Faroer Inseln',
|
||||
|
||||
FR: 'Frankreich',
|
||||
|
||||
GB: 'Großbritanien',
|
||||
|
||||
GE: 'Georgien',
|
||||
|
||||
GI: 'Gibraltar',
|
||||
|
||||
GL: 'Grönland',
|
||||
|
||||
GR: 'Griechenland',
|
||||
|
||||
GT: 'Guatemala',
|
||||
|
||||
HR: 'Kroatien',
|
||||
|
||||
HU: 'Ungarn',
|
||||
|
||||
IE: 'Irland',
|
||||
|
||||
IL: 'Israel',
|
||||
|
||||
IR: 'Iran',
|
||||
|
||||
IS: 'Island',
|
||||
|
||||
IT: 'Italien',
|
||||
|
||||
JO: 'Jordanien',
|
||||
|
||||
KW: 'Kuwait',
|
||||
|
||||
KZ: 'Kazakhstan',
|
||||
|
||||
LB: 'Libanon',
|
||||
|
||||
LI: 'Liechtenstein',
|
||||
|
||||
LT: 'Lithauen',
|
||||
|
||||
LU: 'Luxemburg',
|
||||
|
||||
LV: 'Lettland',
|
||||
|
||||
MC: 'Monaco',
|
||||
|
||||
MD: 'Moldavien',
|
||||
|
||||
ME: 'Montenegro',
|
||||
|
||||
MG: 'Madagascar',
|
||||
|
||||
MK: 'Mazedonien',
|
||||
|
||||
ML: 'Mali',
|
||||
|
||||
MR: 'Mauritanien',
|
||||
|
||||
MT: 'Malta',
|
||||
|
||||
MU: 'Mauritius',
|
||||
|
||||
MZ: 'Mozambique',
|
||||
|
||||
NL: 'Niederlande',
|
||||
|
||||
NO: 'Norwegen',
|
||||
|
||||
PK: 'Pakistan',
|
||||
|
||||
PL: 'Polen',
|
||||
|
||||
PS: 'Palästina',
|
||||
|
||||
PT: 'Portugal',
|
||||
|
||||
QA: 'Qatar',
|
||||
|
||||
RO: 'Rumänien',
|
||||
|
||||
RS: 'Serbien',
|
||||
|
||||
SA: 'Saudi Arabien',
|
||||
|
||||
SE: 'Schweden',
|
||||
|
||||
SI: 'Slovenien',
|
||||
|
||||
SK: 'Slovakai',
|
||||
|
||||
SM: 'San Marino',
|
||||
|
||||
SN: 'Senegal',
|
||||
|
||||
TN: 'Tunesien',
|
||||
|
||||
TR: 'Türkey',
|
||||
|
||||
VG: 'Jungfraueninseln'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': 'Bitte gültige Identifikationsnnummer eingeben',
|
||||
|
||||
countryNotSupported: 'Der Ländercode %s wird nicht unterstützt',
|
||||
|
||||
country: 'Bitte für %s gültige Identifikationsnummer eingeben',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: 'Bosnien und Herzegovina',
|
||||
|
||||
BG: 'Bulgarisch',
|
||||
|
||||
BR: 'Brasilianisch',
|
||||
|
||||
CH: 'Schweizerisch',
|
||||
|
||||
CL: 'Chilenisch',
|
||||
|
||||
CZ: 'Tschechisch',
|
||||
|
||||
DK: 'Dänisch',
|
||||
|
||||
EE: 'Estnisch',
|
||||
|
||||
ES: 'Spanisch',
|
||||
|
||||
FI: 'Finnisch',
|
||||
|
||||
327
plugins/bootstrap-validator/0.5.0/dist/js/language/en_US.js
vendored
Normal file
327
plugins/bootstrap-validator/0.5.0/dist/js/language/en_US.js
vendored
Normal file
@@ -0,0 +1,327 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* Default English package
|
||||
|
||||
* It's included in the dist, so you do NOT need to include it to your head tag
|
||||
|
||||
* The only reason I put it here is that you can clone it, and translate it into your language
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': 'Please enter a valid base 64 encoded'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': 'Please enter a value between %s and %s',
|
||||
|
||||
notInclusive: 'Please enter a value between %s and %s strictly'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': 'Please enter a valid value'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': 'Please enter a valid value',
|
||||
|
||||
less: 'Please choose %s options at minimum',
|
||||
|
||||
more: 'Please choose %s options at maximum',
|
||||
|
||||
between: 'Please choose %s - %s options'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': 'Please enter a valid credit card number'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': 'Please enter a valid CUSIP number'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': 'Please enter a valid CVV number'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': 'Please enter a valid date'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': 'Please enter a different value'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': 'Please enter only digits'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': 'Please enter a valid EAN number'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': 'Please enter a valid email address'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': 'Please choose a valid file'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': 'Please enter a value greater than or equal to %s',
|
||||
|
||||
notInclusive: 'Please enter a value greater than %s'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': 'Please enter a valid GRId number'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': 'Please enter a valid hexadecimal number'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': 'Please enter a valid hex color'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': 'Please enter a valid IBAN number',
|
||||
|
||||
countryNotSupported: 'The country code %s is not supported',
|
||||
|
||||
country: 'Please enter a valid IBAN number in %s',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: 'Andorra',
|
||||
|
||||
AE: 'United Arab Emirates',
|
||||
|
||||
AL: 'Albania',
|
||||
|
||||
AO: 'Angola',
|
||||
|
||||
AT: 'Austria',
|
||||
|
||||
AZ: 'Azerbaijan',
|
||||
|
||||
BA: 'Bosnia and Herzegovina',
|
||||
|
||||
BE: 'Belgium',
|
||||
|
||||
BF: 'Burkina Faso',
|
||||
|
||||
BG: 'Bulgaria',
|
||||
|
||||
BH: 'Bahrain',
|
||||
|
||||
BI: 'Burundi',
|
||||
|
||||
BJ: 'Benin',
|
||||
|
||||
BR: 'Brazil',
|
||||
|
||||
CH: 'Switzerland',
|
||||
|
||||
CI: 'Ivory Coast',
|
||||
|
||||
CM: 'Cameroon',
|
||||
|
||||
CR: 'Costa Rica',
|
||||
|
||||
CV: 'Cape Verde',
|
||||
|
||||
CY: 'Cyprus',
|
||||
|
||||
CZ: 'Czech Republic',
|
||||
|
||||
DE: 'Germany',
|
||||
|
||||
DK: 'Denmark',
|
||||
|
||||
DO: 'Dominican Republic',
|
||||
|
||||
DZ: 'Algeria',
|
||||
|
||||
EE: 'Estonia',
|
||||
|
||||
ES: 'Spain',
|
||||
|
||||
FI: 'Finland',
|
||||
|
||||
FO: 'Faroe Islands',
|
||||
|
||||
FR: 'France',
|
||||
|
||||
GB: 'United Kingdom',
|
||||
|
||||
GE: 'Georgia',
|
||||
|
||||
GI: 'Gibraltar',
|
||||
|
||||
GL: 'Greenland',
|
||||
|
||||
GR: 'Greece',
|
||||
|
||||
GT: 'Guatemala',
|
||||
|
||||
HR: 'Croatia',
|
||||
|
||||
HU: 'Hungary',
|
||||
|
||||
IE: 'Ireland',
|
||||
|
||||
IL: 'Israel',
|
||||
|
||||
IR: 'Iran',
|
||||
|
||||
IS: 'Iceland',
|
||||
|
||||
IT: 'Italy',
|
||||
|
||||
JO: 'Jordan',
|
||||
|
||||
KW: 'Kuwait',
|
||||
|
||||
KZ: 'Kazakhstan',
|
||||
|
||||
LB: 'Lebanon',
|
||||
|
||||
LI: 'Liechtenstein',
|
||||
|
||||
LT: 'Lithuania',
|
||||
|
||||
LU: 'Luxembourg',
|
||||
|
||||
LV: 'Latvia',
|
||||
|
||||
MC: 'Monaco',
|
||||
|
||||
MD: 'Moldova',
|
||||
|
||||
ME: 'Montenegro',
|
||||
|
||||
MG: 'Madagascar',
|
||||
|
||||
MK: 'Macedonia',
|
||||
|
||||
ML: 'Mali',
|
||||
|
||||
MR: 'Mauritania',
|
||||
|
||||
MT: 'Malta',
|
||||
|
||||
MU: 'Mauritius',
|
||||
|
||||
MZ: 'Mozambique',
|
||||
|
||||
NL: 'Netherlands',
|
||||
|
||||
NO: 'Norway',
|
||||
|
||||
PK: 'Pakistan',
|
||||
|
||||
PL: 'Poland',
|
||||
|
||||
PS: 'Palestinian',
|
||||
|
||||
PT: 'Portugal',
|
||||
|
||||
QA: 'Qatar',
|
||||
|
||||
RO: 'Romania',
|
||||
|
||||
RS: 'Serbia',
|
||||
|
||||
SA: 'Saudi Arabia',
|
||||
|
||||
SE: 'Sweden',
|
||||
|
||||
SI: 'Slovenia',
|
||||
|
||||
SK: 'Slovakia',
|
||||
|
||||
SM: 'San Marino',
|
||||
|
||||
SN: 'Senegal',
|
||||
|
||||
TN: 'Tunisia',
|
||||
|
||||
TR: 'Turkey',
|
||||
|
||||
VG: 'Virgin Islands, British'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': 'Please enter a valid identification number',
|
||||
|
||||
countryNotSupported: 'The country code %s is not supported',
|
||||
|
||||
country: 'Please enter a valid %s identification number',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: 'Bosnia and Herzegovina',
|
||||
|
||||
BG: 'Bulgarian',
|
||||
|
||||
BR: 'Brazilian',
|
||||
|
||||
CH: 'Swiss',
|
||||
|
||||
CL: 'Chilean',
|
||||
|
||||
CZ: 'Czech',
|
||||
|
||||
DK: 'Danish',
|
||||
|
||||
EE: 'Estonian',
|
||||
|
||||
ES: 'Spanish',
|
||||
|
||||
FI: 'Finnish',
|
||||
326
plugins/bootstrap-validator/0.5.0/dist/js/language/es_CL.js
vendored
Normal file
326
plugins/bootstrap-validator/0.5.0/dist/js/language/es_CL.js
vendored
Normal file
@@ -0,0 +1,326 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* Chilean Spanish package
|
||||
|
||||
* Translated by @marceloampuerop6
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': 'Por favor ingrese un valor válido en base 64'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': 'Por favor ingrese un valor entre %s y %s',
|
||||
|
||||
notInclusive: 'Por favor ingrese un valor sólo entre %s and %s'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': 'Por favor ingrese un valor válido'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': 'Por favor ingrese un valor válido',
|
||||
|
||||
less: 'Por favor elija %s opciones como mínimo',
|
||||
|
||||
more: 'Por favor elija %s optiones como máximo',
|
||||
|
||||
between: 'Por favor elija de %s a %s opciones'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': 'Por favor ingrese un número válido de tarjeta de crédito'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': 'Por favor ingrese un número CUSIP válido'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': 'Por favor ingrese un número CVV válido'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': 'Por favor ingrese una fecha válida'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': 'Por favor ingrese un valor distinto'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': 'Por favor ingrese sólo dígitos'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': 'Por favor ingrese un número EAN válido'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': 'Por favor ingrese un email válido'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': 'Por favor elija un archivo válido'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': 'Por favor ingrese un valor mayor o igual a %s',
|
||||
|
||||
notInclusive: 'Por favor ingrese un valor mayor que %s'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': 'Por favor ingrese un número GRId válido'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': 'Por favor ingrese un valor hexadecimal válido'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': 'Por favor ingrese un color hexadecimal válido'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': 'Por favor ingrese un número IBAN válido',
|
||||
|
||||
countryNotSupported: 'El código del país %s no está soportado',
|
||||
|
||||
country: 'Por favor ingrese un número IBAN válido en %s',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: 'Andorra',
|
||||
|
||||
AE: 'Emiratos Árabes Unidos',
|
||||
|
||||
AL: 'Albania',
|
||||
|
||||
AO: 'Angola',
|
||||
|
||||
AT: 'Austria',
|
||||
|
||||
AZ: 'Azerbaiyán',
|
||||
|
||||
BA: 'Bosnia-Herzegovina',
|
||||
|
||||
BE: 'Bélgica',
|
||||
|
||||
BF: 'Burkina Faso',
|
||||
|
||||
BG: 'Bulgaria',
|
||||
|
||||
BH: 'Baréin',
|
||||
|
||||
BI: 'Burundi',
|
||||
|
||||
BJ: 'Benín',
|
||||
|
||||
BR: 'Brasil',
|
||||
|
||||
CH: 'Suiza',
|
||||
|
||||
CI: 'Costa de Marfil',
|
||||
|
||||
CM: 'Camerún',
|
||||
|
||||
CR: 'Costa Rica',
|
||||
|
||||
CV: 'Cabo Verde',
|
||||
|
||||
CY: 'Cyprus',
|
||||
|
||||
CZ: 'República Checa',
|
||||
|
||||
DE: 'Alemania',
|
||||
|
||||
DK: 'Dinamarca',
|
||||
|
||||
DO: 'República Dominicana',
|
||||
|
||||
DZ: 'Argelia',
|
||||
|
||||
EE: 'Estonia',
|
||||
|
||||
ES: 'España',
|
||||
|
||||
FI: 'Finlandia',
|
||||
|
||||
FO: 'Islas Feroe',
|
||||
|
||||
FR: 'Francia',
|
||||
|
||||
GB: 'Reino Unido',
|
||||
|
||||
GE: 'Georgia',
|
||||
|
||||
GI: 'Gibraltar',
|
||||
|
||||
GL: 'Groenlandia',
|
||||
|
||||
GR: 'Grecia',
|
||||
|
||||
GT: 'Guatemala',
|
||||
|
||||
HR: 'Croacia',
|
||||
|
||||
HU: 'Hungría',
|
||||
|
||||
IE: 'Irlanda',
|
||||
|
||||
IL: 'Israel',
|
||||
|
||||
IR: 'Iran',
|
||||
|
||||
IS: 'Islandia',
|
||||
|
||||
IT: 'Italia',
|
||||
|
||||
JO: 'Jordania',
|
||||
|
||||
KW: 'Kuwait',
|
||||
|
||||
KZ: 'Kazajistán',
|
||||
|
||||
LB: 'Líbano',
|
||||
|
||||
LI: 'Liechtenstein',
|
||||
|
||||
LT: 'Lituania',
|
||||
|
||||
LU: 'Luxemburgo',
|
||||
|
||||
LV: 'Letonia',
|
||||
|
||||
MC: 'Mónaco',
|
||||
|
||||
MD: 'Moldavia',
|
||||
|
||||
ME: 'Montenegro',
|
||||
|
||||
MG: 'Madagascar',
|
||||
|
||||
MK: 'Macedonia',
|
||||
|
||||
ML: 'Malí',
|
||||
|
||||
MR: 'Mauritania',
|
||||
|
||||
MT: 'Malta',
|
||||
|
||||
MU: 'Mauricio',
|
||||
|
||||
MZ: 'Mozambique',
|
||||
|
||||
NL: 'Países Bajos',
|
||||
|
||||
NO: 'Noruega',
|
||||
|
||||
PK: 'Pakistán',
|
||||
|
||||
PL: 'Poland',
|
||||
|
||||
PS: 'Palestina',
|
||||
|
||||
PT: 'Portugal',
|
||||
|
||||
QA: 'Catar',
|
||||
|
||||
RO: 'Rumania',
|
||||
|
||||
RS: 'Serbia',
|
||||
|
||||
SA: 'Arabia Saudita',
|
||||
|
||||
SE: 'Suecia',
|
||||
|
||||
SI: 'Eslovenia',
|
||||
|
||||
SK: 'Eslovaquia',
|
||||
|
||||
SM: 'San Marino',
|
||||
|
||||
SN: 'Senegal',
|
||||
|
||||
TN: 'Túnez',
|
||||
|
||||
TR: 'Turquía',
|
||||
|
||||
VG: 'Islas Vírgenes Británicas'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': 'Por favor ingrese un número de identificación válido',
|
||||
|
||||
countryNotSupported: 'El código del país %s no esta soportado',
|
||||
|
||||
country: 'Por favor ingrese un número de identificación %s válido',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: 'Bosnioherzegovino',
|
||||
|
||||
BG: 'Búlgaro',
|
||||
|
||||
BR: 'Brasileño',
|
||||
|
||||
CH: 'Suizo',
|
||||
|
||||
CL: 'Chileno',
|
||||
|
||||
CZ: 'Checo',
|
||||
|
||||
DK: 'Danés',
|
||||
|
||||
EE: 'Estonio',
|
||||
|
||||
ES: 'Español',
|
||||
|
||||
FI: 'Finlandés',
|
||||
|
||||
326
plugins/bootstrap-validator/0.5.0/dist/js/language/hu_HU.js
vendored
Normal file
326
plugins/bootstrap-validator/0.5.0/dist/js/language/hu_HU.js
vendored
Normal file
@@ -0,0 +1,326 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* Hungarian language package
|
||||
|
||||
* Translated by @blackfyre
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes base 64 karakter láncot adj meg'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': 'Kérlek, hogy %s és %s között adj meg értéket',
|
||||
|
||||
notInclusive: 'Kérlek, hogy %s és %s között adj meg értéket'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes értéket adj meg'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes értéket adj meg',
|
||||
|
||||
less: 'Kérlek, hogy legalább %s lehetőséget válassz ki',
|
||||
|
||||
more: 'Kérlek, hogy maximum %s lehetőséget válassz ki',
|
||||
|
||||
between: 'Kérlek, hogy válassz %s - %s lehetőséget'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes bankkártya számot adj meg'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes CUSIP számot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes CVV számot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes dátumot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': 'Kérlek, hogy egy másik értéket adj meg'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': 'Kérlek, hogy csak számot adj meg'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes EAN számot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes email címet ajd meg'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes fájlt válassz'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': 'Kérlek, hogy ezzel (%s) egyenlő vagy nagyobb számot adj meg',
|
||||
|
||||
notInclusive: 'Kérlek, hogy ennél (%s) nagyobb számot adj meg'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes GRId számot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes hexadecimális számot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes hexadecimális színt ajd meg'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes IBAN számot ajd meg',
|
||||
|
||||
countryNotSupported: 'A(z) %s országkód nem támogatott',
|
||||
|
||||
country: 'Kérlek, hogy helyes %s IBAN számot adj meg',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: 'andorrai',
|
||||
|
||||
AE: 'Egyesül Arab Emirátusok beli',
|
||||
|
||||
AL: 'albán',
|
||||
|
||||
AO: 'angolai',
|
||||
|
||||
AT: 'osztrák',
|
||||
|
||||
AZ: 'azerbajdzsáni',
|
||||
|
||||
BA: 'Bosznia-Hercegovina beli',
|
||||
|
||||
BE: 'belga',
|
||||
|
||||
BF: 'Burkina Faso beli',
|
||||
|
||||
BG: 'bulgár',
|
||||
|
||||
BH: 'bahraini',
|
||||
|
||||
BI: 'burundi',
|
||||
|
||||
BJ: 'benini',
|
||||
|
||||
BR: 'brazil',
|
||||
|
||||
CH: 'svájci',
|
||||
|
||||
CI: 'elefántcsontparti',
|
||||
|
||||
CM: 'camerooni',
|
||||
|
||||
CR: 'Costa Rica-i',
|
||||
|
||||
CV: 'Zöld-foki Köztársaság beli',
|
||||
|
||||
CY: 'ciprusi',
|
||||
|
||||
CZ: 'cseh',
|
||||
|
||||
DE: 'Német',
|
||||
|
||||
DK: 'dán',
|
||||
|
||||
DO: 'Dominikai Köztársaság beli',
|
||||
|
||||
DZ: 'algériai',
|
||||
|
||||
EE: 'észtországi',
|
||||
|
||||
ES: 'spanyol',
|
||||
|
||||
FI: 'finn',
|
||||
|
||||
FO: 'Feröer-szigetek-i',
|
||||
|
||||
FR: 'francia',
|
||||
|
||||
GB: 'Egyesült Királyság beli',
|
||||
|
||||
GE: 'grúz',
|
||||
|
||||
GI: 'gibraltári',
|
||||
|
||||
GL: 'grönlandi',
|
||||
|
||||
GR: 'görög',
|
||||
|
||||
GT: 'guatemalai',
|
||||
|
||||
HR: 'horvát',
|
||||
|
||||
HU: 'magyar',
|
||||
|
||||
IE: 'ír',
|
||||
|
||||
IL: 'izraeli',
|
||||
|
||||
IR: 'iráni',
|
||||
|
||||
IS: 'izlandi',
|
||||
|
||||
IT: 'olasz',
|
||||
|
||||
JO: 'jordán',
|
||||
|
||||
KW: 'kuwaiti',
|
||||
|
||||
KZ: 'kazah',
|
||||
|
||||
LB: 'libanoni',
|
||||
|
||||
LI: 'liechtensteini',
|
||||
|
||||
LT: 'litván',
|
||||
|
||||
LU: 'luxembourgi',
|
||||
|
||||
LV: 'latviai',
|
||||
|
||||
MC: 'monacoi',
|
||||
|
||||
MD: 'moldáv',
|
||||
|
||||
ME: 'montenegroi',
|
||||
|
||||
MG: 'madagaszkári',
|
||||
|
||||
MK: 'macedón',
|
||||
|
||||
ML: 'Mali -i',
|
||||
|
||||
MR: 'Mauritánia -i',
|
||||
|
||||
MT: 'máltai',
|
||||
|
||||
MU: 'Mauritius -i',
|
||||
|
||||
MZ: 'mozambik',
|
||||
|
||||
NL: 'holland',
|
||||
|
||||
NO: 'norvég',
|
||||
|
||||
PK: 'pakisztáni',
|
||||
|
||||
PL: 'lengyel',
|
||||
|
||||
PS: 'palesztín',
|
||||
|
||||
PT: 'portugál',
|
||||
|
||||
QA: 'qatari',
|
||||
|
||||
RO: 'román',
|
||||
|
||||
RS: 'szerb',
|
||||
|
||||
SA: 'saudi',
|
||||
|
||||
SE: 'svéd',
|
||||
|
||||
SI: 'szlovén',
|
||||
|
||||
SK: 'szlovák',
|
||||
|
||||
SM: 'San Marino beli',
|
||||
|
||||
SN: 'senegali',
|
||||
|
||||
TN: 'tunéz',
|
||||
|
||||
TR: 'török',
|
||||
|
||||
VG: 'Brit Virgin-szigetek beli'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes személy azonosító számot adj meg',
|
||||
|
||||
countryNotSupported: 'A(z) %s országkód nem támogatott',
|
||||
|
||||
country: 'Kérlek, hogy érvényes %s személy azonosító számot ajd meg',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: 'Bosznia-Hercegovina beli',
|
||||
|
||||
BG: 'bulgár',
|
||||
|
||||
BR: 'brazil',
|
||||
|
||||
CH: 'svájci',
|
||||
|
||||
CL: 'chilei',
|
||||
|
||||
CZ: 'cseh',
|
||||
|
||||
DK: 'dán',
|
||||
|
||||
EE: 'észt',
|
||||
|
||||
ES: 'spanyol',
|
||||
|
||||
FI: 'finn',
|
||||
|
||||
322
plugins/bootstrap-validator/0.5.0/dist/js/language/vi_VN.js
vendored
Normal file
322
plugins/bootstrap-validator/0.5.0/dist/js/language/vi_VN.js
vendored
Normal file
@@ -0,0 +1,322 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': 'Vui lòng nhập chuỗi mã hoá base64 hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': 'Vui lòng nhập giá trị nằm giữa %s và %s',
|
||||
|
||||
notInclusive: 'Vui lòng nhập giá trị nằm giữa %s và %s'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': 'Vui lòng nhập giá trị hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': 'Vui lòng nhập giá trị hợp lệ',
|
||||
|
||||
less: 'Vui lòng chọn ít nhất %s lựa chọn',
|
||||
|
||||
more: 'Vui lòng chọn nhiều nhất %s lựa chọn',
|
||||
|
||||
between: 'Vui lòng chọn %s - %s lựa chọn'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': 'Vui lòng nhập số thẻ tín dụng hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': 'Vui lòng nhập số CUSIP hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': 'Vui lòng nhập số CVV hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': 'Vui lòng nhập ngày hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': 'Vui lòng nhập một giá trị khác'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': 'Vui lòng chỉ nhập số'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': 'Vui lòng nhập số EAN hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': 'Vui lòng nhập địa chỉ email hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': 'Vui lòng chọn file hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': 'Vui lòng nhập giá trị lớn hơn hoặc bằng %s',
|
||||
|
||||
notInclusive: 'Vui lòng nhập giá trị lớn hơn %s'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': 'Vui lòng nhập số GRId hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': 'Vui lòng nhập số hexa hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': 'Vui lòng nhập mã màu hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': 'Vui lòng nhập số IBAN hợp lệ',
|
||||
|
||||
countryNotSupported: 'Mã quốc gia %s không được hỗ trợ',
|
||||
|
||||
country: 'Vui lòng nhập mã IBAN hợp lệ của %s',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: 'Andorra',
|
||||
|
||||
AE: 'Tiểu vương quốc Ả Rập thống nhất',
|
||||
|
||||
AL: 'Albania',
|
||||
|
||||
AO: 'Angola',
|
||||
|
||||
AT: 'Áo',
|
||||
|
||||
AZ: 'Azerbaijan',
|
||||
|
||||
BA: 'Bosnia và Herzegovina',
|
||||
|
||||
BE: 'Bỉ',
|
||||
|
||||
BF: 'Burkina Faso',
|
||||
|
||||
BG: 'Bulgaria',
|
||||
|
||||
BH: 'Bahrain',
|
||||
|
||||
BI: 'Burundi',
|
||||
|
||||
BJ: 'Benin',
|
||||
|
||||
BR: 'Brazil',
|
||||
|
||||
CH: 'Thuỵ Sĩ',
|
||||
|
||||
CI: 'Bờ Biển Ngà',
|
||||
|
||||
CM: 'Cameroon',
|
||||
|
||||
CR: 'Costa Rica',
|
||||
|
||||
CV: 'Cape Verde',
|
||||
|
||||
CY: 'Síp',
|
||||
|
||||
CZ: 'Séc',
|
||||
|
||||
DE: 'Đức',
|
||||
|
||||
DK: 'Đan Mạch',
|
||||
|
||||
DO: 'Dominican',
|
||||
|
||||
DZ: 'Algeria',
|
||||
|
||||
EE: 'Estonia',
|
||||
|
||||
ES: 'Tây Ban Nha',
|
||||
|
||||
FI: 'Phần Lan',
|
||||
|
||||
FO: 'Đảo Faroe',
|
||||
|
||||
FR: 'Pháp',
|
||||
|
||||
GB: 'Vương quốc Anh',
|
||||
|
||||
GE: 'Georgia',
|
||||
|
||||
GI: 'Gibraltar',
|
||||
|
||||
GL: 'Greenland',
|
||||
|
||||
GR: 'Hy Lạp',
|
||||
|
||||
GT: 'Guatemala',
|
||||
|
||||
HR: 'Croatia',
|
||||
|
||||
HU: 'Hungary',
|
||||
|
||||
IE: 'Ireland',
|
||||
|
||||
IL: 'Israel',
|
||||
|
||||
IR: 'Iran',
|
||||
|
||||
IS: 'Iceland',
|
||||
|
||||
IT: 'Ý',
|
||||
|
||||
JO: 'Jordan',
|
||||
|
||||
KW: 'Kuwait',
|
||||
|
||||
KZ: 'Kazakhstan',
|
||||
|
||||
LB: 'Lebanon',
|
||||
|
||||
LI: 'Liechtenstein',
|
||||
|
||||
LT: 'Lithuania',
|
||||
|
||||
LU: 'Luxembourg',
|
||||
|
||||
LV: 'Latvia',
|
||||
|
||||
MC: 'Monaco',
|
||||
|
||||
MD: 'Moldova',
|
||||
|
||||
ME: 'Montenegro',
|
||||
|
||||
MG: 'Madagascar',
|
||||
|
||||
MK: 'Macedonia',
|
||||
|
||||
ML: 'Mali',
|
||||
|
||||
MR: 'Mauritania',
|
||||
|
||||
MT: 'Malta',
|
||||
|
||||
MU: 'Mauritius',
|
||||
|
||||
MZ: 'Mozambique',
|
||||
|
||||
NL: 'Hà Lan',
|
||||
|
||||
NO: 'Na Uy',
|
||||
|
||||
PK: 'Pakistan',
|
||||
|
||||
PL: 'Ba Lan',
|
||||
|
||||
PS: 'Palestinian',
|
||||
|
||||
PT: 'Bồ Đào Nha',
|
||||
|
||||
QA: 'Qatar',
|
||||
|
||||
RO: 'Rumani',
|
||||
|
||||
RS: 'Serbia',
|
||||
|
||||
SA: 'Ả Rập Xê Út',
|
||||
|
||||
SE: 'Thuỵ Điển',
|
||||
|
||||
SI: 'Slovenia',
|
||||
|
||||
SK: 'Slovakia',
|
||||
|
||||
SM: 'San Marino',
|
||||
|
||||
SN: 'Senegal',
|
||||
|
||||
TN: 'Tunisia',
|
||||
|
||||
TR: 'Thổ Nhĩ Kỳ',
|
||||
|
||||
VG: 'Đảo Virgin, Anh quốc'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': 'Vui lòng nhập mã ID hợp lệ',
|
||||
|
||||
countryNotSupported: 'Mã quốc gia %s không được hỗ trợ',
|
||||
|
||||
country: 'Vui lòng nhập mã ID hợp lệ của %s',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: 'Bosnia và Herzegovina',
|
||||
|
||||
BG: 'Bulgari',
|
||||
|
||||
BR: 'Brazil',
|
||||
|
||||
CH: 'Thuỵ Sĩ',
|
||||
|
||||
CL: 'Chi Lê',
|
||||
|
||||
CZ: 'Séc',
|
||||
|
||||
DK: 'Đan Mạch',
|
||||
|
||||
EE: 'Estonia',
|
||||
|
||||
ES: 'Tây Ban Nha',
|
||||
|
||||
FI: 'Phần Lan',
|
||||
|
||||
HR: 'Croatia',
|
||||
|
||||
IE: 'Ireland',
|
||||
|
||||
326
plugins/bootstrap-validator/0.5.0/dist/js/language/zh_CN.js
vendored
Normal file
326
plugins/bootstrap-validator/0.5.0/dist/js/language/zh_CN.js
vendored
Normal file
@@ -0,0 +1,326 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* Traditional Chinese language package
|
||||
|
||||
* Translated by @tureki
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': '请输入有效的Base64编码'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': '请输入不小于%s 且不大于%s 的值',
|
||||
|
||||
notInclusive: '请输入不小于等于%s 且不大于等于%s 的值'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': '请输入有效的值'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': '请输入有效的值',
|
||||
|
||||
less: '最少选择 %s 个选项',
|
||||
|
||||
more: '最多选择 %s 个选项',
|
||||
|
||||
between: '请选择 %s 至 %s 个选项'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': '请输入有效的信用卡号码'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': '请输入有效的CUSIP'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': '请输入有效的CVV'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': '请输入有效的日期'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': '请输入不一样的值'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': '只能输入数字'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': '请输入有效的EAN'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': '请输入有效的EMAIL'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': '请选择有效的档案'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': '请输入大于或等于 %s 的值',
|
||||
|
||||
notInclusive: '请输入大于 %s 的值'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': '请输入有效的GRId'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': '请输入有效的16位元码'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': '请输入有效的16位色码'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': '请输入有效的IBAN ',
|
||||
|
||||
countryNotSupported: '不支援该国家代码%s',
|
||||
|
||||
country: '请输入有效的 %s IBAN编号 ',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: '安道尔',
|
||||
|
||||
AE: '阿联酋',
|
||||
|
||||
AL: '阿尔巴尼亚',
|
||||
|
||||
AO: '安哥拉',
|
||||
|
||||
AT: '奥地利',
|
||||
|
||||
AZ: '阿塞拜疆',
|
||||
|
||||
BA: '波斯尼亚和黑塞哥维那',
|
||||
|
||||
BE: '比利时',
|
||||
|
||||
BF: '布基纳法索',
|
||||
|
||||
BG: '保加利亚',
|
||||
|
||||
BH: '巴林',
|
||||
|
||||
BI: '布隆迪',
|
||||
|
||||
BJ: '贝宁',
|
||||
|
||||
BR: '巴西',
|
||||
|
||||
CH: '瑞士',
|
||||
|
||||
CI: '象牙海岸',
|
||||
|
||||
CM: '喀麦隆',
|
||||
|
||||
CR: '哥斯达黎加',
|
||||
|
||||
CV: '佛得角',
|
||||
|
||||
CY: '塞浦路斯',
|
||||
|
||||
CZ: '捷克共和国',
|
||||
|
||||
DE: '德国',
|
||||
|
||||
DK: '丹麦',
|
||||
|
||||
DO: '多明尼加共和国',
|
||||
|
||||
DZ: '阿尔及利亚',
|
||||
|
||||
EE: '爱沙尼亚',
|
||||
|
||||
ES: '西班牙',
|
||||
|
||||
FI: '芬兰',
|
||||
|
||||
FO: '法罗群岛',
|
||||
|
||||
FR: '法国',
|
||||
|
||||
GB: '英国',
|
||||
|
||||
GE: '格鲁吉亚',
|
||||
|
||||
GI: '直布罗陀',
|
||||
|
||||
GL: '格陵兰岛',
|
||||
|
||||
GR: '希腊',
|
||||
|
||||
GT: '危地马拉',
|
||||
|
||||
HR: '克罗地亚',
|
||||
|
||||
HU: '匈牙利',
|
||||
|
||||
IE: '爱尔兰',
|
||||
|
||||
IL: '以色列',
|
||||
|
||||
IR: '伊朗',
|
||||
|
||||
IS: '冰岛',
|
||||
|
||||
IT: '意大利',
|
||||
|
||||
JO: '乔丹',
|
||||
|
||||
KW: '科威特',
|
||||
|
||||
KZ: '哈萨克斯坦',
|
||||
|
||||
LB: '黎巴嫩',
|
||||
|
||||
LI: '列支敦士登',
|
||||
|
||||
LT: '立陶宛',
|
||||
|
||||
LU: '卢森堡',
|
||||
|
||||
LV: '拉脱维亚',
|
||||
|
||||
MC: '摩纳哥',
|
||||
|
||||
MD: '摩尔多瓦',
|
||||
|
||||
ME: '黑山共和国',
|
||||
|
||||
MG: '马达加斯加',
|
||||
|
||||
MK: '马其顿',
|
||||
|
||||
ML: '马里',
|
||||
|
||||
MR: '毛里塔尼亚',
|
||||
|
||||
MT: '马耳他',
|
||||
|
||||
MU: '毛里求斯',
|
||||
|
||||
MZ: '莫桑比克',
|
||||
|
||||
NL: '荷兰',
|
||||
|
||||
NO: '挪威',
|
||||
|
||||
PK: '巴基斯坦',
|
||||
|
||||
PL: '波兰',
|
||||
|
||||
PS: '巴勒斯坦',
|
||||
|
||||
PT: '葡萄牙',
|
||||
|
||||
QA: '卡塔尔',
|
||||
|
||||
RO: '罗马尼亚',
|
||||
|
||||
RS: '塞尔维亚',
|
||||
|
||||
SA: '沙特阿拉伯',
|
||||
|
||||
SE: '瑞典',
|
||||
|
||||
SI: '斯洛文尼亚',
|
||||
|
||||
SK: '斯洛伐克',
|
||||
|
||||
SM: '圣马力诺',
|
||||
|
||||
SN: '塞内加尔',
|
||||
|
||||
TN: '突尼斯',
|
||||
|
||||
TR: '土耳其',
|
||||
|
||||
VG: '英属维尔京群岛'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': '请输入有效的身份证字号码',
|
||||
|
||||
countryNotSupported: '不支援该国家代码%s',
|
||||
|
||||
country: '请输入有效的%s 身份证字号码',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: '波斯尼亚和黑塞哥维那',
|
||||
|
||||
BG: '保加利亚',
|
||||
|
||||
BR: '巴西',
|
||||
|
||||
CH: '瑞士',
|
||||
|
||||
CL: '智利',
|
||||
|
||||
CZ: '捷克',
|
||||
|
||||
DK: '丹麦',
|
||||
|
||||
EE: '爱沙尼亚',
|
||||
|
||||
ES: '西班牙语',
|
||||
|
||||
FI: '芬兰',
|
||||
|
||||
326
plugins/bootstrap-validator/0.5.0/dist/js/language/zh_TW.js
vendored
Normal file
326
plugins/bootstrap-validator/0.5.0/dist/js/language/zh_TW.js
vendored
Normal file
@@ -0,0 +1,326 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* Simplified Chinese language package
|
||||
|
||||
* Translated by @tureki
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': '請輸入有效的Base64編碼'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': '請輸入不小於 %s 且不大於 %s 的值',
|
||||
|
||||
notInclusive: '請輸入不小於等於 %s 且不大於等於 %s 的值'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': '請輸入有效的值'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': '請輸入有效的值',
|
||||
|
||||
less: '最少選擇 %s 個選項',
|
||||
|
||||
more: '最多選擇 %s 個選項',
|
||||
|
||||
between: '請選擇 %s 至 %s 個選項'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': '請輸入有效的信用卡號碼'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': '請輸入有效的CUSIP'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': '請輸入有效的CVV'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': '請輸入有效的日期'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': '請輸入不一樣的值'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': '只能輸入數字'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': '請輸入有效的EAN'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': '請輸入有效的EMAIL'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': '請選擇有效的檔案'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': '請輸入大於或等於 %s 的值',
|
||||
|
||||
notInclusive: '請輸入大於 %s 的值'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': '請輸入有效的GRId'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': '請輸入有效的16位元碼'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': '請輸入有效的16位色碼'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': '請輸入有效的IBAN ',
|
||||
|
||||
countryNotSupported: '不支援該國家代碼 %s',
|
||||
|
||||
country: '請輸入有效的 %s IBAN編號 ',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: '安道爾',
|
||||
|
||||
AE: '阿聯酋',
|
||||
|
||||
AL: '阿爾巴尼亞',
|
||||
|
||||
AO: '安哥拉',
|
||||
|
||||
AT: '奧地利',
|
||||
|
||||
AZ: '阿塞拜疆',
|
||||
|
||||
BA: '波斯尼亞和黑塞哥維那',
|
||||
|
||||
BE: '比利時',
|
||||
|
||||
BF: '布基納法索',
|
||||
|
||||
BG: '保加利亞',
|
||||
|
||||
BH: '巴林',
|
||||
|
||||
BI: '布隆迪',
|
||||
|
||||
BJ: '貝寧',
|
||||
|
||||
BR: '巴西',
|
||||
|
||||
CH: '瑞士',
|
||||
|
||||
CI: '象牙海岸',
|
||||
|
||||
CM: '喀麥隆',
|
||||
|
||||
CR: '哥斯達黎加',
|
||||
|
||||
CV: '佛得角',
|
||||
|
||||
CY: '塞浦路斯',
|
||||
|
||||
CZ: '捷克共和國',
|
||||
|
||||
DE: '德國',
|
||||
|
||||
DK: '丹麥',
|
||||
|
||||
DO: '多明尼加共和國',
|
||||
|
||||
DZ: '阿爾及利亞',
|
||||
|
||||
EE: '愛沙尼亞',
|
||||
|
||||
ES: '西班牙',
|
||||
|
||||
FI: '芬蘭',
|
||||
|
||||
FO: '法羅群島',
|
||||
|
||||
FR: '法國',
|
||||
|
||||
GB: '英國',
|
||||
|
||||
GE: '格魯吉亞',
|
||||
|
||||
GI: '直布羅陀',
|
||||
|
||||
GL: '格陵蘭島',
|
||||
|
||||
GR: '希臘',
|
||||
|
||||
GT: '危地馬拉',
|
||||
|
||||
HR: '克羅地亞',
|
||||
|
||||
HU: '匈牙利',
|
||||
|
||||
IE: '愛爾蘭',
|
||||
|
||||
IL: '以色列',
|
||||
|
||||
IR: '伊朗',
|
||||
|
||||
IS: '冰島',
|
||||
|
||||
IT: '意大利',
|
||||
|
||||
JO: '喬丹',
|
||||
|
||||
KW: '科威特',
|
||||
|
||||
KZ: '哈薩克斯坦',
|
||||
|
||||
LB: '黎巴嫩',
|
||||
|
||||
LI: '列支敦士登',
|
||||
|
||||
LT: '立陶宛',
|
||||
|
||||
LU: '盧森堡',
|
||||
|
||||
LV: '拉脫維亞',
|
||||
|
||||
MC: '摩納哥',
|
||||
|
||||
MD: '摩爾多瓦',
|
||||
|
||||
ME: '黑山共和國',
|
||||
|
||||
MG: '馬達加斯加',
|
||||
|
||||
MK: '馬其頓',
|
||||
|
||||
ML: '馬里',
|
||||
|
||||
MR: '毛里塔尼亞',
|
||||
|
||||
MT: '馬耳他',
|
||||
|
||||
MU: '毛里求斯',
|
||||
|
||||
MZ: '莫桑比克',
|
||||
|
||||
NL: '荷蘭',
|
||||
|
||||
NO: '挪威',
|
||||
|
||||
PK: '巴基斯坦',
|
||||
|
||||
PL: '波蘭',
|
||||
|
||||
PS: '巴勒斯坦',
|
||||
|
||||
PT: '葡萄牙',
|
||||
|
||||
QA: '卡塔爾',
|
||||
|
||||
RO: '羅馬尼亞',
|
||||
|
||||
RS: '塞爾維亞',
|
||||
|
||||
SA: '沙特阿拉伯',
|
||||
|
||||
SE: '瑞典',
|
||||
|
||||
SI: '斯洛文尼亞',
|
||||
|
||||
SK: '斯洛伐克',
|
||||
|
||||
SM: '聖馬力諾',
|
||||
|
||||
SN: '塞內加爾',
|
||||
|
||||
TN: '突尼斯',
|
||||
|
||||
TR: '土耳其',
|
||||
|
||||
VG: '英屬維爾京群島'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': '請輸入有效的身份證字號碼',
|
||||
|
||||
countryNotSupported: '不支援該國家代碼 %s',
|
||||
|
||||
country: '請輸入有效的 %s 身份證字號碼',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: '波斯尼亞和黑塞哥維那',
|
||||
|
||||
BG: '保加利亞',
|
||||
|
||||
BR: '巴西',
|
||||
|
||||
CH: '瑞士',
|
||||
|
||||
CL: '智利',
|
||||
|
||||
CZ: '捷克',
|
||||
|
||||
DK: '丹麥',
|
||||
|
||||
EE: '愛沙尼亞',
|
||||
|
||||
ES: '西班牙語',
|
||||
|
||||
FI: '芬蘭',
|
||||
|
||||
21
plugins/bootstrap-validator/0.5.0/src/css/bootstrapValidator.css
vendored
Normal file
21
plugins/bootstrap-validator/0.5.0/src/css/bootstrapValidator.css
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
|
||||
* BootstrapValidator (http://bootstrapvalidator.com)
|
||||
|
||||
* The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
|
||||
|
||||
*
|
||||
|
||||
* @author http://twitter.com/nghuuphuoc
|
||||
|
||||
* @copyright (c) 2013 - 2014 Nguyen Huu Phuoc
|
||||
|
||||
* @license MIT
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
.bv-form .help-block {
|
||||
|
||||
margin-bottom: 0;
|
||||
1803
plugins/bootstrap-validator/0.5.0/src/js/bootstrapValidator.js
vendored
Normal file
1803
plugins/bootstrap-validator/0.5.0/src/js/bootstrapValidator.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
326
plugins/bootstrap-validator/0.5.0/src/js/language/de_DE.js
Normal file
326
plugins/bootstrap-validator/0.5.0/src/js/language/de_DE.js
Normal file
@@ -0,0 +1,326 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* German language package
|
||||
|
||||
* Translated by @logemann
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': 'Bitte eine Base64 Kodierung eingeben'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': 'Bitte einen Wert zwischen %s und %s eingeben',
|
||||
|
||||
notInclusive: 'Bitte einen Wert zwischen %s und %s (strictly) eingeben'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': 'Bitte einen gültigen Wert eingeben'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': 'Bitte einen gültigen Wert eingeben',
|
||||
|
||||
less: 'Bitte mindestens %s Werte eingeben',
|
||||
|
||||
more: 'Bitte maximal %s Werte eingeben',
|
||||
|
||||
between: 'Zwischen %s - %s Werten wählen'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': 'Bitte gültige Kreditkartennr. eingeben'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': 'Bitte gültige CUSIP Nummer eingeben'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': 'Bitte gültige CVV Nummer eingeben'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': 'Bitte gültiges Datum eingeben'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': 'Bitte anderen Wert eingeben'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': 'Bitte Zahlen eingeben'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': 'Bitte gültige EAN Nummer eingeben'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': 'Bitte gültige Emailadresse eingeben'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': 'Bitte gültiges File eingeben'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': 'Bitte Wert größer gleich %s eingeben',
|
||||
|
||||
notInclusive: 'Bitte Wert größer als %s eingeben'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': 'Bitte gültige GRId Nummer eingeben'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': 'Bitte gültigen Hexadezimalwert eingeben'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': 'Bitte gültige Hex-Farbe eingeben'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': 'Bitte eine gültige IBAN Nummer eingeben',
|
||||
|
||||
countryNotSupported: 'Der Ländercode %s wird nicht unterstützt',
|
||||
|
||||
country: 'Bitte eine gültige IBAN Nummer für %s eingeben',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: 'Andorra',
|
||||
|
||||
AE: 'Vereinigte Arabische Emirate',
|
||||
|
||||
AL: 'Albanien',
|
||||
|
||||
AO: 'Angola',
|
||||
|
||||
AT: 'Österreich',
|
||||
|
||||
AZ: 'Azerbaijan',
|
||||
|
||||
BA: 'Bosnien Herzigovina',
|
||||
|
||||
BE: 'Belgien',
|
||||
|
||||
BF: 'Burkina Faso',
|
||||
|
||||
BG: 'Bulgarien',
|
||||
|
||||
BH: 'Bahrain',
|
||||
|
||||
BI: 'Burundi',
|
||||
|
||||
BJ: 'Benin',
|
||||
|
||||
BR: 'Brasilien',
|
||||
|
||||
CH: 'Schweiz',
|
||||
|
||||
CI: 'Elfenbeinküste',
|
||||
|
||||
CM: 'Kamerun',
|
||||
|
||||
CR: 'Costa Rica',
|
||||
|
||||
CV: 'Cape Verde',
|
||||
|
||||
CY: 'Zypern',
|
||||
|
||||
CZ: 'Tschechische Repuplik',
|
||||
|
||||
DE: 'Deutschland',
|
||||
|
||||
DK: 'Dänemark',
|
||||
|
||||
DO: 'Dominikanische Republik',
|
||||
|
||||
DZ: 'Algerien',
|
||||
|
||||
EE: 'Estland',
|
||||
|
||||
ES: 'Spanien',
|
||||
|
||||
FI: 'Finnland',
|
||||
|
||||
FO: 'Faroer Inseln',
|
||||
|
||||
FR: 'Frankreich',
|
||||
|
||||
GB: 'Großbritanien',
|
||||
|
||||
GE: 'Georgien',
|
||||
|
||||
GI: 'Gibraltar',
|
||||
|
||||
GL: 'Grönland',
|
||||
|
||||
GR: 'Griechenland',
|
||||
|
||||
GT: 'Guatemala',
|
||||
|
||||
HR: 'Kroatien',
|
||||
|
||||
HU: 'Ungarn',
|
||||
|
||||
IE: 'Irland',
|
||||
|
||||
IL: 'Israel',
|
||||
|
||||
IR: 'Iran',
|
||||
|
||||
IS: 'Island',
|
||||
|
||||
IT: 'Italien',
|
||||
|
||||
JO: 'Jordanien',
|
||||
|
||||
KW: 'Kuwait',
|
||||
|
||||
KZ: 'Kazakhstan',
|
||||
|
||||
LB: 'Libanon',
|
||||
|
||||
LI: 'Liechtenstein',
|
||||
|
||||
LT: 'Lithauen',
|
||||
|
||||
LU: 'Luxemburg',
|
||||
|
||||
LV: 'Lettland',
|
||||
|
||||
MC: 'Monaco',
|
||||
|
||||
MD: 'Moldavien',
|
||||
|
||||
ME: 'Montenegro',
|
||||
|
||||
MG: 'Madagascar',
|
||||
|
||||
MK: 'Mazedonien',
|
||||
|
||||
ML: 'Mali',
|
||||
|
||||
MR: 'Mauritanien',
|
||||
|
||||
MT: 'Malta',
|
||||
|
||||
MU: 'Mauritius',
|
||||
|
||||
MZ: 'Mozambique',
|
||||
|
||||
NL: 'Niederlande',
|
||||
|
||||
NO: 'Norwegen',
|
||||
|
||||
PK: 'Pakistan',
|
||||
|
||||
PL: 'Polen',
|
||||
|
||||
PS: 'Palästina',
|
||||
|
||||
PT: 'Portugal',
|
||||
|
||||
QA: 'Qatar',
|
||||
|
||||
RO: 'Rumänien',
|
||||
|
||||
RS: 'Serbien',
|
||||
|
||||
SA: 'Saudi Arabien',
|
||||
|
||||
SE: 'Schweden',
|
||||
|
||||
SI: 'Slovenien',
|
||||
|
||||
SK: 'Slovakai',
|
||||
|
||||
SM: 'San Marino',
|
||||
|
||||
SN: 'Senegal',
|
||||
|
||||
TN: 'Tunesien',
|
||||
|
||||
TR: 'Türkey',
|
||||
|
||||
VG: 'Jungfraueninseln'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': 'Bitte gültige Identifikationsnnummer eingeben',
|
||||
|
||||
countryNotSupported: 'Der Ländercode %s wird nicht unterstützt',
|
||||
|
||||
country: 'Bitte für %s gültige Identifikationsnummer eingeben',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: 'Bosnien und Herzegovina',
|
||||
|
||||
BG: 'Bulgarisch',
|
||||
|
||||
BR: 'Brasilianisch',
|
||||
|
||||
CH: 'Schweizerisch',
|
||||
|
||||
CL: 'Chilenisch',
|
||||
|
||||
CZ: 'Tschechisch',
|
||||
|
||||
DK: 'Dänisch',
|
||||
|
||||
EE: 'Estnisch',
|
||||
|
||||
ES: 'Spanisch',
|
||||
|
||||
FI: 'Finnisch',
|
||||
|
||||
327
plugins/bootstrap-validator/0.5.0/src/js/language/en_US.js
Normal file
327
plugins/bootstrap-validator/0.5.0/src/js/language/en_US.js
Normal file
@@ -0,0 +1,327 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* Default English package
|
||||
|
||||
* It's included in the dist, so you do NOT need to include it to your head tag
|
||||
|
||||
* The only reason I put it here is that you can clone it, and translate it into your language
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': 'Please enter a valid base 64 encoded'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': 'Please enter a value between %s and %s',
|
||||
|
||||
notInclusive: 'Please enter a value between %s and %s strictly'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': 'Please enter a valid value'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': 'Please enter a valid value',
|
||||
|
||||
less: 'Please choose %s options at minimum',
|
||||
|
||||
more: 'Please choose %s options at maximum',
|
||||
|
||||
between: 'Please choose %s - %s options'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': 'Please enter a valid credit card number'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': 'Please enter a valid CUSIP number'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': 'Please enter a valid CVV number'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': 'Please enter a valid date'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': 'Please enter a different value'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': 'Please enter only digits'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': 'Please enter a valid EAN number'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': 'Please enter a valid email address'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': 'Please choose a valid file'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': 'Please enter a value greater than or equal to %s',
|
||||
|
||||
notInclusive: 'Please enter a value greater than %s'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': 'Please enter a valid GRId number'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': 'Please enter a valid hexadecimal number'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': 'Please enter a valid hex color'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': 'Please enter a valid IBAN number',
|
||||
|
||||
countryNotSupported: 'The country code %s is not supported',
|
||||
|
||||
country: 'Please enter a valid IBAN number in %s',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: 'Andorra',
|
||||
|
||||
AE: 'United Arab Emirates',
|
||||
|
||||
AL: 'Albania',
|
||||
|
||||
AO: 'Angola',
|
||||
|
||||
AT: 'Austria',
|
||||
|
||||
AZ: 'Azerbaijan',
|
||||
|
||||
BA: 'Bosnia and Herzegovina',
|
||||
|
||||
BE: 'Belgium',
|
||||
|
||||
BF: 'Burkina Faso',
|
||||
|
||||
BG: 'Bulgaria',
|
||||
|
||||
BH: 'Bahrain',
|
||||
|
||||
BI: 'Burundi',
|
||||
|
||||
BJ: 'Benin',
|
||||
|
||||
BR: 'Brazil',
|
||||
|
||||
CH: 'Switzerland',
|
||||
|
||||
CI: 'Ivory Coast',
|
||||
|
||||
CM: 'Cameroon',
|
||||
|
||||
CR: 'Costa Rica',
|
||||
|
||||
CV: 'Cape Verde',
|
||||
|
||||
CY: 'Cyprus',
|
||||
|
||||
CZ: 'Czech Republic',
|
||||
|
||||
DE: 'Germany',
|
||||
|
||||
DK: 'Denmark',
|
||||
|
||||
DO: 'Dominican Republic',
|
||||
|
||||
DZ: 'Algeria',
|
||||
|
||||
EE: 'Estonia',
|
||||
|
||||
ES: 'Spain',
|
||||
|
||||
FI: 'Finland',
|
||||
|
||||
FO: 'Faroe Islands',
|
||||
|
||||
FR: 'France',
|
||||
|
||||
GB: 'United Kingdom',
|
||||
|
||||
GE: 'Georgia',
|
||||
|
||||
GI: 'Gibraltar',
|
||||
|
||||
GL: 'Greenland',
|
||||
|
||||
GR: 'Greece',
|
||||
|
||||
GT: 'Guatemala',
|
||||
|
||||
HR: 'Croatia',
|
||||
|
||||
HU: 'Hungary',
|
||||
|
||||
IE: 'Ireland',
|
||||
|
||||
IL: 'Israel',
|
||||
|
||||
IR: 'Iran',
|
||||
|
||||
IS: 'Iceland',
|
||||
|
||||
IT: 'Italy',
|
||||
|
||||
JO: 'Jordan',
|
||||
|
||||
KW: 'Kuwait',
|
||||
|
||||
KZ: 'Kazakhstan',
|
||||
|
||||
LB: 'Lebanon',
|
||||
|
||||
LI: 'Liechtenstein',
|
||||
|
||||
LT: 'Lithuania',
|
||||
|
||||
LU: 'Luxembourg',
|
||||
|
||||
LV: 'Latvia',
|
||||
|
||||
MC: 'Monaco',
|
||||
|
||||
MD: 'Moldova',
|
||||
|
||||
ME: 'Montenegro',
|
||||
|
||||
MG: 'Madagascar',
|
||||
|
||||
MK: 'Macedonia',
|
||||
|
||||
ML: 'Mali',
|
||||
|
||||
MR: 'Mauritania',
|
||||
|
||||
MT: 'Malta',
|
||||
|
||||
MU: 'Mauritius',
|
||||
|
||||
MZ: 'Mozambique',
|
||||
|
||||
NL: 'Netherlands',
|
||||
|
||||
NO: 'Norway',
|
||||
|
||||
PK: 'Pakistan',
|
||||
|
||||
PL: 'Poland',
|
||||
|
||||
PS: 'Palestinian',
|
||||
|
||||
PT: 'Portugal',
|
||||
|
||||
QA: 'Qatar',
|
||||
|
||||
RO: 'Romania',
|
||||
|
||||
RS: 'Serbia',
|
||||
|
||||
SA: 'Saudi Arabia',
|
||||
|
||||
SE: 'Sweden',
|
||||
|
||||
SI: 'Slovenia',
|
||||
|
||||
SK: 'Slovakia',
|
||||
|
||||
SM: 'San Marino',
|
||||
|
||||
SN: 'Senegal',
|
||||
|
||||
TN: 'Tunisia',
|
||||
|
||||
TR: 'Turkey',
|
||||
|
||||
VG: 'Virgin Islands, British'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': 'Please enter a valid identification number',
|
||||
|
||||
countryNotSupported: 'The country code %s is not supported',
|
||||
|
||||
country: 'Please enter a valid %s identification number',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: 'Bosnia and Herzegovina',
|
||||
|
||||
BG: 'Bulgarian',
|
||||
|
||||
BR: 'Brazilian',
|
||||
|
||||
CH: 'Swiss',
|
||||
|
||||
CL: 'Chilean',
|
||||
|
||||
CZ: 'Czech',
|
||||
|
||||
DK: 'Danish',
|
||||
|
||||
EE: 'Estonian',
|
||||
|
||||
ES: 'Spanish',
|
||||
|
||||
FI: 'Finnish',
|
||||
326
plugins/bootstrap-validator/0.5.0/src/js/language/es_CL.js
Normal file
326
plugins/bootstrap-validator/0.5.0/src/js/language/es_CL.js
Normal file
@@ -0,0 +1,326 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* Chilean Spanish package
|
||||
|
||||
* Translated by @marceloampuerop6
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': 'Por favor ingrese un valor válido en base 64'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': 'Por favor ingrese un valor entre %s y %s',
|
||||
|
||||
notInclusive: 'Por favor ingrese un valor sólo entre %s and %s'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': 'Por favor ingrese un valor válido'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': 'Por favor ingrese un valor válido',
|
||||
|
||||
less: 'Por favor elija %s opciones como mínimo',
|
||||
|
||||
more: 'Por favor elija %s optiones como máximo',
|
||||
|
||||
between: 'Por favor elija de %s a %s opciones'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': 'Por favor ingrese un número válido de tarjeta de crédito'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': 'Por favor ingrese un número CUSIP válido'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': 'Por favor ingrese un número CVV válido'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': 'Por favor ingrese una fecha válida'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': 'Por favor ingrese un valor distinto'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': 'Por favor ingrese sólo dígitos'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': 'Por favor ingrese un número EAN válido'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': 'Por favor ingrese un email válido'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': 'Por favor elija un archivo válido'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': 'Por favor ingrese un valor mayor o igual a %s',
|
||||
|
||||
notInclusive: 'Por favor ingrese un valor mayor que %s'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': 'Por favor ingrese un número GRId válido'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': 'Por favor ingrese un valor hexadecimal válido'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': 'Por favor ingrese un color hexadecimal válido'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': 'Por favor ingrese un número IBAN válido',
|
||||
|
||||
countryNotSupported: 'El código del país %s no está soportado',
|
||||
|
||||
country: 'Por favor ingrese un número IBAN válido en %s',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: 'Andorra',
|
||||
|
||||
AE: 'Emiratos Árabes Unidos',
|
||||
|
||||
AL: 'Albania',
|
||||
|
||||
AO: 'Angola',
|
||||
|
||||
AT: 'Austria',
|
||||
|
||||
AZ: 'Azerbaiyán',
|
||||
|
||||
BA: 'Bosnia-Herzegovina',
|
||||
|
||||
BE: 'Bélgica',
|
||||
|
||||
BF: 'Burkina Faso',
|
||||
|
||||
BG: 'Bulgaria',
|
||||
|
||||
BH: 'Baréin',
|
||||
|
||||
BI: 'Burundi',
|
||||
|
||||
BJ: 'Benín',
|
||||
|
||||
BR: 'Brasil',
|
||||
|
||||
CH: 'Suiza',
|
||||
|
||||
CI: 'Costa de Marfil',
|
||||
|
||||
CM: 'Camerún',
|
||||
|
||||
CR: 'Costa Rica',
|
||||
|
||||
CV: 'Cabo Verde',
|
||||
|
||||
CY: 'Cyprus',
|
||||
|
||||
CZ: 'República Checa',
|
||||
|
||||
DE: 'Alemania',
|
||||
|
||||
DK: 'Dinamarca',
|
||||
|
||||
DO: 'República Dominicana',
|
||||
|
||||
DZ: 'Argelia',
|
||||
|
||||
EE: 'Estonia',
|
||||
|
||||
ES: 'España',
|
||||
|
||||
FI: 'Finlandia',
|
||||
|
||||
FO: 'Islas Feroe',
|
||||
|
||||
FR: 'Francia',
|
||||
|
||||
GB: 'Reino Unido',
|
||||
|
||||
GE: 'Georgia',
|
||||
|
||||
GI: 'Gibraltar',
|
||||
|
||||
GL: 'Groenlandia',
|
||||
|
||||
GR: 'Grecia',
|
||||
|
||||
GT: 'Guatemala',
|
||||
|
||||
HR: 'Croacia',
|
||||
|
||||
HU: 'Hungría',
|
||||
|
||||
IE: 'Irlanda',
|
||||
|
||||
IL: 'Israel',
|
||||
|
||||
IR: 'Iran',
|
||||
|
||||
IS: 'Islandia',
|
||||
|
||||
IT: 'Italia',
|
||||
|
||||
JO: 'Jordania',
|
||||
|
||||
KW: 'Kuwait',
|
||||
|
||||
KZ: 'Kazajistán',
|
||||
|
||||
LB: 'Líbano',
|
||||
|
||||
LI: 'Liechtenstein',
|
||||
|
||||
LT: 'Lituania',
|
||||
|
||||
LU: 'Luxemburgo',
|
||||
|
||||
LV: 'Letonia',
|
||||
|
||||
MC: 'Mónaco',
|
||||
|
||||
MD: 'Moldavia',
|
||||
|
||||
ME: 'Montenegro',
|
||||
|
||||
MG: 'Madagascar',
|
||||
|
||||
MK: 'Macedonia',
|
||||
|
||||
ML: 'Malí',
|
||||
|
||||
MR: 'Mauritania',
|
||||
|
||||
MT: 'Malta',
|
||||
|
||||
MU: 'Mauricio',
|
||||
|
||||
MZ: 'Mozambique',
|
||||
|
||||
NL: 'Países Bajos',
|
||||
|
||||
NO: 'Noruega',
|
||||
|
||||
PK: 'Pakistán',
|
||||
|
||||
PL: 'Poland',
|
||||
|
||||
PS: 'Palestina',
|
||||
|
||||
PT: 'Portugal',
|
||||
|
||||
QA: 'Catar',
|
||||
|
||||
RO: 'Rumania',
|
||||
|
||||
RS: 'Serbia',
|
||||
|
||||
SA: 'Arabia Saudita',
|
||||
|
||||
SE: 'Suecia',
|
||||
|
||||
SI: 'Eslovenia',
|
||||
|
||||
SK: 'Eslovaquia',
|
||||
|
||||
SM: 'San Marino',
|
||||
|
||||
SN: 'Senegal',
|
||||
|
||||
TN: 'Túnez',
|
||||
|
||||
TR: 'Turquía',
|
||||
|
||||
VG: 'Islas Vírgenes Británicas'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': 'Por favor ingrese un número de identificación válido',
|
||||
|
||||
countryNotSupported: 'El código del país %s no esta soportado',
|
||||
|
||||
country: 'Por favor ingrese un número de identificación %s válido',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: 'Bosnioherzegovino',
|
||||
|
||||
BG: 'Búlgaro',
|
||||
|
||||
BR: 'Brasileño',
|
||||
|
||||
CH: 'Suizo',
|
||||
|
||||
CL: 'Chileno',
|
||||
|
||||
CZ: 'Checo',
|
||||
|
||||
DK: 'Danés',
|
||||
|
||||
EE: 'Estonio',
|
||||
|
||||
ES: 'Español',
|
||||
|
||||
FI: 'Finlandés',
|
||||
|
||||
326
plugins/bootstrap-validator/0.5.0/src/js/language/hu_HU.js
Normal file
326
plugins/bootstrap-validator/0.5.0/src/js/language/hu_HU.js
Normal file
@@ -0,0 +1,326 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* Hungarian language package
|
||||
|
||||
* Translated by @blackfyre
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes base 64 karakter láncot adj meg'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': 'Kérlek, hogy %s és %s között adj meg értéket',
|
||||
|
||||
notInclusive: 'Kérlek, hogy %s és %s között adj meg értéket'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes értéket adj meg'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes értéket adj meg',
|
||||
|
||||
less: 'Kérlek, hogy legalább %s lehetőséget válassz ki',
|
||||
|
||||
more: 'Kérlek, hogy maximum %s lehetőséget válassz ki',
|
||||
|
||||
between: 'Kérlek, hogy válassz %s - %s lehetőséget'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes bankkártya számot adj meg'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes CUSIP számot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes CVV számot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes dátumot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': 'Kérlek, hogy egy másik értéket adj meg'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': 'Kérlek, hogy csak számot adj meg'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes EAN számot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes email címet ajd meg'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes fájlt válassz'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': 'Kérlek, hogy ezzel (%s) egyenlő vagy nagyobb számot adj meg',
|
||||
|
||||
notInclusive: 'Kérlek, hogy ennél (%s) nagyobb számot adj meg'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes GRId számot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes hexadecimális számot ajd meg'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes hexadecimális színt ajd meg'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes IBAN számot ajd meg',
|
||||
|
||||
countryNotSupported: 'A(z) %s országkód nem támogatott',
|
||||
|
||||
country: 'Kérlek, hogy helyes %s IBAN számot adj meg',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: 'andorrai',
|
||||
|
||||
AE: 'Egyesül Arab Emirátusok beli',
|
||||
|
||||
AL: 'albán',
|
||||
|
||||
AO: 'angolai',
|
||||
|
||||
AT: 'osztrák',
|
||||
|
||||
AZ: 'azerbajdzsáni',
|
||||
|
||||
BA: 'Bosznia-Hercegovina beli',
|
||||
|
||||
BE: 'belga',
|
||||
|
||||
BF: 'Burkina Faso beli',
|
||||
|
||||
BG: 'bulgár',
|
||||
|
||||
BH: 'bahraini',
|
||||
|
||||
BI: 'burundi',
|
||||
|
||||
BJ: 'benini',
|
||||
|
||||
BR: 'brazil',
|
||||
|
||||
CH: 'svájci',
|
||||
|
||||
CI: 'elefántcsontparti',
|
||||
|
||||
CM: 'camerooni',
|
||||
|
||||
CR: 'Costa Rica-i',
|
||||
|
||||
CV: 'Zöld-foki Köztársaság beli',
|
||||
|
||||
CY: 'ciprusi',
|
||||
|
||||
CZ: 'cseh',
|
||||
|
||||
DE: 'Német',
|
||||
|
||||
DK: 'dán',
|
||||
|
||||
DO: 'Dominikai Köztársaság beli',
|
||||
|
||||
DZ: 'algériai',
|
||||
|
||||
EE: 'észtországi',
|
||||
|
||||
ES: 'spanyol',
|
||||
|
||||
FI: 'finn',
|
||||
|
||||
FO: 'Feröer-szigetek-i',
|
||||
|
||||
FR: 'francia',
|
||||
|
||||
GB: 'Egyesült Királyság beli',
|
||||
|
||||
GE: 'grúz',
|
||||
|
||||
GI: 'gibraltári',
|
||||
|
||||
GL: 'grönlandi',
|
||||
|
||||
GR: 'görög',
|
||||
|
||||
GT: 'guatemalai',
|
||||
|
||||
HR: 'horvát',
|
||||
|
||||
HU: 'magyar',
|
||||
|
||||
IE: 'ír',
|
||||
|
||||
IL: 'izraeli',
|
||||
|
||||
IR: 'iráni',
|
||||
|
||||
IS: 'izlandi',
|
||||
|
||||
IT: 'olasz',
|
||||
|
||||
JO: 'jordán',
|
||||
|
||||
KW: 'kuwaiti',
|
||||
|
||||
KZ: 'kazah',
|
||||
|
||||
LB: 'libanoni',
|
||||
|
||||
LI: 'liechtensteini',
|
||||
|
||||
LT: 'litván',
|
||||
|
||||
LU: 'luxembourgi',
|
||||
|
||||
LV: 'latviai',
|
||||
|
||||
MC: 'monacoi',
|
||||
|
||||
MD: 'moldáv',
|
||||
|
||||
ME: 'montenegroi',
|
||||
|
||||
MG: 'madagaszkári',
|
||||
|
||||
MK: 'macedón',
|
||||
|
||||
ML: 'Mali -i',
|
||||
|
||||
MR: 'Mauritánia -i',
|
||||
|
||||
MT: 'máltai',
|
||||
|
||||
MU: 'Mauritius -i',
|
||||
|
||||
MZ: 'mozambik',
|
||||
|
||||
NL: 'holland',
|
||||
|
||||
NO: 'norvég',
|
||||
|
||||
PK: 'pakisztáni',
|
||||
|
||||
PL: 'lengyel',
|
||||
|
||||
PS: 'palesztín',
|
||||
|
||||
PT: 'portugál',
|
||||
|
||||
QA: 'qatari',
|
||||
|
||||
RO: 'román',
|
||||
|
||||
RS: 'szerb',
|
||||
|
||||
SA: 'saudi',
|
||||
|
||||
SE: 'svéd',
|
||||
|
||||
SI: 'szlovén',
|
||||
|
||||
SK: 'szlovák',
|
||||
|
||||
SM: 'San Marino beli',
|
||||
|
||||
SN: 'senegali',
|
||||
|
||||
TN: 'tunéz',
|
||||
|
||||
TR: 'török',
|
||||
|
||||
VG: 'Brit Virgin-szigetek beli'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': 'Kérlek, hogy érvényes személy azonosító számot adj meg',
|
||||
|
||||
countryNotSupported: 'A(z) %s országkód nem támogatott',
|
||||
|
||||
country: 'Kérlek, hogy érvényes %s személy azonosító számot ajd meg',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: 'Bosznia-Hercegovina beli',
|
||||
|
||||
BG: 'bulgár',
|
||||
|
||||
BR: 'brazil',
|
||||
|
||||
CH: 'svájci',
|
||||
|
||||
CL: 'chilei',
|
||||
|
||||
CZ: 'cseh',
|
||||
|
||||
DK: 'dán',
|
||||
|
||||
EE: 'észt',
|
||||
|
||||
ES: 'spanyol',
|
||||
|
||||
FI: 'finn',
|
||||
|
||||
322
plugins/bootstrap-validator/0.5.0/src/js/language/vi_VN.js
Normal file
322
plugins/bootstrap-validator/0.5.0/src/js/language/vi_VN.js
Normal file
@@ -0,0 +1,322 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': 'Vui lòng nhập chuỗi mã hoá base64 hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': 'Vui lòng nhập giá trị nằm giữa %s và %s',
|
||||
|
||||
notInclusive: 'Vui lòng nhập giá trị nằm giữa %s và %s'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': 'Vui lòng nhập giá trị hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': 'Vui lòng nhập giá trị hợp lệ',
|
||||
|
||||
less: 'Vui lòng chọn ít nhất %s lựa chọn',
|
||||
|
||||
more: 'Vui lòng chọn nhiều nhất %s lựa chọn',
|
||||
|
||||
between: 'Vui lòng chọn %s - %s lựa chọn'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': 'Vui lòng nhập số thẻ tín dụng hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': 'Vui lòng nhập số CUSIP hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': 'Vui lòng nhập số CVV hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': 'Vui lòng nhập ngày hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': 'Vui lòng nhập một giá trị khác'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': 'Vui lòng chỉ nhập số'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': 'Vui lòng nhập số EAN hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': 'Vui lòng nhập địa chỉ email hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': 'Vui lòng chọn file hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': 'Vui lòng nhập giá trị lớn hơn hoặc bằng %s',
|
||||
|
||||
notInclusive: 'Vui lòng nhập giá trị lớn hơn %s'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': 'Vui lòng nhập số GRId hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': 'Vui lòng nhập số hexa hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': 'Vui lòng nhập mã màu hợp lệ'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': 'Vui lòng nhập số IBAN hợp lệ',
|
||||
|
||||
countryNotSupported: 'Mã quốc gia %s không được hỗ trợ',
|
||||
|
||||
country: 'Vui lòng nhập mã IBAN hợp lệ của %s',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: 'Andorra',
|
||||
|
||||
AE: 'Tiểu vương quốc Ả Rập thống nhất',
|
||||
|
||||
AL: 'Albania',
|
||||
|
||||
AO: 'Angola',
|
||||
|
||||
AT: 'Áo',
|
||||
|
||||
AZ: 'Azerbaijan',
|
||||
|
||||
BA: 'Bosnia và Herzegovina',
|
||||
|
||||
BE: 'Bỉ',
|
||||
|
||||
BF: 'Burkina Faso',
|
||||
|
||||
BG: 'Bulgaria',
|
||||
|
||||
BH: 'Bahrain',
|
||||
|
||||
BI: 'Burundi',
|
||||
|
||||
BJ: 'Benin',
|
||||
|
||||
BR: 'Brazil',
|
||||
|
||||
CH: 'Thuỵ Sĩ',
|
||||
|
||||
CI: 'Bờ Biển Ngà',
|
||||
|
||||
CM: 'Cameroon',
|
||||
|
||||
CR: 'Costa Rica',
|
||||
|
||||
CV: 'Cape Verde',
|
||||
|
||||
CY: 'Síp',
|
||||
|
||||
CZ: 'Séc',
|
||||
|
||||
DE: 'Đức',
|
||||
|
||||
DK: 'Đan Mạch',
|
||||
|
||||
DO: 'Dominican',
|
||||
|
||||
DZ: 'Algeria',
|
||||
|
||||
EE: 'Estonia',
|
||||
|
||||
ES: 'Tây Ban Nha',
|
||||
|
||||
FI: 'Phần Lan',
|
||||
|
||||
FO: 'Đảo Faroe',
|
||||
|
||||
FR: 'Pháp',
|
||||
|
||||
GB: 'Vương quốc Anh',
|
||||
|
||||
GE: 'Georgia',
|
||||
|
||||
GI: 'Gibraltar',
|
||||
|
||||
GL: 'Greenland',
|
||||
|
||||
GR: 'Hy Lạp',
|
||||
|
||||
GT: 'Guatemala',
|
||||
|
||||
HR: 'Croatia',
|
||||
|
||||
HU: 'Hungary',
|
||||
|
||||
IE: 'Ireland',
|
||||
|
||||
IL: 'Israel',
|
||||
|
||||
IR: 'Iran',
|
||||
|
||||
IS: 'Iceland',
|
||||
|
||||
IT: 'Ý',
|
||||
|
||||
JO: 'Jordan',
|
||||
|
||||
KW: 'Kuwait',
|
||||
|
||||
KZ: 'Kazakhstan',
|
||||
|
||||
LB: 'Lebanon',
|
||||
|
||||
LI: 'Liechtenstein',
|
||||
|
||||
LT: 'Lithuania',
|
||||
|
||||
LU: 'Luxembourg',
|
||||
|
||||
LV: 'Latvia',
|
||||
|
||||
MC: 'Monaco',
|
||||
|
||||
MD: 'Moldova',
|
||||
|
||||
ME: 'Montenegro',
|
||||
|
||||
MG: 'Madagascar',
|
||||
|
||||
MK: 'Macedonia',
|
||||
|
||||
ML: 'Mali',
|
||||
|
||||
MR: 'Mauritania',
|
||||
|
||||
MT: 'Malta',
|
||||
|
||||
MU: 'Mauritius',
|
||||
|
||||
MZ: 'Mozambique',
|
||||
|
||||
NL: 'Hà Lan',
|
||||
|
||||
NO: 'Na Uy',
|
||||
|
||||
PK: 'Pakistan',
|
||||
|
||||
PL: 'Ba Lan',
|
||||
|
||||
PS: 'Palestinian',
|
||||
|
||||
PT: 'Bồ Đào Nha',
|
||||
|
||||
QA: 'Qatar',
|
||||
|
||||
RO: 'Rumani',
|
||||
|
||||
RS: 'Serbia',
|
||||
|
||||
SA: 'Ả Rập Xê Út',
|
||||
|
||||
SE: 'Thuỵ Điển',
|
||||
|
||||
SI: 'Slovenia',
|
||||
|
||||
SK: 'Slovakia',
|
||||
|
||||
SM: 'San Marino',
|
||||
|
||||
SN: 'Senegal',
|
||||
|
||||
TN: 'Tunisia',
|
||||
|
||||
TR: 'Thổ Nhĩ Kỳ',
|
||||
|
||||
VG: 'Đảo Virgin, Anh quốc'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': 'Vui lòng nhập mã ID hợp lệ',
|
||||
|
||||
countryNotSupported: 'Mã quốc gia %s không được hỗ trợ',
|
||||
|
||||
country: 'Vui lòng nhập mã ID hợp lệ của %s',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: 'Bosnia và Herzegovina',
|
||||
|
||||
BG: 'Bulgari',
|
||||
|
||||
BR: 'Brazil',
|
||||
|
||||
CH: 'Thuỵ Sĩ',
|
||||
|
||||
CL: 'Chi Lê',
|
||||
|
||||
CZ: 'Séc',
|
||||
|
||||
DK: 'Đan Mạch',
|
||||
|
||||
EE: 'Estonia',
|
||||
|
||||
ES: 'Tây Ban Nha',
|
||||
|
||||
FI: 'Phần Lan',
|
||||
|
||||
HR: 'Croatia',
|
||||
|
||||
IE: 'Ireland',
|
||||
|
||||
326
plugins/bootstrap-validator/0.5.0/src/js/language/zh_CN.js
Normal file
326
plugins/bootstrap-validator/0.5.0/src/js/language/zh_CN.js
Normal file
@@ -0,0 +1,326 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* Traditional Chinese language package
|
||||
|
||||
* Translated by @tureki
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': '请输入有效的Base64编码'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': '请输入不小于%s 且不大于%s 的值',
|
||||
|
||||
notInclusive: '请输入不小于等于%s 且不大于等于%s 的值'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': '请输入有效的值'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': '请输入有效的值',
|
||||
|
||||
less: '最少选择 %s 个选项',
|
||||
|
||||
more: '最多选择 %s 个选项',
|
||||
|
||||
between: '请选择 %s 至 %s 个选项'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': '请输入有效的信用卡号码'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': '请输入有效的CUSIP'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': '请输入有效的CVV'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': '请输入有效的日期'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': '请输入不一样的值'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': '只能输入数字'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': '请输入有效的EAN'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': '请输入有效的EMAIL'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': '请选择有效的档案'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': '请输入大于或等于 %s 的值',
|
||||
|
||||
notInclusive: '请输入大于 %s 的值'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': '请输入有效的GRId'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': '请输入有效的16位元码'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': '请输入有效的16位色码'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': '请输入有效的IBAN ',
|
||||
|
||||
countryNotSupported: '不支援该国家代码%s',
|
||||
|
||||
country: '请输入有效的 %s IBAN编号 ',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: '安道尔',
|
||||
|
||||
AE: '阿联酋',
|
||||
|
||||
AL: '阿尔巴尼亚',
|
||||
|
||||
AO: '安哥拉',
|
||||
|
||||
AT: '奥地利',
|
||||
|
||||
AZ: '阿塞拜疆',
|
||||
|
||||
BA: '波斯尼亚和黑塞哥维那',
|
||||
|
||||
BE: '比利时',
|
||||
|
||||
BF: '布基纳法索',
|
||||
|
||||
BG: '保加利亚',
|
||||
|
||||
BH: '巴林',
|
||||
|
||||
BI: '布隆迪',
|
||||
|
||||
BJ: '贝宁',
|
||||
|
||||
BR: '巴西',
|
||||
|
||||
CH: '瑞士',
|
||||
|
||||
CI: '象牙海岸',
|
||||
|
||||
CM: '喀麦隆',
|
||||
|
||||
CR: '哥斯达黎加',
|
||||
|
||||
CV: '佛得角',
|
||||
|
||||
CY: '塞浦路斯',
|
||||
|
||||
CZ: '捷克共和国',
|
||||
|
||||
DE: '德国',
|
||||
|
||||
DK: '丹麦',
|
||||
|
||||
DO: '多明尼加共和国',
|
||||
|
||||
DZ: '阿尔及利亚',
|
||||
|
||||
EE: '爱沙尼亚',
|
||||
|
||||
ES: '西班牙',
|
||||
|
||||
FI: '芬兰',
|
||||
|
||||
FO: '法罗群岛',
|
||||
|
||||
FR: '法国',
|
||||
|
||||
GB: '英国',
|
||||
|
||||
GE: '格鲁吉亚',
|
||||
|
||||
GI: '直布罗陀',
|
||||
|
||||
GL: '格陵兰岛',
|
||||
|
||||
GR: '希腊',
|
||||
|
||||
GT: '危地马拉',
|
||||
|
||||
HR: '克罗地亚',
|
||||
|
||||
HU: '匈牙利',
|
||||
|
||||
IE: '爱尔兰',
|
||||
|
||||
IL: '以色列',
|
||||
|
||||
IR: '伊朗',
|
||||
|
||||
IS: '冰岛',
|
||||
|
||||
IT: '意大利',
|
||||
|
||||
JO: '乔丹',
|
||||
|
||||
KW: '科威特',
|
||||
|
||||
KZ: '哈萨克斯坦',
|
||||
|
||||
LB: '黎巴嫩',
|
||||
|
||||
LI: '列支敦士登',
|
||||
|
||||
LT: '立陶宛',
|
||||
|
||||
LU: '卢森堡',
|
||||
|
||||
LV: '拉脱维亚',
|
||||
|
||||
MC: '摩纳哥',
|
||||
|
||||
MD: '摩尔多瓦',
|
||||
|
||||
ME: '黑山共和国',
|
||||
|
||||
MG: '马达加斯加',
|
||||
|
||||
MK: '马其顿',
|
||||
|
||||
ML: '马里',
|
||||
|
||||
MR: '毛里塔尼亚',
|
||||
|
||||
MT: '马耳他',
|
||||
|
||||
MU: '毛里求斯',
|
||||
|
||||
MZ: '莫桑比克',
|
||||
|
||||
NL: '荷兰',
|
||||
|
||||
NO: '挪威',
|
||||
|
||||
PK: '巴基斯坦',
|
||||
|
||||
PL: '波兰',
|
||||
|
||||
PS: '巴勒斯坦',
|
||||
|
||||
PT: '葡萄牙',
|
||||
|
||||
QA: '卡塔尔',
|
||||
|
||||
RO: '罗马尼亚',
|
||||
|
||||
RS: '塞尔维亚',
|
||||
|
||||
SA: '沙特阿拉伯',
|
||||
|
||||
SE: '瑞典',
|
||||
|
||||
SI: '斯洛文尼亚',
|
||||
|
||||
SK: '斯洛伐克',
|
||||
|
||||
SM: '圣马力诺',
|
||||
|
||||
SN: '塞内加尔',
|
||||
|
||||
TN: '突尼斯',
|
||||
|
||||
TR: '土耳其',
|
||||
|
||||
VG: '英属维尔京群岛'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': '请输入有效的身份证字号码',
|
||||
|
||||
countryNotSupported: '不支援该国家代码%s',
|
||||
|
||||
country: '请输入有效的%s 身份证字号码',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: '波斯尼亚和黑塞哥维那',
|
||||
|
||||
BG: '保加利亚',
|
||||
|
||||
BR: '巴西',
|
||||
|
||||
CH: '瑞士',
|
||||
|
||||
CL: '智利',
|
||||
|
||||
CZ: '捷克',
|
||||
|
||||
DK: '丹麦',
|
||||
|
||||
EE: '爱沙尼亚',
|
||||
|
||||
ES: '西班牙语',
|
||||
|
||||
FI: '芬兰',
|
||||
|
||||
326
plugins/bootstrap-validator/0.5.0/src/js/language/zh_TW.js
Normal file
326
plugins/bootstrap-validator/0.5.0/src/js/language/zh_TW.js
Normal file
@@ -0,0 +1,326 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
|
||||
* Simplified Chinese language package
|
||||
|
||||
* Translated by @tureki
|
||||
|
||||
*/
|
||||
|
||||
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
|
||||
|
||||
base64: {
|
||||
|
||||
'default': '請輸入有效的Base64編碼'
|
||||
|
||||
},
|
||||
|
||||
between: {
|
||||
|
||||
'default': '請輸入不小於 %s 且不大於 %s 的值',
|
||||
|
||||
notInclusive: '請輸入不小於等於 %s 且不大於等於 %s 的值'
|
||||
|
||||
},
|
||||
|
||||
callback: {
|
||||
|
||||
'default': '請輸入有效的值'
|
||||
|
||||
},
|
||||
|
||||
choice: {
|
||||
|
||||
'default': '請輸入有效的值',
|
||||
|
||||
less: '最少選擇 %s 個選項',
|
||||
|
||||
more: '最多選擇 %s 個選項',
|
||||
|
||||
between: '請選擇 %s 至 %s 個選項'
|
||||
|
||||
},
|
||||
|
||||
creditCard: {
|
||||
|
||||
'default': '請輸入有效的信用卡號碼'
|
||||
|
||||
},
|
||||
|
||||
cusip: {
|
||||
|
||||
'default': '請輸入有效的CUSIP'
|
||||
|
||||
},
|
||||
|
||||
cvv: {
|
||||
|
||||
'default': '請輸入有效的CVV'
|
||||
|
||||
},
|
||||
|
||||
date: {
|
||||
|
||||
'default': '請輸入有效的日期'
|
||||
|
||||
},
|
||||
|
||||
different: {
|
||||
|
||||
'default': '請輸入不一樣的值'
|
||||
|
||||
},
|
||||
|
||||
digits: {
|
||||
|
||||
'default': '只能輸入數字'
|
||||
|
||||
},
|
||||
|
||||
ean: {
|
||||
|
||||
'default': '請輸入有效的EAN'
|
||||
|
||||
},
|
||||
|
||||
emailAddress: {
|
||||
|
||||
'default': '請輸入有效的EMAIL'
|
||||
|
||||
},
|
||||
|
||||
file: {
|
||||
|
||||
'default': '請選擇有效的檔案'
|
||||
|
||||
},
|
||||
|
||||
greaterThan: {
|
||||
|
||||
'default': '請輸入大於或等於 %s 的值',
|
||||
|
||||
notInclusive: '請輸入大於 %s 的值'
|
||||
|
||||
},
|
||||
|
||||
grid: {
|
||||
|
||||
'default': '請輸入有效的GRId'
|
||||
|
||||
},
|
||||
|
||||
hex: {
|
||||
|
||||
'default': '請輸入有效的16位元碼'
|
||||
|
||||
},
|
||||
|
||||
hexColor: {
|
||||
|
||||
'default': '請輸入有效的16位色碼'
|
||||
|
||||
},
|
||||
|
||||
iban: {
|
||||
|
||||
'default': '請輸入有效的IBAN ',
|
||||
|
||||
countryNotSupported: '不支援該國家代碼 %s',
|
||||
|
||||
country: '請輸入有效的 %s IBAN編號 ',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: '安道爾',
|
||||
|
||||
AE: '阿聯酋',
|
||||
|
||||
AL: '阿爾巴尼亞',
|
||||
|
||||
AO: '安哥拉',
|
||||
|
||||
AT: '奧地利',
|
||||
|
||||
AZ: '阿塞拜疆',
|
||||
|
||||
BA: '波斯尼亞和黑塞哥維那',
|
||||
|
||||
BE: '比利時',
|
||||
|
||||
BF: '布基納法索',
|
||||
|
||||
BG: '保加利亞',
|
||||
|
||||
BH: '巴林',
|
||||
|
||||
BI: '布隆迪',
|
||||
|
||||
BJ: '貝寧',
|
||||
|
||||
BR: '巴西',
|
||||
|
||||
CH: '瑞士',
|
||||
|
||||
CI: '象牙海岸',
|
||||
|
||||
CM: '喀麥隆',
|
||||
|
||||
CR: '哥斯達黎加',
|
||||
|
||||
CV: '佛得角',
|
||||
|
||||
CY: '塞浦路斯',
|
||||
|
||||
CZ: '捷克共和國',
|
||||
|
||||
DE: '德國',
|
||||
|
||||
DK: '丹麥',
|
||||
|
||||
DO: '多明尼加共和國',
|
||||
|
||||
DZ: '阿爾及利亞',
|
||||
|
||||
EE: '愛沙尼亞',
|
||||
|
||||
ES: '西班牙',
|
||||
|
||||
FI: '芬蘭',
|
||||
|
||||
FO: '法羅群島',
|
||||
|
||||
FR: '法國',
|
||||
|
||||
GB: '英國',
|
||||
|
||||
GE: '格魯吉亞',
|
||||
|
||||
GI: '直布羅陀',
|
||||
|
||||
GL: '格陵蘭島',
|
||||
|
||||
GR: '希臘',
|
||||
|
||||
GT: '危地馬拉',
|
||||
|
||||
HR: '克羅地亞',
|
||||
|
||||
HU: '匈牙利',
|
||||
|
||||
IE: '愛爾蘭',
|
||||
|
||||
IL: '以色列',
|
||||
|
||||
IR: '伊朗',
|
||||
|
||||
IS: '冰島',
|
||||
|
||||
IT: '意大利',
|
||||
|
||||
JO: '喬丹',
|
||||
|
||||
KW: '科威特',
|
||||
|
||||
KZ: '哈薩克斯坦',
|
||||
|
||||
LB: '黎巴嫩',
|
||||
|
||||
LI: '列支敦士登',
|
||||
|
||||
LT: '立陶宛',
|
||||
|
||||
LU: '盧森堡',
|
||||
|
||||
LV: '拉脫維亞',
|
||||
|
||||
MC: '摩納哥',
|
||||
|
||||
MD: '摩爾多瓦',
|
||||
|
||||
ME: '黑山共和國',
|
||||
|
||||
MG: '馬達加斯加',
|
||||
|
||||
MK: '馬其頓',
|
||||
|
||||
ML: '馬里',
|
||||
|
||||
MR: '毛里塔尼亞',
|
||||
|
||||
MT: '馬耳他',
|
||||
|
||||
MU: '毛里求斯',
|
||||
|
||||
MZ: '莫桑比克',
|
||||
|
||||
NL: '荷蘭',
|
||||
|
||||
NO: '挪威',
|
||||
|
||||
PK: '巴基斯坦',
|
||||
|
||||
PL: '波蘭',
|
||||
|
||||
PS: '巴勒斯坦',
|
||||
|
||||
PT: '葡萄牙',
|
||||
|
||||
QA: '卡塔爾',
|
||||
|
||||
RO: '羅馬尼亞',
|
||||
|
||||
RS: '塞爾維亞',
|
||||
|
||||
SA: '沙特阿拉伯',
|
||||
|
||||
SE: '瑞典',
|
||||
|
||||
SI: '斯洛文尼亞',
|
||||
|
||||
SK: '斯洛伐克',
|
||||
|
||||
SM: '聖馬力諾',
|
||||
|
||||
SN: '塞內加爾',
|
||||
|
||||
TN: '突尼斯',
|
||||
|
||||
TR: '土耳其',
|
||||
|
||||
VG: '英屬維爾京群島'
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
id: {
|
||||
|
||||
'default': '請輸入有效的身份證字號碼',
|
||||
|
||||
countryNotSupported: '不支援該國家代碼 %s',
|
||||
|
||||
country: '請輸入有效的 %s 身份證字號碼',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: '波斯尼亞和黑塞哥維那',
|
||||
|
||||
BG: '保加利亞',
|
||||
|
||||
BR: '巴西',
|
||||
|
||||
CH: '瑞士',
|
||||
|
||||
CL: '智利',
|
||||
|
||||
CZ: '捷克',
|
||||
|
||||
DK: '丹麥',
|
||||
|
||||
EE: '愛沙尼亞',
|
||||
|
||||
ES: '西班牙語',
|
||||
|
||||
FI: '芬蘭',
|
||||
|
||||
25
plugins/bootstrap-validator/0.5.0/src/js/validator/base64.js
Normal file
25
plugins/bootstrap-validator/0.5.0/src/js/validator/base64.js
Normal file
@@ -0,0 +1,25 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.base64 = $.extend($.fn.bootstrapValidator.i18n.base64 || {}, {
|
||||
|
||||
'default': 'Please enter a valid base 64 encoded'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.base64 = {
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is a base 64 encoded string.
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
@@ -0,0 +1,66 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.between = $.extend($.fn.bootstrapValidator.i18n.between || {}, {
|
||||
|
||||
'default': 'Please enter a value between %s and %s',
|
||||
|
||||
notInclusive: 'Please enter a value between %s and %s strictly'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.between = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
min: 'min',
|
||||
|
||||
max: 'max',
|
||||
|
||||
inclusive: 'inclusive'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
enableByHtml5: function($field) {
|
||||
|
||||
if ('range' === $field.attr('type')) {
|
||||
|
||||
return {
|
||||
|
||||
min: $field.attr('min'),
|
||||
|
||||
max: $field.attr('max')
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return false;
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is between (strictly or not) two given numbers
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - min
|
||||
|
||||
* - max
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.callback = $.extend($.fn.bootstrapValidator.i18n.callback || {}, {
|
||||
|
||||
'default': 'Please enter a valid value'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.callback = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
callback: 'callback'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return result from the callback method
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - callback: The callback method that passes 2 parameters:
|
||||
|
||||
* callback: function(fieldValue, validator, $field) {
|
||||
|
||||
* // fieldValue is the value of field
|
||||
|
||||
68
plugins/bootstrap-validator/0.5.0/src/js/validator/choice.js
Normal file
68
plugins/bootstrap-validator/0.5.0/src/js/validator/choice.js
Normal file
@@ -0,0 +1,68 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.choice = $.extend($.fn.bootstrapValidator.i18n.choice || {}, {
|
||||
|
||||
'default': 'Please enter a valid value',
|
||||
|
||||
less: 'Please choose %s options at minimum',
|
||||
|
||||
more: 'Please choose %s options at maximum',
|
||||
|
||||
between: 'Please choose %s - %s options'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.choice = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
min: 'min',
|
||||
|
||||
max: 'max'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Check if the number of checked boxes are less or more than a given number
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consists of following keys:
|
||||
|
||||
* - min
|
||||
|
||||
* - max
|
||||
|
||||
*
|
||||
|
||||
* At least one of two keys is required
|
||||
|
||||
* The min, max keys define the number which the field value compares to. min, max can be
|
||||
|
||||
* - A number
|
||||
|
||||
* - Name of field which its value defines the number
|
||||
|
||||
* - Name of callback function that returns the number
|
||||
|
||||
* - A callback function that returns the number
|
||||
|
||||
*
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Object}
|
||||
|
||||
*/
|
||||
|
||||
103
plugins/bootstrap-validator/0.5.0/src/js/validator/creditCard.js
Normal file
103
plugins/bootstrap-validator/0.5.0/src/js/validator/creditCard.js
Normal file
@@ -0,0 +1,103 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.creditCard = $.extend($.fn.bootstrapValidator.i18n.creditCard || {}, {
|
||||
|
||||
'default': 'Please enter a valid credit card number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.creditCard = {
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is valid credit card number
|
||||
|
||||
* Based on https://gist.github.com/DiegoSalazar/4075533
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} [options] Can consist of the following key:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Accept only digits, dashes or spaces
|
||||
|
||||
if (/[^0-9-\s]+/.test(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
value = value.replace(/\D/g, '');
|
||||
|
||||
|
||||
|
||||
if (!$.fn.bootstrapValidator.helpers.luhn(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Validate the card number based on prefix (IIN ranges) and length
|
||||
|
||||
var cards = {
|
||||
|
||||
AMERICAN_EXPRESS: {
|
||||
|
||||
length: [15],
|
||||
|
||||
prefix: ['34', '37']
|
||||
|
||||
},
|
||||
|
||||
DINERS_CLUB: {
|
||||
|
||||
length: [14],
|
||||
|
||||
prefix: ['300', '301', '302', '303', '304', '305', '36']
|
||||
|
||||
},
|
||||
|
||||
DINERS_CLUB_US: {
|
||||
|
||||
length: [16],
|
||||
|
||||
prefix: ['54', '55']
|
||||
|
||||
},
|
||||
|
||||
DISCOVER: {
|
||||
|
||||
length: [16],
|
||||
|
||||
prefix: ['6011', '622126', '622127', '622128', '622129', '62213',
|
||||
|
||||
'62214', '62215', '62216', '62217', '62218', '62219',
|
||||
|
||||
'6222', '6223', '6224', '6225', '6226', '6227', '6228',
|
||||
|
||||
'62290', '62291', '622920', '622921', '622922', '622923',
|
||||
55
plugins/bootstrap-validator/0.5.0/src/js/validator/cusip.js
Normal file
55
plugins/bootstrap-validator/0.5.0/src/js/validator/cusip.js
Normal file
@@ -0,0 +1,55 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.cusip = $.extend($.fn.bootstrapValidator.i18n.cusip || {}, {
|
||||
|
||||
'default': 'Please enter a valid CUSIP number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.cusip = {
|
||||
|
||||
/**
|
||||
|
||||
* Validate a CUSIP
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 037833100, 931142103, 14149YAR8, 126650BG6
|
||||
|
||||
* - Invalid: 31430F200, 022615AC2
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/CUSIP
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} [options] Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
value = value.toUpperCase();
|
||||
|
||||
if (!/^[0-9A-Z]{9}$/.test(value)) {
|
||||
|
||||
return false;
|
||||
116
plugins/bootstrap-validator/0.5.0/src/js/validator/cvv.js
Normal file
116
plugins/bootstrap-validator/0.5.0/src/js/validator/cvv.js
Normal file
@@ -0,0 +1,116 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.cvv = $.extend($.fn.bootstrapValidator.i18n.cvv || {}, {
|
||||
|
||||
'default': 'Please enter a valid CVV number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.cvv = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
ccfield: 'creditCardField'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is a valid CVV number.
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - creditCardField: The credit card number field. It can be null
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!/^[0-9]{3,4}$/.test(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!options.creditCardField) {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Get the credit card number
|
||||
|
||||
var creditCard = validator.getFieldElements(options.creditCardField).val();
|
||||
|
||||
if (creditCard === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
creditCard = creditCard.replace(/\D/g, '');
|
||||
|
||||
|
||||
|
||||
// Supported credit card types
|
||||
|
||||
var cards = {
|
||||
|
||||
AMERICAN_EXPRESS: {
|
||||
|
||||
length: [15],
|
||||
|
||||
prefix: ['34', '37']
|
||||
|
||||
},
|
||||
|
||||
DINERS_CLUB: {
|
||||
|
||||
length: [14],
|
||||
|
||||
prefix: ['300', '301', '302', '303', '304', '305', '36']
|
||||
|
||||
},
|
||||
|
||||
DINERS_CLUB_US: {
|
||||
|
||||
length: [16],
|
||||
|
||||
prefix: ['54', '55']
|
||||
|
||||
},
|
||||
|
||||
DISCOVER: {
|
||||
|
||||
118
plugins/bootstrap-validator/0.5.0/src/js/validator/date.js
Normal file
118
plugins/bootstrap-validator/0.5.0/src/js/validator/date.js
Normal file
@@ -0,0 +1,118 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.date = $.extend($.fn.bootstrapValidator.i18n.date || {}, {
|
||||
|
||||
'default': 'Please enter a valid date'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.date = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
format: 'format',
|
||||
|
||||
separator: 'separator'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is valid date
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* - separator: Use to separate the date, month, and year.
|
||||
|
||||
* By default, it is /
|
||||
|
||||
* - format: The date format. Default is MM/DD/YYYY
|
||||
|
||||
* The format can be:
|
||||
|
||||
*
|
||||
|
||||
* i) date: Consist of DD, MM, YYYY parts which are separated by the separator option
|
||||
|
||||
* ii) date and time:
|
||||
|
||||
* The time can consist of h, m, s parts which are separated by :
|
||||
|
||||
* ii) date, time and A (indicating AM or PM)
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
options.format = options.format || 'MM/DD/YYYY';
|
||||
|
||||
|
||||
|
||||
var formats = options.format.split(' '),
|
||||
|
||||
dateFormat = formats[0],
|
||||
|
||||
timeFormat = (formats.length > 1) ? formats[1] : null,
|
||||
|
||||
amOrPm = (formats.length > 2) ? formats[2] : null,
|
||||
|
||||
sections = value.split(' '),
|
||||
|
||||
date = sections[0],
|
||||
|
||||
time = (sections.length > 1) ? sections[1] : null;
|
||||
|
||||
|
||||
|
||||
if (formats.length !== sections.length) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Determine the separator
|
||||
|
||||
var separator = options.separator;
|
||||
|
||||
if (!separator) {
|
||||
|
||||
separator = (date.indexOf('/') !== -1) ? '/' : ((date.indexOf('-') !== -1) ? '-' : null);
|
||||
|
||||
}
|
||||
|
||||
if (separator === null || date.indexOf(separator) === -1) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.different = $.extend($.fn.bootstrapValidator.i18n.different || {}, {
|
||||
|
||||
'default': 'Please enter a different value'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.different = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
field: 'field'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is different with given field's value
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consists of the following key:
|
||||
|
||||
* - field: The name of field that will be used to compare with current one
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
24
plugins/bootstrap-validator/0.5.0/src/js/validator/digits.js
Normal file
24
plugins/bootstrap-validator/0.5.0/src/js/validator/digits.js
Normal file
@@ -0,0 +1,24 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.digits = $.extend($.fn.bootstrapValidator.i18n.digits || {}, {
|
||||
|
||||
'default': 'Please enter only digits'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.digits = {
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value contains digits only
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator Validate plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} [options]
|
||||
|
||||
40
plugins/bootstrap-validator/0.5.0/src/js/validator/ean.js
Normal file
40
plugins/bootstrap-validator/0.5.0/src/js/validator/ean.js
Normal file
@@ -0,0 +1,40 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.ean = $.extend($.fn.bootstrapValidator.i18n.ean || {}, {
|
||||
|
||||
'default': 'Please enter a valid EAN number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.ean = {
|
||||
|
||||
/**
|
||||
|
||||
* Validate EAN (International Article Number)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 73513537, 9780471117094, 4006381333931
|
||||
|
||||
* - Invalid: 73513536
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/European_Article_Number
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.emailAddress = $.extend($.fn.bootstrapValidator.i18n.emailAddress || {}, {
|
||||
|
||||
'default': 'Please enter a valid email address'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.emailAddress = {
|
||||
|
||||
enableByHtml5: function($field) {
|
||||
|
||||
return ('email' === $field.attr('type'));
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if and only if the input value is a valid email address
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator Validate plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} [options]
|
||||
69
plugins/bootstrap-validator/0.5.0/src/js/validator/file.js
Normal file
69
plugins/bootstrap-validator/0.5.0/src/js/validator/file.js
Normal file
@@ -0,0 +1,69 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.file = $.extend($.fn.bootstrapValidator.i18n.file || {}, {
|
||||
|
||||
'default': 'Please choose a valid file'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.file = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
extension: 'extension',
|
||||
|
||||
maxsize: 'maxSize',
|
||||
|
||||
message: 'message',
|
||||
|
||||
type: 'type'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate upload file. Use HTML 5 API if the browser supports
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - extension: The allowed extensions, separated by a comma
|
||||
|
||||
* - maxSize: The maximum size in bytes
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* - type: The allowed MIME type, separated by a comma
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
var ext,
|
||||
|
||||
extensions = options.extension ? options.extension.toLowerCase().split(',') : null,
|
||||
|
||||
types = options.type ? options.type.toLowerCase().split(',') : null,
|
||||
|
||||
html5 = (window.File && window.FileList && window.FileReader);
|
||||
@@ -0,0 +1,61 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.greaterThan = $.extend($.fn.bootstrapValidator.i18n.greaterThan || {}, {
|
||||
|
||||
'default': 'Please enter a value greater than or equal to %s',
|
||||
|
||||
notInclusive: 'Please enter a value greater than %s'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.greaterThan = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
value: 'value',
|
||||
|
||||
inclusive: 'inclusive'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
enableByHtml5: function($field) {
|
||||
|
||||
var min = $field.attr('min');
|
||||
|
||||
if (min) {
|
||||
|
||||
return {
|
||||
|
||||
value: min
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return false;
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is greater than or equals to given number
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator Validate plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - value: Define the number to compare with. It can be
|
||||
37
plugins/bootstrap-validator/0.5.0/src/js/validator/grid.js
Normal file
37
plugins/bootstrap-validator/0.5.0/src/js/validator/grid.js
Normal file
@@ -0,0 +1,37 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.grid = $.extend($.fn.bootstrapValidator.i18n.grid || {}, {
|
||||
|
||||
'default': 'Please enter a valid GRId number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.grid = {
|
||||
|
||||
/**
|
||||
|
||||
* Validate GRId (Global Release Identifier)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: A12425GABC1234002M, A1-2425G-ABC1234002-M, A1 2425G ABC1234002 M, Grid:A1-2425G-ABC1234002-M
|
||||
|
||||
* - Invalid: A1-2425G-ABC1234002-Q
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/Global_Release_Identifier
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
25
plugins/bootstrap-validator/0.5.0/src/js/validator/hex.js
Normal file
25
plugins/bootstrap-validator/0.5.0/src/js/validator/hex.js
Normal file
@@ -0,0 +1,25 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.hex = $.extend($.fn.bootstrapValidator.i18n.hex || {}, {
|
||||
|
||||
'default': 'Please enter a valid hexadecimal number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.hex = {
|
||||
|
||||
/**
|
||||
|
||||
* Return true if and only if the input value is a valid hexadecimal number
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consist of key:
|
||||
|
||||
* - message: The invalid message
|
||||
@@ -0,0 +1,28 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.hexColor = $.extend($.fn.bootstrapValidator.i18n.hexColor || {}, {
|
||||
|
||||
'default': 'Please enter a valid hex color'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.hexColor = {
|
||||
|
||||
enableByHtml5: function($field) {
|
||||
|
||||
return ('color' === $field.attr('type'));
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is a valid hex color
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
246
plugins/bootstrap-validator/0.5.0/src/js/validator/iban.js
Normal file
246
plugins/bootstrap-validator/0.5.0/src/js/validator/iban.js
Normal file
@@ -0,0 +1,246 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.iban = $.extend($.fn.bootstrapValidator.i18n.iban || {}, {
|
||||
|
||||
'default': 'Please enter a valid IBAN number',
|
||||
|
||||
countryNotSupported: 'The country code %s is not supported',
|
||||
|
||||
country: 'Please enter a valid IBAN number in %s',
|
||||
|
||||
countries: {
|
||||
|
||||
AD: 'Andorra',
|
||||
|
||||
AE: 'United Arab Emirates',
|
||||
|
||||
AL: 'Albania',
|
||||
|
||||
AO: 'Angola',
|
||||
|
||||
AT: 'Austria',
|
||||
|
||||
AZ: 'Azerbaijan',
|
||||
|
||||
BA: 'Bosnia and Herzegovina',
|
||||
|
||||
BE: 'Belgium',
|
||||
|
||||
BF: 'Burkina Faso',
|
||||
|
||||
BG: 'Bulgaria',
|
||||
|
||||
BH: 'Bahrain',
|
||||
|
||||
BI: 'Burundi',
|
||||
|
||||
BJ: 'Benin',
|
||||
|
||||
BR: 'Brazil',
|
||||
|
||||
CH: 'Switzerland',
|
||||
|
||||
CI: 'Ivory Coast',
|
||||
|
||||
CM: 'Cameroon',
|
||||
|
||||
CR: 'Costa Rica',
|
||||
|
||||
CV: 'Cape Verde',
|
||||
|
||||
CY: 'Cyprus',
|
||||
|
||||
CZ: 'Czech Republic',
|
||||
|
||||
DE: 'Germany',
|
||||
|
||||
DK: 'Denmark',
|
||||
|
||||
DO: 'Dominican Republic',
|
||||
|
||||
DZ: 'Algeria',
|
||||
|
||||
EE: 'Estonia',
|
||||
|
||||
ES: 'Spain',
|
||||
|
||||
FI: 'Finland',
|
||||
|
||||
FO: 'Faroe Islands',
|
||||
|
||||
FR: 'France',
|
||||
|
||||
GB: 'United Kingdom',
|
||||
|
||||
GE: 'Georgia',
|
||||
|
||||
GI: 'Gibraltar',
|
||||
|
||||
GL: 'Greenland',
|
||||
|
||||
GR: 'Greece',
|
||||
|
||||
GT: 'Guatemala',
|
||||
|
||||
HR: 'Croatia',
|
||||
|
||||
HU: 'Hungary',
|
||||
|
||||
IE: 'Ireland',
|
||||
|
||||
IL: 'Israel',
|
||||
|
||||
IR: 'Iran',
|
||||
|
||||
IS: 'Iceland',
|
||||
|
||||
IT: 'Italy',
|
||||
|
||||
JO: 'Jordan',
|
||||
|
||||
KW: 'Kuwait',
|
||||
|
||||
KZ: 'Kazakhstan',
|
||||
|
||||
LB: 'Lebanon',
|
||||
|
||||
LI: 'Liechtenstein',
|
||||
|
||||
LT: 'Lithuania',
|
||||
|
||||
LU: 'Luxembourg',
|
||||
|
||||
LV: 'Latvia',
|
||||
|
||||
MC: 'Monaco',
|
||||
|
||||
MD: 'Moldova',
|
||||
|
||||
ME: 'Montenegro',
|
||||
|
||||
MG: 'Madagascar',
|
||||
|
||||
MK: 'Macedonia',
|
||||
|
||||
ML: 'Mali',
|
||||
|
||||
MR: 'Mauritania',
|
||||
|
||||
MT: 'Malta',
|
||||
|
||||
MU: 'Mauritius',
|
||||
|
||||
MZ: 'Mozambique',
|
||||
|
||||
NL: 'Netherlands',
|
||||
|
||||
NO: 'Norway',
|
||||
|
||||
PK: 'Pakistan',
|
||||
|
||||
PL: 'Poland',
|
||||
|
||||
PS: 'Palestinian',
|
||||
|
||||
PT: 'Portugal',
|
||||
|
||||
QA: 'Qatar',
|
||||
|
||||
RO: 'Romania',
|
||||
|
||||
RS: 'Serbia',
|
||||
|
||||
SA: 'Saudi Arabia',
|
||||
|
||||
SE: 'Sweden',
|
||||
|
||||
SI: 'Slovenia',
|
||||
|
||||
SK: 'Slovakia',
|
||||
|
||||
SM: 'San Marino',
|
||||
|
||||
SN: 'Senegal',
|
||||
|
||||
TN: 'Tunisia',
|
||||
|
||||
TR: 'Turkey',
|
||||
|
||||
VG: 'Virgin Islands, British'
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.iban = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
country: 'country'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
// http://www.swift.com/dsp/resources/documents/IBAN_Registry.pdf
|
||||
|
||||
// http://en.wikipedia.org/wiki/International_Bank_Account_Number#IBAN_formats_by_country
|
||||
|
||||
REGEX: {
|
||||
|
||||
'AD': 'AD[0-9]{2}[0-9]{4}[0-9]{4}[A-Z0-9]{12}', // Andorra
|
||||
|
||||
'AE': 'AE[0-9]{2}[0-9]{3}[0-9]{16}', // United Arab Emirates
|
||||
|
||||
'AL': 'AL[0-9]{2}[0-9]{8}[A-Z0-9]{16}', // Albania
|
||||
|
||||
'AO': 'AO[0-9]{2}[0-9]{21}', // Angola
|
||||
|
||||
'AT': 'AT[0-9]{2}[0-9]{5}[0-9]{11}', // Austria
|
||||
|
||||
'AZ': 'AZ[0-9]{2}[A-Z]{4}[A-Z0-9]{20}', // Azerbaijan
|
||||
|
||||
'BA': 'BA[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{8}[0-9]{2}', // Bosnia and Herzegovina
|
||||
|
||||
'BE': 'BE[0-9]{2}[0-9]{3}[0-9]{7}[0-9]{2}', // Belgium
|
||||
|
||||
'BF': 'BF[0-9]{2}[0-9]{23}', // Burkina Faso
|
||||
|
||||
'BG': 'BG[0-9]{2}[A-Z]{4}[0-9]{4}[0-9]{2}[A-Z0-9]{8}', // Bulgaria
|
||||
|
||||
'BH': 'BH[0-9]{2}[A-Z]{4}[A-Z0-9]{14}', // Bahrain
|
||||
|
||||
'BI': 'BI[0-9]{2}[0-9]{12}', // Burundi
|
||||
|
||||
'BJ': 'BJ[0-9]{2}[A-Z]{1}[0-9]{23}', // Benin
|
||||
|
||||
'BR': 'BR[0-9]{2}[0-9]{8}[0-9]{5}[0-9]{10}[A-Z][A-Z0-9]', // Brazil
|
||||
|
||||
'CH': 'CH[0-9]{2}[0-9]{5}[A-Z0-9]{12}', // Switzerland
|
||||
|
||||
'CI': 'CI[0-9]{2}[A-Z]{1}[0-9]{23}', // Ivory Coast
|
||||
|
||||
'CM': 'CM[0-9]{2}[0-9]{23}', // Cameroon
|
||||
|
||||
'CR': 'CR[0-9]{2}[0-9]{3}[0-9]{14}', // Costa Rica
|
||||
|
||||
'CV': 'CV[0-9]{2}[0-9]{21}', // Cape Verde
|
||||
|
||||
'CY': 'CY[0-9]{2}[0-9]{3}[0-9]{5}[A-Z0-9]{16}', // Cyprus
|
||||
|
||||
'CZ': 'CZ[0-9]{2}[0-9]{20}', // Czech Republic
|
||||
|
||||
'DE': 'DE[0-9]{2}[0-9]{8}[0-9]{10}', // Germany
|
||||
|
||||
'DK': 'DK[0-9]{2}[0-9]{14}', // Denmark
|
||||
|
||||
'DO': 'DO[0-9]{2}[A-Z0-9]{4}[0-9]{20}', // Dominican Republic
|
||||
|
||||
'DZ': 'DZ[0-9]{2}[0-9]{20}', // Algeria
|
||||
|
||||
'EE': 'EE[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{11}[0-9]{1}', // Estonia
|
||||
|
||||
815
plugins/bootstrap-validator/0.5.0/src/js/validator/id.js
Normal file
815
plugins/bootstrap-validator/0.5.0/src/js/validator/id.js
Normal file
@@ -0,0 +1,815 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.id = $.extend($.fn.bootstrapValidator.i18n.id || {}, {
|
||||
|
||||
'default': 'Please enter a valid identification number',
|
||||
|
||||
countryNotSupported: 'The country code %s is not supported',
|
||||
|
||||
country: 'Please enter a valid %s identification number',
|
||||
|
||||
countries: {
|
||||
|
||||
BA: 'Bosnia and Herzegovina',
|
||||
|
||||
BG: 'Bulgarian',
|
||||
|
||||
BR: 'Brazilian',
|
||||
|
||||
CH: 'Swiss',
|
||||
|
||||
CL: 'Chilean',
|
||||
|
||||
CZ: 'Czech',
|
||||
|
||||
DK: 'Danish',
|
||||
|
||||
EE: 'Estonian',
|
||||
|
||||
ES: 'Spanish',
|
||||
|
||||
FI: 'Finnish',
|
||||
|
||||
HR: 'Croatian',
|
||||
|
||||
IE: 'Irish',
|
||||
|
||||
IS: 'Iceland',
|
||||
|
||||
LT: 'Lithuanian',
|
||||
|
||||
LV: 'Latvian',
|
||||
|
||||
ME: 'Montenegro',
|
||||
|
||||
MK: 'Macedonian',
|
||||
|
||||
NL: 'Dutch',
|
||||
|
||||
RO: 'Romanian',
|
||||
|
||||
RS: 'Serbian',
|
||||
|
||||
SE: 'Swedish',
|
||||
|
||||
SI: 'Slovenian',
|
||||
|
||||
SK: 'Slovak',
|
||||
|
||||
SM: 'San Marino',
|
||||
|
||||
ZA: 'South African'
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.id = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
country: 'country'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
// Supported country codes
|
||||
|
||||
COUNTRY_CODES: [
|
||||
|
||||
'BA', 'BG', 'BR', 'CH', 'CL', 'CZ', 'DK', 'EE', 'ES', 'FI', 'HR', 'IE', 'IS', 'LT', 'LV', 'ME', 'MK', 'NL',
|
||||
|
||||
'RO', 'RS', 'SE', 'SI', 'SK', 'SM', 'ZA'
|
||||
|
||||
],
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate identification number in different countries
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/National_identification_number
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consist of key:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* - country: The ISO 3166-1 country code. It can be
|
||||
|
||||
* - One of country code defined in COUNTRY_CODES
|
||||
|
||||
* - Name of field which its value defines the country code
|
||||
|
||||
* - Name of callback function that returns the country code
|
||||
|
||||
* - A callback function that returns the country code
|
||||
|
||||
* @returns {Boolean|Object}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
var country = options.country;
|
||||
|
||||
if (!country) {
|
||||
|
||||
country = value.substr(0, 2);
|
||||
|
||||
} else if (typeof country !== 'string' || $.inArray(country.toUpperCase(), this.COUNTRY_CODES) === -1) {
|
||||
|
||||
// Determine the country code
|
||||
|
||||
country = validator.getDynamicOption($field, country);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($.inArray(country, this.COUNTRY_CODES) === -1) {
|
||||
|
||||
return { valid: false, message: $.fn.bootstrapValidator.helpers.format($.fn.bootstrapValidator.i18n.id.countryNotSupported, country) };
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
var method = ['_', country.toLowerCase()].join('');
|
||||
|
||||
return this[method](value)
|
||||
|
||||
? true
|
||||
|
||||
: {
|
||||
|
||||
valid: false,
|
||||
|
||||
message: $.fn.bootstrapValidator.helpers.format(options.message || $.fn.bootstrapValidator.i18n.id.country, $.fn.bootstrapValidator.i18n.id.countries[country.toUpperCase()])
|
||||
|
||||
};
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate Unique Master Citizen Number which uses in
|
||||
|
||||
* - Bosnia and Herzegovina (country code: BA)
|
||||
|
||||
* - Macedonia (MK)
|
||||
|
||||
* - Montenegro (ME)
|
||||
|
||||
* - Serbia (RS)
|
||||
|
||||
* - Slovenia (SI)
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/Unique_Master_Citizen_Number
|
||||
|
||||
* @param {String} value The ID
|
||||
|
||||
* @param {String} countryCode The ISO country code, can be BA, MK, ME, RS, SI
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
_validateJMBG: function(value, countryCode) {
|
||||
|
||||
if (!/^\d{13}$/.test(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
var day = parseInt(value.substr(0, 2), 10),
|
||||
|
||||
month = parseInt(value.substr(2, 2), 10),
|
||||
|
||||
year = parseInt(value.substr(4, 3), 10),
|
||||
|
||||
rr = parseInt(value.substr(7, 2), 10),
|
||||
|
||||
k = parseInt(value.substr(12, 1), 10);
|
||||
|
||||
|
||||
|
||||
// Validate date of birth
|
||||
|
||||
// FIXME: Validate the year of birth
|
||||
|
||||
if (day > 31 || month > 12) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Validate checksum
|
||||
|
||||
var sum = 0;
|
||||
|
||||
for (var i = 0; i < 6; i++) {
|
||||
|
||||
sum += (7 - i) * (parseInt(value.charAt(i), 10) + parseInt(value.charAt(i + 6), 10));
|
||||
|
||||
}
|
||||
|
||||
sum = 11 - sum % 11;
|
||||
|
||||
if (sum === 10 || sum === 11) {
|
||||
|
||||
sum = 0;
|
||||
|
||||
}
|
||||
|
||||
if (sum !== k) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Validate political region
|
||||
|
||||
// rr is the political region of birth, which can be in ranges:
|
||||
|
||||
// 10-19: Bosnia and Herzegovina
|
||||
|
||||
// 20-29: Montenegro
|
||||
|
||||
// 30-39: Croatia (not used anymore)
|
||||
|
||||
// 41-49: Macedonia
|
||||
|
||||
// 50-59: Slovenia (only 50 is used)
|
||||
|
||||
// 70-79: Central Serbia
|
||||
|
||||
// 80-89: Serbian province of Vojvodina
|
||||
|
||||
// 90-99: Kosovo
|
||||
|
||||
switch (countryCode.toUpperCase()) {
|
||||
|
||||
case 'BA':
|
||||
|
||||
return (10 <= rr && rr <= 19);
|
||||
|
||||
case 'MK':
|
||||
|
||||
return (41 <= rr && rr <= 49);
|
||||
|
||||
case 'ME':
|
||||
|
||||
return (20 <= rr && rr <= 29);
|
||||
|
||||
case 'RS':
|
||||
|
||||
return (70 <= rr && rr <= 99);
|
||||
|
||||
case 'SI':
|
||||
|
||||
return (50 <= rr && rr <= 59);
|
||||
|
||||
default:
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
_ba: function(value) {
|
||||
|
||||
return this._validateJMBG(value, 'BA');
|
||||
|
||||
},
|
||||
|
||||
_mk: function(value) {
|
||||
|
||||
return this._validateJMBG(value, 'MK');
|
||||
|
||||
},
|
||||
|
||||
_me: function(value) {
|
||||
|
||||
return this._validateJMBG(value, 'ME');
|
||||
|
||||
},
|
||||
|
||||
_rs: function(value) {
|
||||
|
||||
return this._validateJMBG(value, 'RS');
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Examples: 0101006500006
|
||||
|
||||
*/
|
||||
|
||||
_si: function(value) {
|
||||
|
||||
return this._validateJMBG(value, 'SI');
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate Bulgarian national identification number (EGN)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 7523169263, 8032056031, 803205 603 1, 8001010008, 7501020018, 7552010005, 7542011030
|
||||
|
||||
* - Invalid: 8019010008
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/Uniform_civil_number
|
||||
|
||||
* @param {String} value The ID
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
_bg: function(value) {
|
||||
|
||||
if (!/^\d{10}$/.test(value) && !/^\d{6}\s\d{3}\s\d{1}$/.test(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
value = value.replace(/\s/g, '');
|
||||
|
||||
// Check the birth date
|
||||
|
||||
var year = parseInt(value.substr(0, 2), 10) + 1900,
|
||||
|
||||
month = parseInt(value.substr(2, 2), 10),
|
||||
|
||||
day = parseInt(value.substr(4, 2), 10);
|
||||
|
||||
if (month > 40) {
|
||||
|
||||
year += 100;
|
||||
|
||||
month -= 40;
|
||||
|
||||
} else if (month > 20) {
|
||||
|
||||
year -= 100;
|
||||
|
||||
month -= 20;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!$.fn.bootstrapValidator.helpers.date(year, month, day)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
var sum = 0,
|
||||
|
||||
weight = [2, 4, 8, 5, 10, 9, 7, 3, 6];
|
||||
|
||||
for (var i = 0; i < 9; i++) {
|
||||
|
||||
sum += parseInt(value.charAt(i), 10) * weight[i];
|
||||
|
||||
}
|
||||
|
||||
sum = (sum % 11) % 10;
|
||||
|
||||
return (sum + '' === value.substr(9, 1));
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate Brazilian national identification number (CPF)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 39053344705, 390.533.447-05, 111.444.777-35
|
||||
|
||||
* - Invalid: 231.002.999-00
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/Cadastro_de_Pessoas_F%C3%ADsicas
|
||||
|
||||
* @param {String} value The ID
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
_br: function(value) {
|
||||
|
||||
if (/^1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11}|0{11}$/.test(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
if (!/^\d{11}$/.test(value) && !/^\d{3}\.\d{3}\.\d{3}-\d{2}$/.test(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
value = value.replace(/\./g, '').replace(/-/g, '');
|
||||
|
||||
|
||||
|
||||
var d1 = 0;
|
||||
|
||||
for (var i = 0; i < 9; i++) {
|
||||
|
||||
d1 += (10 - i) * parseInt(value.charAt(i), 10);
|
||||
|
||||
}
|
||||
|
||||
d1 = 11 - d1 % 11;
|
||||
|
||||
if (d1 === 10 || d1 === 11) {
|
||||
|
||||
d1 = 0;
|
||||
|
||||
}
|
||||
|
||||
if (d1 + '' !== value.charAt(9)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
var d2 = 0;
|
||||
|
||||
for (i = 0; i < 10; i++) {
|
||||
|
||||
d2 += (11 - i) * parseInt(value.charAt(i), 10);
|
||||
|
||||
}
|
||||
|
||||
d2 = 11 - d2 % 11;
|
||||
|
||||
if (d2 === 10 || d2 === 11) {
|
||||
|
||||
d2 = 0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return (d2 + '' === value.charAt(10));
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate Swiss Social Security Number (AHV-Nr/No AVS)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 756.1234.5678.95, 7561234567895
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/National_identification_number#Switzerland
|
||||
|
||||
* @see http://www.bsv.admin.ch/themen/ahv/00011/02185/index.html?lang=de
|
||||
|
||||
* @param {String} value The ID
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
_ch: function(value) {
|
||||
|
||||
if (!/^756[\.]{0,1}[0-9]{4}[\.]{0,1}[0-9]{4}[\.]{0,1}[0-9]{2}$/.test(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
value = value.replace(/\D/g, '').substr(3);
|
||||
|
||||
var length = value.length,
|
||||
|
||||
sum = 0,
|
||||
|
||||
weight = (length === 8) ? [3, 1] : [1, 3];
|
||||
|
||||
for (var i = 0; i < length - 1; i++) {
|
||||
|
||||
sum += parseInt(value.charAt(i), 10) * weight[i % 2];
|
||||
|
||||
}
|
||||
|
||||
sum = 10 - sum % 10;
|
||||
|
||||
return (sum + '' === value.charAt(length - 1));
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate Chilean national identification number (RUN/RUT)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 76086428-5, 22060449-7, 12531909-2
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/National_identification_number#Chile
|
||||
|
||||
* @see https://palena.sii.cl/cvc/dte/ee_empresas_emisoras.html for samples
|
||||
|
||||
* @param {String} value The ID
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
_cl: function(value) {
|
||||
|
||||
if (!/^\d{7,8}[-]{0,1}[0-9K]$/i.test(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
value = value.replace(/\-/g, '');
|
||||
|
||||
while (value.length < 9) {
|
||||
|
||||
value = '0' + value;
|
||||
|
||||
}
|
||||
|
||||
var sum = 0,
|
||||
|
||||
weight = [3, 2, 7, 6, 5, 4, 3, 2];
|
||||
|
||||
for (var i = 0; i < 8; i++) {
|
||||
|
||||
sum += parseInt(value.charAt(i), 10) * weight[i];
|
||||
|
||||
}
|
||||
|
||||
sum = 11 - sum % 11;
|
||||
|
||||
if (sum === 11) {
|
||||
|
||||
sum = 0;
|
||||
|
||||
} else if (sum === 10) {
|
||||
|
||||
sum = 'K';
|
||||
|
||||
}
|
||||
|
||||
return sum + '' === value.charAt(8).toUpperCase();
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate Czech national identification number (RC)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 7103192745, 991231123
|
||||
|
||||
* - Invalid: 1103492745, 590312123
|
||||
|
||||
*
|
||||
|
||||
* @param {String} value The ID
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
_cz: function(value) {
|
||||
|
||||
if (!/^\d{9,10}$/.test(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
var year = 1900 + parseInt(value.substr(0, 2), 10),
|
||||
|
||||
month = parseInt(value.substr(2, 2), 10) % 50 % 20,
|
||||
|
||||
day = parseInt(value.substr(4, 2), 10);
|
||||
|
||||
if (value.length === 9) {
|
||||
|
||||
if (year >= 1980) {
|
||||
|
||||
year -= 100;
|
||||
|
||||
}
|
||||
|
||||
if (year > 1953) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
} else if (year < 1954) {
|
||||
|
||||
year += 100;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!$.fn.bootstrapValidator.helpers.date(year, month, day)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Check that the birth date is not in the future
|
||||
|
||||
if (value.length === 10) {
|
||||
|
||||
var check = parseInt(value.substr(0, 9), 10) % 11;
|
||||
|
||||
if (year < 1985) {
|
||||
|
||||
check = check % 10;
|
||||
|
||||
}
|
||||
|
||||
return (check + '' === value.substr(9, 1));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return true;
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate Danish Personal Identification number (CPR)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 2110625629, 211062-5629
|
||||
|
||||
* - Invalid: 511062-5629
|
||||
|
||||
*
|
||||
|
||||
* @see https://en.wikipedia.org/wiki/Personal_identification_number_(Denmark)
|
||||
|
||||
* @param {String} value The ID
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
_dk: function(value) {
|
||||
|
||||
if (!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
value = value.replace(/-/g, '');
|
||||
|
||||
var day = parseInt(value.substr(0, 2), 10),
|
||||
|
||||
month = parseInt(value.substr(2, 2), 10),
|
||||
|
||||
year = parseInt(value.substr(4, 2), 10);
|
||||
|
||||
|
||||
|
||||
switch (true) {
|
||||
|
||||
case ('5678'.indexOf(value.charAt(6)) !== -1 && year >= 58):
|
||||
|
||||
year += 1800;
|
||||
|
||||
break;
|
||||
|
||||
case ('0123'.indexOf(value.charAt(6)) !== -1):
|
||||
|
||||
case ('49'.indexOf(value.charAt(6)) !== -1 && year >= 37):
|
||||
|
||||
year += 1900;
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
year += 2000;
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return $.fn.bootstrapValidator.helpers.date(year, month, day);
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate Estonian Personal Identification Code (isikukood)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 37605030299
|
||||
|
||||
*
|
||||
|
||||
* @see http://et.wikipedia.org/wiki/Isikukood
|
||||
|
||||
* @param {String} value The ID
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
_ee: function(value) {
|
||||
|
||||
// Use the same format as Lithuanian Personal Code
|
||||
|
||||
return this._lt(value);
|
||||
|
||||
},
|
||||
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.identical = $.extend($.fn.bootstrapValidator.i18n.identical || {}, {
|
||||
|
||||
'default': 'Please enter the same value'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.identical = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
field: 'field'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Check if input value equals to value of particular one
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consists of the following key:
|
||||
|
||||
* - field: The name of field that will be used to compare with current one
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
44
plugins/bootstrap-validator/0.5.0/src/js/validator/imei.js
Normal file
44
plugins/bootstrap-validator/0.5.0/src/js/validator/imei.js
Normal file
@@ -0,0 +1,44 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.imei = $.extend($.fn.bootstrapValidator.i18n.imei || {}, {
|
||||
|
||||
'default': 'Please enter a valid IMEI number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.imei = {
|
||||
|
||||
/**
|
||||
|
||||
* Validate IMEI (International Mobile Station Equipment Identity)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 35-209900-176148-1, 35-209900-176148-23, 3568680000414120, 490154203237518
|
||||
|
||||
* - Invalid: 490154203237517
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/International_Mobile_Station_Equipment_Identity
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.integer = $.extend($.fn.bootstrapValidator.i18n.integer || {}, {
|
||||
|
||||
'default': 'Please enter a valid number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.integer = {
|
||||
|
||||
enableByHtml5: function($field) {
|
||||
|
||||
return ('number' === $field.attr('type')) && ($field.attr('step') === undefined || $field.attr('step') % 1 === 0);
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is an integer
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
48
plugins/bootstrap-validator/0.5.0/src/js/validator/ip.js
Normal file
48
plugins/bootstrap-validator/0.5.0/src/js/validator/ip.js
Normal file
@@ -0,0 +1,48 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.ip = $.extend($.fn.bootstrapValidator.i18n.ip || {}, {
|
||||
|
||||
'default': 'Please enter a valid IP address',
|
||||
|
||||
ipv4: 'Please enter a valid IPv4 address',
|
||||
|
||||
ipv6: 'Please enter a valid IPv6 address'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.ip = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
ipv4: 'ipv4',
|
||||
|
||||
ipv6: 'ipv6'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is a IP address.
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - ipv4: Enable IPv4 validator, default to true
|
||||
|
||||
* - ipv6: Enable IPv6 validator, default to true
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean|Object}
|
||||
|
||||
86
plugins/bootstrap-validator/0.5.0/src/js/validator/isbn.js
Normal file
86
plugins/bootstrap-validator/0.5.0/src/js/validator/isbn.js
Normal file
@@ -0,0 +1,86 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.isbn = $.extend($.fn.bootstrapValidator.i18n.isbn || {}, {
|
||||
|
||||
'default': 'Please enter a valid ISBN number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.isbn = {
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is a valid ISBN 10 or ISBN 13 number
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid:
|
||||
|
||||
* ISBN 10: 99921-58-10-7, 9971-5-0210-0, 960-425-059-0, 80-902734-1-6, 85-359-0277-5, 1-84356-028-3, 0-684-84328-5, 0-8044-2957-X, 0-85131-041-9, 0-943396-04-2, 0-9752298-0-X
|
||||
|
||||
* ISBN 13: 978-0-306-40615-7
|
||||
|
||||
* - Invalid:
|
||||
|
||||
* ISBN 10: 99921-58-10-6
|
||||
|
||||
* ISBN 13: 978-0-306-40615-6
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/International_Standard_Book_Number
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} [options] Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// http://en.wikipedia.org/wiki/International_Standard_Book_Number#Overview
|
||||
|
||||
// Groups are separated by a hyphen or a space
|
||||
|
||||
var type;
|
||||
|
||||
switch (true) {
|
||||
|
||||
case /^\d{9}[\dX]$/.test(value):
|
||||
|
||||
case (value.length === 13 && /^(\d+)-(\d+)-(\d+)-([\dX])$/.test(value)):
|
||||
|
||||
case (value.length === 13 && /^(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(value)):
|
||||
|
||||
type = 'ISBN10';
|
||||
|
||||
break;
|
||||
|
||||
case /^(978|979)\d{9}[\dX]$/.test(value):
|
||||
|
||||
case (value.length === 17 && /^(978|979)-(\d+)-(\d+)-(\d+)-([\dX])$/.test(value)):
|
||||
|
||||
case (value.length === 17 && /^(978|979)\s(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(value)):
|
||||
|
||||
type = 'ISBN13';
|
||||
|
||||
break;
|
||||
|
||||
59
plugins/bootstrap-validator/0.5.0/src/js/validator/isin.js
Normal file
59
plugins/bootstrap-validator/0.5.0/src/js/validator/isin.js
Normal file
@@ -0,0 +1,59 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.isin = $.extend($.fn.bootstrapValidator.i18n.isin || {}, {
|
||||
|
||||
'default': 'Please enter a valid ISIN number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.isin = {
|
||||
|
||||
// Available country codes
|
||||
|
||||
// See http://isin.net/country-codes/
|
||||
|
||||
COUNTRY_CODES: 'AF|AX|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BQ|BA|BW|BV|BR|IO|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CG|CD|CK|CR|CI|HR|CU|CW|CY|CZ|DK|DJ|DM|DO|EC|EG|SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|GF|PF|TF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GP|GU|GT|GG|GN|GW|GY|HT|HM|VA|HN|HK|HU|IS|IN|ID|IR|IQ|IE|IM|IL|IT|JM|JP|JE|JO|KZ|KE|KI|KP|KR|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|MH|MQ|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|NC|NZ|NI|NE|NG|NU|NF|MP|NO|OM|PK|PW|PS|PA|PG|PY|PE|PH|PN|PL|PT|PR|QA|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|GS|SS|ES|LK|SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TL|TG|TK|TO|TT|TN|TR|TM|TC|TV|UG|UA|AE|GB|US|UM|UY|UZ|VU|VE|VN|VG|VI|WF|EH|YE|ZM|ZW',
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate an ISIN (International Securities Identification Number)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: US0378331005, AU0000XVGZA3, GB0002634946
|
||||
|
||||
* - Invalid: US0378331004, AA0000XVGZA3
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/International_Securities_Identifying_Number
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
value = value.toUpperCase();
|
||||
59
plugins/bootstrap-validator/0.5.0/src/js/validator/ismn.js
Normal file
59
plugins/bootstrap-validator/0.5.0/src/js/validator/ismn.js
Normal file
@@ -0,0 +1,59 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.ismn = $.extend($.fn.bootstrapValidator.i18n.ismn || {}, {
|
||||
|
||||
'default': 'Please enter a valid ISMN number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.ismn = {
|
||||
|
||||
/**
|
||||
|
||||
* Validate ISMN (International Standard Music Number)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: M230671187, 979-0-0601-1561-5, 979 0 3452 4680 5, 9790060115615
|
||||
|
||||
* - Invalid: 9790060115614
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/International_Standard_Music_Number
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Groups are separated by a hyphen or a space
|
||||
|
||||
var type;
|
||||
|
||||
switch (true) {
|
||||
|
||||
case /^M\d{9}$/.test(value):
|
||||
|
||||
case /^M-\d{4}-\d{4}-\d{1}$/.test(value):
|
||||
46
plugins/bootstrap-validator/0.5.0/src/js/validator/issn.js
Normal file
46
plugins/bootstrap-validator/0.5.0/src/js/validator/issn.js
Normal file
@@ -0,0 +1,46 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.issn = $.extend($.fn.bootstrapValidator.i18n.issn || {}, {
|
||||
|
||||
'default': 'Please enter a valid ISSN number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.issn = {
|
||||
|
||||
/**
|
||||
|
||||
* Validate ISSN (International Standard Serial Number)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 0378-5955, 0024-9319, 0032-1478
|
||||
|
||||
* - Invalid: 0032-147X
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/International_Standard_Serial_Number
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.lessThan = $.extend($.fn.bootstrapValidator.i18n.lessThan || {}, {
|
||||
|
||||
'default': 'Please enter a value less than or equal to %s',
|
||||
|
||||
notInclusive: 'Please enter a value less than %s'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.lessThan = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
value: 'value',
|
||||
|
||||
inclusive: 'inclusive'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
enableByHtml5: function($field) {
|
||||
|
||||
var max = $field.attr('max');
|
||||
|
||||
if (max) {
|
||||
|
||||
return {
|
||||
|
||||
value: max
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return false;
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is less than or equal to given number
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - value: The number used to compare to. It can be
|
||||
25
plugins/bootstrap-validator/0.5.0/src/js/validator/mac.js
Normal file
25
plugins/bootstrap-validator/0.5.0/src/js/validator/mac.js
Normal file
@@ -0,0 +1,25 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.mac = $.extend($.fn.bootstrapValidator.i18n.mac || {}, {
|
||||
|
||||
'default': 'Please enter a valid MAC address'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.mac = {
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is a MAC address.
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
@@ -0,0 +1,32 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.notEmpty = $.extend($.fn.bootstrapValidator.i18n.notEmpty || {}, {
|
||||
|
||||
'default': 'Please enter a value'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.notEmpty = {
|
||||
|
||||
enableByHtml5: function($field) {
|
||||
|
||||
var required = $field.attr('required') + '';
|
||||
|
||||
return ('required' === required || 'true' === required);
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Check if input value is empty or not
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.numeric = $.extend($.fn.bootstrapValidator.i18n.numeric || {}, {
|
||||
|
||||
'default': 'Please enter a valid float number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.numeric = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
separator: 'separator'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
enableByHtml5: function($field) {
|
||||
|
||||
return ('number' === $field.attr('type')) && ($field.attr('step') !== undefined) && ($field.attr('step') % 1 !== 0);
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Validate decimal number
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
84
plugins/bootstrap-validator/0.5.0/src/js/validator/phone.js
Normal file
84
plugins/bootstrap-validator/0.5.0/src/js/validator/phone.js
Normal file
@@ -0,0 +1,84 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.phone = $.extend($.fn.bootstrapValidator.i18n.phone || {}, {
|
||||
|
||||
'default': 'Please enter a valid phone number',
|
||||
|
||||
countryNotSupported: 'The country code %s is not supported',
|
||||
|
||||
country: 'Please enter a valid phone number in %s',
|
||||
|
||||
countries: {
|
||||
|
||||
GB: 'United Kingdom',
|
||||
|
||||
US: 'USA'
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.phone = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
country: 'country'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
// The supported countries
|
||||
|
||||
COUNTRY_CODES: ['GB', 'US'],
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value contains a valid phone number for the country
|
||||
|
||||
* selected in the options
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator Validate plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consist of key:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* - country: The ISO-3166 country code. It can be
|
||||
|
||||
* - A country code
|
||||
|
||||
* - Name of field which its value defines the country code
|
||||
|
||||
* - Name of callback function that returns the country code
|
||||
|
||||
* - A callback function that returns the country code
|
||||
|
||||
*
|
||||
|
||||
* Currently it only supports United State (US) or United Kingdom (GB) countries
|
||||
|
||||
* @returns {Boolean|Object}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
42
plugins/bootstrap-validator/0.5.0/src/js/validator/regexp.js
Normal file
42
plugins/bootstrap-validator/0.5.0/src/js/validator/regexp.js
Normal file
@@ -0,0 +1,42 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.regexp = $.extend($.fn.bootstrapValidator.i18n.regexp || {}, {
|
||||
|
||||
'default': 'Please enter a value matching the pattern'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.regexp = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
regexp: 'regexp'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
enableByHtml5: function($field) {
|
||||
|
||||
var pattern = $field.attr('pattern');
|
||||
|
||||
if (pattern) {
|
||||
|
||||
return {
|
||||
|
||||
regexp: pattern
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return false;
|
||||
|
||||
},
|
||||
|
||||
70
plugins/bootstrap-validator/0.5.0/src/js/validator/remote.js
Normal file
70
plugins/bootstrap-validator/0.5.0/src/js/validator/remote.js
Normal file
@@ -0,0 +1,70 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.remote = $.extend($.fn.bootstrapValidator.i18n.remote || {}, {
|
||||
|
||||
'default': 'Please enter a valid value'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.remote = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
url: 'url',
|
||||
|
||||
name: 'name'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Request a remote server to check the input value
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator Plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - url {String|Function}
|
||||
|
||||
* - type {String} [optional] Can be GET or POST (default)
|
||||
|
||||
* - data {Object|Function} [optional]: By default, it will take the value
|
||||
|
||||
* {
|
||||
|
||||
* <fieldName>: <fieldValue>
|
||||
|
||||
* }
|
||||
|
||||
* - name {String} [optional]: Override the field name for the request.
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean|Deferred}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
var name = $field.attr('data-bv-field'),
|
||||
|
||||
38
plugins/bootstrap-validator/0.5.0/src/js/validator/rtn.js
Normal file
38
plugins/bootstrap-validator/0.5.0/src/js/validator/rtn.js
Normal file
@@ -0,0 +1,38 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.rtn = $.extend($.fn.bootstrapValidator.i18n.rtn || {}, {
|
||||
|
||||
'default': 'Please enter a valid RTN number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.rtn = {
|
||||
|
||||
/**
|
||||
|
||||
* Validate a RTN (Routing transit number)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 021200025, 789456124
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/Routing_transit_number
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
40
plugins/bootstrap-validator/0.5.0/src/js/validator/sedol.js
Normal file
40
plugins/bootstrap-validator/0.5.0/src/js/validator/sedol.js
Normal file
@@ -0,0 +1,40 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.sedol = $.extend($.fn.bootstrapValidator.i18n.sedol || {}, {
|
||||
|
||||
'default': 'Please enter a valid SEDOL number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.sedol = {
|
||||
|
||||
/**
|
||||
|
||||
* Validate a SEDOL (Stock Exchange Daily Official List)
|
||||
|
||||
* Examples:
|
||||
|
||||
* - Valid: 0263494, B0WNLY7
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/SEDOL
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
28
plugins/bootstrap-validator/0.5.0/src/js/validator/siren.js
Normal file
28
plugins/bootstrap-validator/0.5.0/src/js/validator/siren.js
Normal file
@@ -0,0 +1,28 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.siren = $.extend($.fn.bootstrapValidator.i18n.siren || {}, {
|
||||
|
||||
'default': 'Please enter a valid SIREN number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.siren = {
|
||||
|
||||
/**
|
||||
|
||||
* Check if a string is a siren number
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consist of key:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
38
plugins/bootstrap-validator/0.5.0/src/js/validator/siret.js
Normal file
38
plugins/bootstrap-validator/0.5.0/src/js/validator/siret.js
Normal file
@@ -0,0 +1,38 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.siret = $.extend($.fn.bootstrapValidator.i18n.siret || {}, {
|
||||
|
||||
'default': 'Please enter a valid SIRET number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.siret = {
|
||||
|
||||
/**
|
||||
|
||||
* Check if a string is a siret number
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consist of key:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
64
plugins/bootstrap-validator/0.5.0/src/js/validator/step.js
Normal file
64
plugins/bootstrap-validator/0.5.0/src/js/validator/step.js
Normal file
@@ -0,0 +1,64 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.step = $.extend($.fn.bootstrapValidator.i18n.step || {}, {
|
||||
|
||||
'default': 'Please enter a valid step of %s'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.step = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
base: 'baseValue',
|
||||
|
||||
step: 'step'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is valid step one
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Can consist of the following keys:
|
||||
|
||||
* - baseValue: The base value
|
||||
|
||||
* - step: The step
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean|Object}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
options = $.extend({}, { baseValue: 0, step: 1 }, options);
|
||||
|
||||
value = parseFloat(value);
|
||||
|
||||
if (!$.isNumeric(value)) {
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.stringCase = $.extend($.fn.bootstrapValidator.i18n.stringCase || {}, {
|
||||
|
||||
'default': 'Please enter only lowercase characters',
|
||||
|
||||
upper: 'Please enter only uppercase characters'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.stringCase = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
'case': 'case'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Check if a string is a lower or upper case one
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consist of key:
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.stringLength = $.extend($.fn.bootstrapValidator.i18n.stringLength || {}, {
|
||||
|
||||
'default': 'Please enter a value with valid length',
|
||||
|
||||
less: 'Please enter less than %s characters',
|
||||
|
||||
more: 'Please enter more than %s characters',
|
||||
|
||||
between: 'Please enter value between %s and %s characters long'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.stringLength = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
min: 'min',
|
||||
|
||||
max: 'max'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
enableByHtml5: function($field) {
|
||||
|
||||
var maxLength = $field.attr('maxlength');
|
||||
|
||||
if (maxLength) {
|
||||
|
||||
return {
|
||||
|
||||
max: parseInt(maxLength, 10)
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return false;
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Check if the length of element value is less or more than given number
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consists of following keys:
|
||||
|
||||
* - min
|
||||
|
||||
* - max
|
||||
|
||||
* At least one of two keys is required
|
||||
|
||||
* The min, max keys define the number which the field value compares to. min, max can be
|
||||
|
||||
* - A number
|
||||
|
||||
* - Name of field which its value defines the number
|
||||
|
||||
* - Name of callback function that returns the number
|
||||
|
||||
* - A callback function that returns the number
|
||||
|
||||
*
|
||||
101
plugins/bootstrap-validator/0.5.0/src/js/validator/uri.js
Normal file
101
plugins/bootstrap-validator/0.5.0/src/js/validator/uri.js
Normal file
@@ -0,0 +1,101 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.uri = $.extend($.fn.bootstrapValidator.i18n.uri || {}, {
|
||||
|
||||
'default': 'Please enter a valid URI'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.uri = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
allowlocal: 'allowLocal'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
enableByHtml5: function($field) {
|
||||
|
||||
return ('url' === $field.attr('type'));
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if the input value is a valid URL
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options
|
||||
|
||||
* - message: The error message
|
||||
|
||||
* - allowLocal: Allow the private and local network IP. Default to false
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Credit to https://gist.github.com/dperini/729294
|
||||
|
||||
//
|
||||
|
||||
// Regular Expression for URL validation
|
||||
|
||||
//
|
||||
|
||||
// Author: Diego Perini
|
||||
|
||||
// Updated: 2010/12/05
|
||||
|
||||
//
|
||||
|
||||
// the regular expression composed & commented
|
||||
|
||||
// could be easily tweaked for RFC compliance,
|
||||
|
||||
// it was expressly modified to fit & satisfy
|
||||
|
||||
// these test for an URL shortener:
|
||||
|
||||
//
|
||||
|
||||
// http://mathiasbynens.be/demo/url-regex
|
||||
|
||||
//
|
||||
|
||||
// Notes on possible differences from a standard/generic validation:
|
||||
|
||||
//
|
||||
|
||||
// - utf-8 char class take in consideration the full Unicode range
|
||||
|
||||
// - TLDs have been made mandatory so single names like "localhost" fails
|
||||
|
||||
// - protocols have been restricted to ftp, http and https only as requested
|
||||
|
||||
//
|
||||
46
plugins/bootstrap-validator/0.5.0/src/js/validator/uuid.js
Normal file
46
plugins/bootstrap-validator/0.5.0/src/js/validator/uuid.js
Normal file
@@ -0,0 +1,46 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.uuid = $.extend($.fn.bootstrapValidator.i18n.uuid || {}, {
|
||||
|
||||
'default': 'Please enter a valid UUID number',
|
||||
|
||||
version: 'Please enter a valid UUID version %s number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.uuid = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
version: 'version'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if and only if the input value is a valid UUID string
|
||||
|
||||
*
|
||||
|
||||
* @see http://en.wikipedia.org/wiki/Universally_unique_identifier
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consist of key:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* - version: Can be 3, 4, 5, null
|
||||
|
||||
* @returns {Boolean|Object}
|
||||
|
||||
*/
|
||||
|
||||
1220
plugins/bootstrap-validator/0.5.0/src/js/validator/vat.js
Normal file
1220
plugins/bootstrap-validator/0.5.0/src/js/validator/vat.js
Normal file
File diff suppressed because it is too large
Load Diff
49
plugins/bootstrap-validator/0.5.0/src/js/validator/vin.js
Normal file
49
plugins/bootstrap-validator/0.5.0/src/js/validator/vin.js
Normal file
@@ -0,0 +1,49 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.vin = $.extend($.fn.bootstrapValidator.i18n.vin || {}, {
|
||||
|
||||
'default': 'Please enter a valid VIN number'
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.vin = {
|
||||
|
||||
/**
|
||||
|
||||
* Validate an US VIN (Vehicle Identification Number)
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consist of key:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* @returns {Boolean}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '') {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Don't accept I, O, Q characters
|
||||
|
||||
if (!/^[a-hj-npr-z0-9]{8}[0-9xX][a-hj-npr-z0-9]{8}$/i.test(value)) {
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
162
plugins/bootstrap-validator/0.5.0/src/js/validator/zipCode.js
Normal file
162
plugins/bootstrap-validator/0.5.0/src/js/validator/zipCode.js
Normal file
@@ -0,0 +1,162 @@
|
||||
(function($) {
|
||||
|
||||
$.fn.bootstrapValidator.i18n.zipCode = $.extend($.fn.bootstrapValidator.i18n.zipCode || {}, {
|
||||
|
||||
'default': 'Please enter a valid zip code',
|
||||
|
||||
countryNotSupported: 'The country code %s is not supported',
|
||||
|
||||
country: 'Please enter a valid %s',
|
||||
|
||||
countries: {
|
||||
|
||||
'CA': 'Canadian postal code',
|
||||
|
||||
'DK': 'Danish postal code',
|
||||
|
||||
'GB': 'United Kingdom postal code',
|
||||
|
||||
'IT': 'Italian postal code',
|
||||
|
||||
'NL': 'Dutch postal code',
|
||||
|
||||
'SE': 'Swiss postal code',
|
||||
|
||||
'SG': 'Singapore postal code',
|
||||
|
||||
'US': 'US zip code'
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.fn.bootstrapValidator.validators.zipCode = {
|
||||
|
||||
html5Attributes: {
|
||||
|
||||
message: 'message',
|
||||
|
||||
country: 'country'
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
COUNTRY_CODES: ['CA', 'DK', 'GB', 'IT', 'NL', 'SE', 'SG', 'US'],
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* Return true if and only if the input value is a valid country zip code
|
||||
|
||||
*
|
||||
|
||||
* @param {BootstrapValidator} validator The validator plugin instance
|
||||
|
||||
* @param {jQuery} $field Field element
|
||||
|
||||
* @param {Object} options Consist of key:
|
||||
|
||||
* - message: The invalid message
|
||||
|
||||
* - country: The country
|
||||
|
||||
*
|
||||
|
||||
* The country can be defined by:
|
||||
|
||||
* - An ISO 3166 country code
|
||||
|
||||
* Currently it supports the following countries:
|
||||
|
||||
* - US (United States)
|
||||
|
||||
* - CA (Canada)
|
||||
|
||||
* - DK (Denmark)
|
||||
|
||||
* - GB (United Kingdom)
|
||||
|
||||
* - IT (Italy)
|
||||
|
||||
* - NL (Netherlands)
|
||||
|
||||
* - SE (Sweden)
|
||||
|
||||
* - SG (Singapore)
|
||||
|
||||
*
|
||||
|
||||
* - Name of field which its value defines the country code
|
||||
|
||||
* - Name of callback function that returns the country code
|
||||
|
||||
* - A callback function that returns the country code
|
||||
|
||||
*
|
||||
|
||||
* callback: function(value, validator, $field) {
|
||||
|
||||
* // value is the value of field
|
||||
|
||||
* // validator is the BootstrapValidator instance
|
||||
|
||||
* // $field is jQuery element representing the field
|
||||
|
||||
* }
|
||||
|
||||
*
|
||||
|
||||
* @returns {Boolean|Object}
|
||||
|
||||
*/
|
||||
|
||||
validate: function(validator, $field, options) {
|
||||
|
||||
var value = $field.val();
|
||||
|
||||
if (value === '' || !options.country) {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
var country = options.country;
|
||||
|
||||
if (typeof country !== 'string' || $.inArray(country, this.COUNTRY_CODES) === -1) {
|
||||
|
||||
// Try to determine the country
|
||||
|
||||
country = validator.getDynamicOption($field, country);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!country || $.inArray(country.toUpperCase(), this.COUNTRY_CODES) === -1) {
|
||||
|
||||
return { valid: false, message: $.fn.bootstrapValidator.helpers.format($.fn.bootstrapValidator.i18n.zipCode.countryNotSupported, country) };
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
var isValid = false;
|
||||
|
||||
country = country.toUpperCase();
|
||||
|
||||
switch (country) {
|
||||
|
||||
case 'CA':
|
||||
|
||||
isValid = /^(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|X|Y){1}[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}\s?[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}[0-9]{1}$/i.test(value);
|
||||
|
||||
break;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user