Skip to content

Commit 882bb93

Browse files
committed
Add more
1 parent 0f446c6 commit 882bb93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+670
-52
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
## 11.0.1
44

55
- Add profanity validator
6+
- Add float validator
7+
- Add hexadecimal validator
68

79
## 11.0.0
810

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ URL, min, max, minLength, maxLength, minWordsCount, maxWordsCount, IP, credit ca
149149

150150
- `FormBuilderValidators.between()` - requires the field's to be between two numbers.
151151
- `FormBuilderValidators.evenNumber()` - requires the field's to be an even number.
152+
- `FormBuilderValidators.float()` - requires the field's to be an float number.
153+
- `FormBuilderValidators.hexadecimal()` - requires the field's to be an hexadecimal number.
152154
- `FormBuilderValidators.integer()` - requires the field's value to be an integer.
153155
- `FormBuilderValidators.max()` - requires the field's value to be less than or equal to the provided number.
154156
- `FormBuilderValidators.min()` - requires the field's value to be greater than or equal to the provided number.

analysis_options.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ linter:
1010
always_use_package_imports: false
1111
always_specify_types: true
1212
omit_local_variable_types: false
13-
public_member_api_docs: true
13+
public_member_api_docs: true
14+
directives_ordering: true

lib/l10n/intl_ar.arb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,7 @@
8585
"licensePlateErrorText": "يجب أن تكون القيمة لوحة ترخيص صالحة.",
8686
"vinErrorText": "يجب أن تكون القيمة رقم VIN صالح.",
8787
"languageCodeErrorText": "يجب أن تكون القيمة رمز لغة صالح.",
88-
"profanityErrorText": "يجب ألا تحتوي القيمة على: {profanity}."
88+
"profanityErrorText": "يجب ألا تحتوي القيمة على: {profanity}.",
89+
"floatErrorText": "يجب أن تكون القيمة رقم عشري صالح.",
90+
"hexadecimalErrorText": "يجب أن تكون القيمة رقم سداسي عشري صالح."
8991
}

lib/l10n/intl_bg.arb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,7 @@
8585
"licensePlateErrorText": "Стойността трябва да бъде валиден регистрационен номер.",
8686
"vinErrorText": "Стойността трябва да бъде валиден VIN.",
8787
"languageCodeErrorText": "Стойността трябва да бъде валиден езиков код.",
88-
"profanityErrorText": "Стойността не трябва да съдържа: {profanity}."
88+
"profanityErrorText": "Стойността не трябва да съдържа: {profanity}.",
89+
"floatErrorText": "Стойността трябва да бъде валидно число с плаваща запетая.",
90+
"hexadecimalErrorText": "Стойността трябва да бъде валиден шестнадесетичен номер."
8991
}

lib/l10n/intl_bn.arb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,7 @@
8585
"licensePlateErrorText": "মানটি একটি বৈধ লাইসেন্স প্লেট হতে হবে।",
8686
"vinErrorText": "মানটি একটি বৈধ VIN হতে হবে।",
8787
"languageCodeErrorText": "মানটি একটি বৈধ ভাষা কোড হতে হবে।",
88-
"profanityErrorText": "মানের মধ্যে এইগুলি থাকা যাবে না: {profanity}."
88+
"profanityErrorText": "মানের মধ্যে এইগুলি থাকা যাবে না: {profanity}.",
89+
"floatErrorText": "মান একটি বৈধ ভাসমান বিন্দু সংখ্যা হতে হবে।",
90+
"hexadecimalErrorText": "মান একটি বৈধ হেক্সাডেসিমাল সংখ্যা হতে হবে।"
8991
}

lib/l10n/intl_bs.arb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,7 @@
8585
"licensePlateErrorText": "Vrijednost mora biti ispravna registarska tablica.",
8686
"vinErrorText": "Vrijednost mora biti ispravan VIN.",
8787
"languageCodeErrorText": "Vrijednost mora biti ispravan kod jezika.",
88-
"profanityErrorText": "Vrijednost ne smije sadržavati: {profanity}."
88+
"profanityErrorText": "Vrijednost ne smije sadržavati: {profanity}.",
89+
"floatErrorText": "Vrijednost mora biti ispravan broj s pomičnim zarezom.",
90+
"hexadecimalErrorText": "Vrijednost mora biti ispravan heksadecimalni broj."
8991
}

lib/l10n/intl_ca.arb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,7 @@
8585
"licensePlateErrorText": "El valor ha de ser una matrícula vàlida.",
8686
"vinErrorText": "El valor ha de ser un VIN vàlid.",
8787
"languageCodeErrorText": "El valor ha de ser un codi de llengua vàlid.",
88-
"profanityErrorText": "El valor no ha de contenir: {profanity}."
88+
"profanityErrorText": "El valor no ha de contenir: {profanity}.",
89+
"floatErrorText": "El valor ha de ser un nombre de coma flotant vàlid.",
90+
"hexadecimalErrorText": "El valor ha de ser un nombre hexadecimal vàlid."
8991
}

lib/l10n/intl_cs.arb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,7 @@
8585
"licensePlateErrorText": "Hodnota musí být platná poznávací značka.",
8686
"vinErrorText": "Hodnota musí být platný VIN.",
8787
"languageCodeErrorText": "Hodnota musí být platný kód jazyka.",
88-
"profanityErrorText": "Hodnota nesmí obsahovat: {profanity}."
88+
"profanityErrorText": "Hodnota nesmí obsahovat: {profanity}.",
89+
"floatErrorText": "Hodnota musí být platné desetinné číslo.",
90+
"hexadecimalErrorText": "Hodnota musí být platné šestnáctkové číslo."
8991
}

lib/l10n/intl_da.arb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,7 @@
8585
"licensePlateErrorText": "Værdien skal være en gyldig nummerplade.",
8686
"vinErrorText": "Værdien skal være en gyldig VIN.",
8787
"languageCodeErrorText": "Værdien skal være en gyldig sprogkode.",
88-
"profanityErrorText": "Værdien må ikke indeholde: {profanity}."
88+
"profanityErrorText": "Værdien må ikke indeholde: {profanity}.",
89+
"floatErrorText": "Værdien skal være et gyldigt flydende punkt nummer.",
90+
"hexadecimalErrorText": "Værdien skal være et gyldigt hexadecimalt nummer."
8991
}

0 commit comments

Comments
 (0)