-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from masseelch/master
Added german translations
- Loading branch information
Showing
2 changed files
with
37 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import '../form_validator_locale.dart'; | ||
|
||
class LocaleDe extends FormValidatorLocale { | ||
@override | ||
String name() => 'de'; | ||
|
||
@override | ||
String minLength(String v, int n) => | ||
'Es sind mindestens $n Zeichen erforderlich'; | ||
|
||
@override | ||
String maxLength(String v, int n) => | ||
'Es sind maximal $n Zeichen erlaubt'; | ||
|
||
@override | ||
String email(String v) => 'Dies ist keine gültige E-Mail'; | ||
|
||
@override | ||
String phoneNumber(String v) => 'Dies ist keine gültige Telefonnummer'; | ||
|
||
@override | ||
String required() => 'Dieses Feld ist erforderlich'; | ||
|
||
@override | ||
String ip(String v) => 'Dies ist keine gütlige IP-Adresse'; | ||
|
||
@override | ||
String ipv6(String v) => 'Dies ist keine gütlige IPv6-Adresse'; | ||
|
||
@override | ||
String url(String v) => 'Dies ist keine gültige URL'; | ||
} |