-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
localization files formated and fixed eslint errors
- Loading branch information
Showing
7 changed files
with
93 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,16 @@ | ||
(function($){ | ||
$.fn.validettaLanguage = {}; | ||
$.validettaLanguage = { | ||
init : function(){ | ||
$.validettaLanguage.messages = { | ||
required : 'Feld wird benötigt.', | ||
email : 'E-Mail nicht gültig.', | ||
number : 'Nur Nummern werden akzeptiert.', | ||
maxLength : 'Maximal {count} Zeichen.', | ||
minLength : 'Mindestens {count} Zeichen.', | ||
maxChecked : 'Maximal {count} Optionen zur Auswahl.', | ||
minChecked : 'Mindestens {count} Optionen auswählen.', | ||
maxSelected : 'Maximal {count} Optionen erlaubt.', | ||
minSelected : 'Mindestens {count} Optionen wählen.', | ||
notEqual : 'Die Eingaben müssen identisch sein.', | ||
different : 'Die Eingaben dürfen nicht identisch sein', | ||
creditCard : 'Kreditkartennummer nicht gültig.' | ||
}; | ||
} | ||
}; | ||
$.validettaLanguage.init(); | ||
})(jQuery); | ||
(function() { | ||
window.VALIDETTA_LANGUAGE = { | ||
required: 'Feld wird benötigt.', | ||
email: 'E-Mail nicht gültig.', | ||
number: 'Nur Nummern werden akzeptiert.', | ||
maxLength: 'Maximal {count} Zeichen.', | ||
minLength: 'Mindestens {count} Zeichen.', | ||
maxChecked: 'Maximal {count} Optionen zur Auswahl.', | ||
minChecked: 'Mindestens {count} Optionen auswählen.', | ||
maxSelected: 'Maximal {count} Optionen erlaubt.', | ||
minSelected: 'Mindestens {count} Optionen wählen.', | ||
notEqual: 'Die Eingaben müssen identisch sein.', | ||
different: 'Die Eingaben dürfen nicht identisch sein', | ||
creditCard: 'Kreditkartennummer nicht gültig.' | ||
}; | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
(function(){ | ||
(function() { | ||
window.VALIDETTA_LANGUAGE = { | ||
required : 'Campo obligatorio.', | ||
email : 'Correo electrónico no válido.', | ||
number : 'Este campo sólo acepta valores numéricos.', | ||
maxLength : 'Este campo acepta como máximo {count} caracteres.', | ||
minLength : 'Este campo requiere como mínimo {count} caracteres.', | ||
maxChecked : 'Sólo se puede marcar {count} opciones como máximo.', | ||
minChecked : 'Es necesario marcar como mínimo {count} opciones.', | ||
maxSelected : 'Sólo se puede marcar {count} opciones como máximo.', | ||
minSelected : 'Es necesario marcar como mínimo {count} opciones.', | ||
notEqual : 'Los campos no coinciden.', | ||
different : 'Fields cannot be the same as each other', | ||
creditCard : 'Tarjeta de crédito no válida.' | ||
required: 'Campo obligatorio.', | ||
email: 'Correo electrónico no válido.', | ||
number: 'Este campo sólo acepta valores numéricos.', | ||
maxLength: 'Este campo acepta como máximo {count} caracteres.', | ||
minLength: 'Este campo requiere como mínimo {count} caracteres.', | ||
maxChecked: 'Sólo se puede marcar {count} opciones como máximo.', | ||
minChecked: 'Es necesario marcar como mínimo {count} opciones.', | ||
maxSelected: 'Sólo se puede marcar {count} opciones como máximo.', | ||
minSelected: 'Es necesario marcar como mínimo {count} opciones.', | ||
notEqual: 'Los campos no coinciden.', | ||
different: 'Fields cannot be the same as each other', | ||
creditCard: 'Tarjeta de crédito no válida.' | ||
}; | ||
})(); | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
(function(){ | ||
(function() { | ||
window.VALIDETTA_LANGUAGE = { | ||
required : 'این فیلد الزامی است . لطفا آن را تکمیل نمایید', | ||
email : 'پست الکترونیک وارد شده صحیح نیست.', | ||
number : 'در این فیلد فقط می توانید عدد وارد کنید', | ||
maxLength : 'بیشتر تعداد کاراکتر مجاز {count} است.', | ||
minLength : 'کمترین تعداد کاراکتر مجاز {count} است.', | ||
maxChecked : 'حد اکثر می تواند {count} آیتم را انتخاب کنید', | ||
minChecked : 'حداقل باید {count} آیتم را انتخاب کنید', | ||
maxSelected : 'حداکثر {count} انتخاب مجاز است.', | ||
minSelected : 'حداقل {count} انتخاب باید انجام دهید.', | ||
notEqual : 'فیلد ها برابر نیستند . لطفا مجددا بررسی کنید', | ||
creditCard : 'شماره کارت وارد شده صحیح نمی باشد . مجددا بررسی کنید' | ||
required: 'این فیلد الزامی است . لطفا آن را تکمیل نمایید', | ||
email: 'پست الکترونیک وارد شده صحیح نیست.', | ||
number: 'در این فیلد فقط می توانید عدد وارد کنید', | ||
maxLength: 'بیشتر تعداد کاراکتر مجاز {count} است.', | ||
minLength: 'کمترین تعداد کاراکتر مجاز {count} است.', | ||
maxChecked: 'حد اکثر می تواند {count} آیتم را انتخاب کنید', | ||
minChecked: 'حداقل باید {count} آیتم را انتخاب کنید', | ||
maxSelected: 'حداکثر {count} انتخاب مجاز است.', | ||
minSelected: 'حداقل {count} انتخاب باید انجام دهید.', | ||
notEqual: 'فیلد ها برابر نیستند . لطفا مجددا بررسی کنید', | ||
creditCard: 'شماره کارت وارد شده صحیح نمی باشد . مجددا بررسی کنید' | ||
}; | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
(function(){ | ||
(function() { | ||
window.VALIDETTA_LANGUAGE = { | ||
required : 'Ce champ est requis.', | ||
email : 'Adresse e-mail non valide', | ||
number : 'Ce champ accepte seulement des valeurs numériques.', | ||
maxLength : 'Vous devez saisir au maximum {count} caractères.', | ||
minLength : 'Vous devez saisir au minimum {count} caractères.', | ||
maxChecked : 'Vous ne pouvez cocher pas plus de {count} cases.', | ||
minChecked : 'Vous devez cocher au moins {count} cases.', | ||
maxSelected : 'Vous ne pouvez sélectionner plus de {count} options.', | ||
minSelected : 'Vous devez sélectionner au moins {count} options.', | ||
notEqual : 'Les valeurs ne correspondent pas.', | ||
different : 'Fields cannot be the same as each other', | ||
creditCard : 'Numéro de carte de crédit pas valide.' | ||
required: 'Ce champ est requis.', | ||
email: 'Adresse e-mail non valide', | ||
number: 'Ce champ accepte seulement des valeurs numériques.', | ||
maxLength: 'Vous devez saisir au maximum {count} caractères.', | ||
minLength: 'Vous devez saisir au minimum {count} caractères.', | ||
maxChecked: 'Vous ne pouvez cocher pas plus de {count} cases.', | ||
minChecked: 'Vous devez cocher au moins {count} cases.', | ||
maxSelected: 'Vous ne pouvez sélectionner plus de {count} options.', | ||
minSelected: 'Vous devez sélectionner au moins {count} options.', | ||
notEqual: 'Les valeurs ne correspondent pas.', | ||
different: 'Fields cannot be the same as each other', | ||
creditCard: 'Numéro de carte de crédit pas valide.' | ||
}; | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
(function(){ | ||
(function() { | ||
window.VALIDETTA_LANGUAGE = { | ||
required : 'Dit veld is verplicht.', | ||
email : 'Vul een geldig email adres in.', | ||
number : 'Vul een geldig nummer in.', | ||
maxLength : 'Dit veld moet maximaal {count} karakters bevatten.', | ||
minLength : 'Dit veld moet minimaal {count} karakters bevatten.', | ||
maxChecked : 'Er mogen maximaal {count} opties geselecteerd zijn.', | ||
minChecked : 'Er moeten minimaal {count} opties geselecteerd zijn.', | ||
maxSelected : 'Er mogen maximaal {count} opties geselecteerd zijn.', | ||
minSelected : 'Er moeten minimaal {count} opties geselecteerd zijn.', | ||
notEqual : 'Velden komen niet overeen.', | ||
creditCard : 'Ongeldig creditcard nummer.' | ||
required: 'Dit veld is verplicht.', | ||
email: 'Vul een geldig email adres in.', | ||
number: 'Vul een geldig nummer in.', | ||
maxLength: 'Dit veld moet maximaal {count} karakters bevatten.', | ||
minLength: 'Dit veld moet minimaal {count} karakters bevatten.', | ||
maxChecked: 'Er mogen maximaal {count} opties geselecteerd zijn.', | ||
minChecked: 'Er moeten minimaal {count} opties geselecteerd zijn.', | ||
maxSelected: 'Er mogen maximaal {count} opties geselecteerd zijn.', | ||
minSelected: 'Er moeten minimaal {count} opties geselecteerd zijn.', | ||
notEqual: 'Velden komen niet overeen.', | ||
creditCard: 'Ongeldig creditcard nummer.' | ||
}; | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
(function(){ | ||
window.VALIDETTA_LANGUAGE = { | ||
required : 'Preencha este campo.', | ||
email : 'Insira um endereço de e-mail válido.', | ||
number : 'Insira apenas números.', | ||
maxLength : 'Insira no máximo {count} caracteres.', | ||
minLength : 'Insira no mínimo {count} caracteres.', | ||
maxChecked : 'Marque no máximo {count} opções.', | ||
minChecked : 'Marque no mínimo {count} opções.', | ||
maxSelected : 'Selecione no máximo {count} itens', | ||
minSelected : 'Selecione no mínimo {count} itens', | ||
notEqual : 'Os campos não são iguais.', | ||
different : 'Fields cannot be the same as each other', | ||
creditCard : 'Número do cartão de crédito inválido.' | ||
required: 'Preencha este campo.', | ||
email: 'Insira um endereço de e-mail válido.', | ||
number: 'Insira apenas números.', | ||
maxLength: 'Insira no máximo {count} caracteres.', | ||
minLength: 'Insira no mínimo {count} caracteres.', | ||
maxChecked: 'Marque no máximo {count} opções.', | ||
minChecked: 'Marque no mínimo {count} opções.', | ||
maxSelected: 'Selecione no máximo {count} itens', | ||
minSelected: 'Selecione no mínimo {count} itens', | ||
notEqual: 'Os campos não são iguais.', | ||
different: 'Fields cannot be the same as each other', | ||
creditCard: 'Número do cartão de crédito inválido.' | ||
}; | ||
})(); | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
(function(){ | ||
window.VALIDETTA_LANGUAGE = { | ||
required : 'Bu alanı doldurmanız gerekli. Lütfen kontrol ediniz.', | ||
email : 'Eposta adresiniz geçersiz görünüyor. Lütfen kontrol ediniz.', | ||
number : 'Bu alana sadece rakam girişi yapabilirsiniz.', | ||
maxLength : 'En fazla {count} karakter girebilirsiniz !', | ||
minLength : 'En az {count} karakter girmelisiniz!', | ||
maxChecked : 'En fazla {count} seçim yapabilirsiniz. Lütfen kontrol ediniz.', | ||
minChecked : 'En az {count} seçim yapmalısınız. Lütfen kontrol ediniz.', | ||
maxSelected : 'En fazla {count} seçim yapabilirsiniz. Lütfen kontrol ediniz.', | ||
minSelected : 'En az {count} seçim yapmalısınız. Lütfen kontrol ediniz.', | ||
notEqual : 'Alanlar birbiriyle oyuşmuyor. Lütfen kontrol ediniz', | ||
different : 'Alanlar birbirlerinden farklı olmalı.', | ||
creditCard : 'Kredi kartı numarası geçersiz. Lütfen kontrol ediniz.' | ||
required: 'Bu alanı doldurmanız gerekli. Lütfen kontrol ediniz.', | ||
email: 'Eposta adresiniz geçersiz görünüyor. Lütfen kontrol ediniz.', | ||
number: 'Bu alana sadece rakam girişi yapabilirsiniz.', | ||
maxLength: 'En fazla {count} karakter girebilirsiniz !', | ||
minLength: 'En az {count} karakter girmelisiniz!', | ||
maxChecked: 'En fazla {count} seçim yapabilirsiniz. Lütfen kontrol ediniz.', | ||
minChecked: 'En az {count} seçim yapmalısınız. Lütfen kontrol ediniz.', | ||
maxSelected: 'En fazla {count} seçim yapabilirsiniz. Lütfen kontrol ediniz.', | ||
minSelected: 'En az {count} seçim yapmalısınız. Lütfen kontrol ediniz.', | ||
notEqual: 'Alanlar birbiriyle oyuşmuyor. Lütfen kontrol ediniz', | ||
different: 'Alanlar birbirlerinden farklı olmalı.', | ||
creditCard: 'Kredi kartı numarası geçersiz. Lütfen kontrol ediniz.' | ||
}; | ||
})(); | ||
})(); |