Skip to content

Commit 1c34f55

Browse files
committed
Flutter Form Builder German Translation
1 parent 4ced8f1 commit 1c34f55

11 files changed

+285
-199
lines changed

lib/l10n/intl_de.arb

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"@@last_modified": "2021-01-27T16:38:27.938366",
3+
"@@locale": "de",
4+
"requiredErrorText": "Dieses Feld kann nicht leer sein.",
5+
"@requiredErrorText": {
6+
"description": "Error Text for required validator",
7+
"type": "text",
8+
"placeholders": {}
9+
},
10+
"equalErrorText": "Dieser Feldwert muss {value} gleich sein.",
11+
"@equalErrorText": {
12+
"description": "Error Text for equal validator",
13+
"type": "text",
14+
"placeholders": {
15+
"value": {}
16+
}
17+
},
18+
"minErrorText": "Der Wert muss größer als oder gleich {min} sein.",
19+
"@minErrorText": {
20+
"description": "Error Text for required field",
21+
"type": "text",
22+
"placeholders": {
23+
"min": {}
24+
}
25+
},
26+
"minLengthErrorText": "Der Wert muss eine Länge größer als oder gleich {minLength} haben.",
27+
"@minLengthErrorText": {
28+
"description": "Error Text for minLength validator",
29+
"type": "text",
30+
"placeholders": {
31+
"minLength": {}
32+
}
33+
},
34+
"maxErrorText": "Der Wert muss kleiner als oder gleich {max} sein.",
35+
"@maxErrorText": {
36+
"description": "Error Text for max validator",
37+
"type": "text",
38+
"placeholders": {
39+
"max": {}
40+
}
41+
},
42+
"maxLengthErrorText": "Der Wert muss eine Länge kleiner als oder gleich {maxLength} haben.",
43+
"@maxLengthErrorText": {
44+
"description": "Error Text for required field",
45+
"type": "text",
46+
"placeholders": {
47+
"maxLength": {}
48+
}
49+
},
50+
"emailErrorText": "Für dieses Feld ist eine gültige E-Mail-Adresse erforderlich.",
51+
"@emailErrorText": {
52+
"description": "Error Text for email validator",
53+
"type": "text",
54+
"placeholders": {}
55+
},
56+
"urlErrorText": "Für dieses Feld ist eine gültige URL-Adresse erforderlich.",
57+
"@urlErrorText": {
58+
"description": "Error Text for URL validator",
59+
"type": "text",
60+
"placeholders": {}
61+
},
62+
"matchErrorText": "Der Wert stimmt nicht mit dem Muster überein.",
63+
"@matchErrorText": {
64+
"description": "Error Text for pattern validator",
65+
"type": "text",
66+
"placeholders": {}
67+
},
68+
"numericErrorText": "Der Wert muss numerisch sein.",
69+
"@numericErrorText": {
70+
"description": "Error Text for numeric validator",
71+
"type": "text",
72+
"placeholders": {}
73+
},
74+
"integerErrorText": "Der Wert muss eine integer sein.",
75+
"@integerErrorText": {
76+
"description": "Error Text for integer validator",
77+
"type": "text",
78+
"placeholders": {}
79+
},
80+
"creditCardErrorText": "Für dieses Feld ist eine gültige Kreditkartennummer erforderlich.",
81+
"@creditCardErrorText": {
82+
"description": "Error Text for credit card validator",
83+
"type": "text",
84+
"placeholders": {}
85+
},
86+
"ipErrorText": "Dieses Feld erfordert eine gültige IP-Adresse.",
87+
"@ipErrorText": {
88+
"description": "Error Text for IP address validator",
89+
"type": "text",
90+
"placeholders": {}
91+
},
92+
"dateStringErrorText": "Dieses Feld erfordert ein gültiges Datum.",
93+
"@dateStringErrorText": {
94+
"description": "Error Text for date string validator",
95+
"type": "text",
96+
"placeholders": {}
97+
}
98+
}

lib/l10n/messages_all.dart

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import 'package:intl/intl.dart';
1515
import 'package:intl/message_lookup_by_library.dart';
1616
import 'package:intl/src/intl_helpers.dart';
1717

18+
import 'messages_de.dart' as messages_de;
1819
import 'messages_en.dart' as messages_en;
1920
import 'messages_es.dart' as messages_es;
2021
import 'messages_fr.dart' as messages_fr;
@@ -25,6 +26,7 @@ import 'messages_sk.dart' as messages_sk;
2526

2627
typedef Future<dynamic> LibraryLoader();
2728
Map<String, LibraryLoader> _deferredLibraries = {
29+
'de': () => new Future.value(null),
2830
'en': () => new Future.value(null),
2931
'es': () => new Future.value(null),
3032
'fr': () => new Future.value(null),
@@ -36,6 +38,8 @@ Map<String, LibraryLoader> _deferredLibraries = {
3638

3739
MessageLookupByLibrary _findExact(String localeName) {
3840
switch (localeName) {
41+
case 'de':
42+
return messages_de.messages;
3943
case 'en':
4044
return messages_en.messages;
4145
case 'es':
@@ -58,8 +62,9 @@ MessageLookupByLibrary _findExact(String localeName) {
5862
/// User programs should call this before using [localeName] for messages.
5963
Future<bool> initializeMessages(String localeName) async {
6064
var availableLocale = Intl.verifiedLocale(
61-
localeName, (locale) => _deferredLibraries[locale] != null,
62-
onFailure: (_) => null);
65+
localeName,
66+
(locale) => _deferredLibraries[locale] != null,
67+
onFailure: (_) => null);
6368
if (availableLocale == null) {
6469
return new Future.value(false);
6570
}
@@ -79,8 +84,8 @@ bool _messagesExistFor(String locale) {
7984
}
8085

8186
MessageLookupByLibrary _findGeneratedMessagesFor(String locale) {
82-
var actualLocale =
83-
Intl.verifiedLocale(locale, _messagesExistFor, onFailure: (_) => null);
87+
var actualLocale = Intl.verifiedLocale(locale, _messagesExistFor,
88+
onFailure: (_) => null);
8489
if (actualLocale == null) return null;
8590
return _findExact(actualLocale);
8691
}

lib/l10n/messages_de.dart

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
2+
// This is a library that provides messages for a de locale. All the
3+
// messages from the main program should be duplicated here with the same
4+
// function name.
5+
6+
// Ignore issues from commonly used lints in this file.
7+
// ignore_for_file:unnecessary_brace_in_string_interps, unnecessary_new
8+
// ignore_for_file:prefer_single_quotes,comment_references, directives_ordering
9+
// ignore_for_file:annotate_overrides,prefer_generic_function_type_aliases
10+
// ignore_for_file:unused_import, file_names
11+
12+
import 'package:intl/intl.dart';
13+
import 'package:intl/message_lookup_by_library.dart';
14+
15+
final messages = new MessageLookup();
16+
17+
typedef String MessageIfAbsent(String messageStr, List<dynamic> args);
18+
19+
class MessageLookup extends MessageLookupByLibrary {
20+
String get localeName => 'de';
21+
22+
static m0(value) => "Dieser Feldwert muss ${value} gleich sein.";
23+
24+
static m1(max) => "Der Wert muss kleiner als oder gleich ${max} sein.";
25+
26+
static m2(maxLength) => "Der Wert muss eine Länge kleiner als oder gleich ${maxLength} haben.";
27+
28+
static m3(min) => "Der Wert muss größer als oder gleich ${min} sein.";
29+
30+
static m4(minLength) => "Der Wert muss eine Länge größer als oder gleich ${minLength} haben.";
31+
32+
final messages = _notInlinedMessages(_notInlinedMessages);
33+
static _notInlinedMessages(_) => <String, Function> {
34+
"creditCardErrorText" : MessageLookupByLibrary.simpleMessage("Für dieses Feld ist eine gültige Kreditkartennummer erforderlich."),
35+
"dateStringErrorText" : MessageLookupByLibrary.simpleMessage("Dieses Feld erfordert ein gültiges Datum."),
36+
"emailErrorText" : MessageLookupByLibrary.simpleMessage("Für dieses Feld ist eine gültige E-Mail-Adresse erforderlich."),
37+
"equalErrorText" : m0,
38+
"integerErrorText" : MessageLookupByLibrary.simpleMessage("Der Wert muss eine integer sein."),
39+
"ipErrorText" : MessageLookupByLibrary.simpleMessage("Dieses Feld erfordert eine gültige IP-Adresse."),
40+
"matchErrorText" : MessageLookupByLibrary.simpleMessage("Der Wert stimmt nicht mit dem Muster überein."),
41+
"maxErrorText" : m1,
42+
"maxLengthErrorText" : m2,
43+
"minErrorText" : m3,
44+
"minLengthErrorText" : m4,
45+
"numericErrorText" : MessageLookupByLibrary.simpleMessage("Der Wert muss numerisch sein."),
46+
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("Dieses Feld kann nicht leer sein."),
47+
"urlErrorText" : MessageLookupByLibrary.simpleMessage("Für dieses Feld ist eine gültige URL-Adresse erforderlich.")
48+
};
49+
}

lib/l10n/messages_en.dart

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -19,37 +19,27 @@ typedef String MessageIfAbsent(String messageStr, List<dynamic> args);
1919
class MessageLookup extends MessageLookupByLibrary {
2020
String get localeName => 'en';
2121

22-
static m0(max) => "Value must be less than or equal to ${max}";
22+
static m1(max) => "Value must be less than or equal to ${max}";
2323

24-
static m1(maxLength) =>
25-
"Value must have a length less than or equal to ${maxLength}";
24+
static m2(maxLength) => "Value must have a length less than or equal to ${maxLength}";
2625

27-
static m2(min) => "Value must be greater than or equal to ${min}.";
26+
static m3(min) => "Value must be greater than or equal to ${min}.";
2827

29-
static m3(minLength) =>
30-
"Value must have a length greater than or equal to ${minLength}";
28+
static m4(minLength) => "Value must have a length greater than or equal to ${minLength}";
3129

3230
final messages = _notInlinedMessages(_notInlinedMessages);
33-
static _notInlinedMessages(_) => <String, Function>{
34-
"creditCardErrorText": MessageLookupByLibrary.simpleMessage(
35-
"This field requires a valid credit card number."),
36-
"dateStringErrorText": MessageLookupByLibrary.simpleMessage(
37-
"This field requires a valid date string."),
38-
"emailErrorText": MessageLookupByLibrary.simpleMessage(
39-
"This field requires a valid email address."),
40-
"ipErrorText": MessageLookupByLibrary.simpleMessage(
41-
"This field requires a valid IP."),
42-
"matchErrorText": MessageLookupByLibrary.simpleMessage(
43-
"Value does not match pattern."),
44-
"maxErrorText": m0,
45-
"maxLengthErrorText": m1,
46-
"minErrorText": m2,
47-
"minLengthErrorText": m3,
48-
"numericErrorText":
49-
MessageLookupByLibrary.simpleMessage("Value must be numeric."),
50-
"requiredErrorText":
51-
MessageLookupByLibrary.simpleMessage("This field cannot be empty."),
52-
"urlErrorText": MessageLookupByLibrary.simpleMessage(
53-
"This field requires a valid URL address.")
54-
};
31+
static _notInlinedMessages(_) => <String, Function> {
32+
"creditCardErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid credit card number."),
33+
"dateStringErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid date string."),
34+
"emailErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid email address."),
35+
"ipErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid IP."),
36+
"matchErrorText" : MessageLookupByLibrary.simpleMessage("Value does not match pattern."),
37+
"maxErrorText" : m1,
38+
"maxLengthErrorText" : m2,
39+
"minErrorText" : m3,
40+
"minLengthErrorText" : m4,
41+
"numericErrorText" : MessageLookupByLibrary.simpleMessage("Value must be numeric."),
42+
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("This field cannot be empty."),
43+
"urlErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid URL address.")
44+
};
5545
}

lib/l10n/messages_es.dart

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -19,37 +19,27 @@ typedef String MessageIfAbsent(String messageStr, List<dynamic> args);
1919
class MessageLookup extends MessageLookupByLibrary {
2020
String get localeName => 'es';
2121

22-
static m0(max) => "El valor debe ser menor o igual que ${max}.";
22+
static m1(max) => "El valor debe ser menor o igual que ${max}.";
2323

24-
static m1(maxLength) =>
25-
"El valor debe tener una longitud menor o igual a ${maxLength}";
24+
static m2(maxLength) => "El valor debe tener una longitud menor o igual a ${maxLength}";
2625

27-
static m2(min) => "El valor debe ser mayor o igual que ${min}.";
26+
static m3(min) => "El valor debe ser mayor o igual que ${min}.";
2827

29-
static m3(minLength) =>
30-
"El valor debe tener una longitud mayor o igual a ${minLength}";
28+
static m4(minLength) => "El valor debe tener una longitud mayor o igual a ${minLength}";
3129

3230
final messages = _notInlinedMessages(_notInlinedMessages);
33-
static _notInlinedMessages(_) => <String, Function>{
34-
"creditCardErrorText": MessageLookupByLibrary.simpleMessage(
35-
"Este campo requiere un número de tarjeta de crédito válido."),
36-
"dateStringErrorText": MessageLookupByLibrary.simpleMessage(
37-
"Este campo requiere una cadena de fecha válida."),
38-
"emailErrorText": MessageLookupByLibrary.simpleMessage(
39-
"Este campo requiere una dirección de correo electrónico válida."),
40-
"ipErrorText": MessageLookupByLibrary.simpleMessage(
41-
"Este campo requiere una IP válida."),
42-
"matchErrorText": MessageLookupByLibrary.simpleMessage(
43-
"El valor no coincide con el patrón requerido."),
44-
"maxErrorText": m0,
45-
"maxLengthErrorText": m1,
46-
"minErrorText": m2,
47-
"minLengthErrorText": m3,
48-
"numericErrorText":
49-
MessageLookupByLibrary.simpleMessage("El valor debe ser numérico."),
50-
"requiredErrorText": MessageLookupByLibrary.simpleMessage(
51-
"Este campo no puede estar vacío."),
52-
"urlErrorText": MessageLookupByLibrary.simpleMessage(
53-
"Este campo requiere una dirección URL válida.")
54-
};
31+
static _notInlinedMessages(_) => <String, Function> {
32+
"creditCardErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere un número de tarjeta de crédito válido."),
33+
"dateStringErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere una cadena de fecha válida."),
34+
"emailErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere una dirección de correo electrónico válida."),
35+
"ipErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere una IP válida."),
36+
"matchErrorText" : MessageLookupByLibrary.simpleMessage("El valor no coincide con el patrón requerido."),
37+
"maxErrorText" : m1,
38+
"maxLengthErrorText" : m2,
39+
"minErrorText" : m3,
40+
"minLengthErrorText" : m4,
41+
"numericErrorText" : MessageLookupByLibrary.simpleMessage("El valor debe ser numérico."),
42+
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("Este campo no puede estar vacío."),
43+
"urlErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere una dirección URL válida.")
44+
};
5545
}

lib/l10n/messages_fr.dart

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -19,37 +19,27 @@ typedef String MessageIfAbsent(String messageStr, List<dynamic> args);
1919
class MessageLookup extends MessageLookupByLibrary {
2020
String get localeName => 'fr';
2121

22-
static m0(max) => "La valeur doit être inférieure ou égale à ${max}";
22+
static m1(max) => "La valeur doit être inférieure ou égale à ${max}";
2323

24-
static m1(maxLength) =>
25-
"La valeur doit avoir une longueur inférieure ou égale à ${maxLength}";
24+
static m2(maxLength) => "La valeur doit avoir une longueur inférieure ou égale à ${maxLength}";
2625

27-
static m2(min) => "La valeur doit être supérieure ou égale à ${min}.";
26+
static m3(min) => "La valeur doit être supérieure ou égale à ${min}.";
2827

29-
static m3(minLength) =>
30-
"La valeur doit avoir une longueur supérieure ou égale à ${minLength}";
28+
static m4(minLength) => "La valeur doit avoir une longueur supérieure ou égale à ${minLength}";
3129

3230
final messages = _notInlinedMessages(_notInlinedMessages);
33-
static _notInlinedMessages(_) => <String, Function>{
34-
"creditCardErrorText": MessageLookupByLibrary.simpleMessage(
35-
"Ce champ nécessite un numéro de carte de crédit valide."),
36-
"dateStringErrorText": MessageLookupByLibrary.simpleMessage(
37-
"Ce champ nécessite une chaîne de date valide."),
38-
"emailErrorText": MessageLookupByLibrary.simpleMessage(
39-
"Ce champ nécessite une adresse e-mail valide."),
40-
"ipErrorText": MessageLookupByLibrary.simpleMessage(
41-
"Ce champ nécessite une adresse IP valide."),
42-
"matchErrorText": MessageLookupByLibrary.simpleMessage(
43-
"La valeur ne correspond pas au modèle."),
44-
"maxErrorText": m0,
45-
"maxLengthErrorText": m1,
46-
"minErrorText": m2,
47-
"minLengthErrorText": m3,
48-
"numericErrorText": MessageLookupByLibrary.simpleMessage(
49-
"La valeur doit être numérique."),
50-
"requiredErrorText": MessageLookupByLibrary.simpleMessage(
51-
"Ce champ ne peut pas être vide."),
52-
"urlErrorText": MessageLookupByLibrary.simpleMessage(
53-
"Ce champ nécessite une adresse URL valide.")
54-
};
31+
static _notInlinedMessages(_) => <String, Function> {
32+
"creditCardErrorText" : MessageLookupByLibrary.simpleMessage("Ce champ nécessite un numéro de carte de crédit valide."),
33+
"dateStringErrorText" : MessageLookupByLibrary.simpleMessage("Ce champ nécessite une chaîne de date valide."),
34+
"emailErrorText" : MessageLookupByLibrary.simpleMessage("Ce champ nécessite une adresse e-mail valide."),
35+
"ipErrorText" : MessageLookupByLibrary.simpleMessage("Ce champ nécessite une adresse IP valide."),
36+
"matchErrorText" : MessageLookupByLibrary.simpleMessage("La valeur ne correspond pas au modèle."),
37+
"maxErrorText" : m1,
38+
"maxLengthErrorText" : m2,
39+
"minErrorText" : m3,
40+
"minLengthErrorText" : m4,
41+
"numericErrorText" : MessageLookupByLibrary.simpleMessage("La valeur doit être numérique."),
42+
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("Ce champ ne peut pas être vide."),
43+
"urlErrorText" : MessageLookupByLibrary.simpleMessage("Ce champ nécessite une adresse URL valide.")
44+
};
5545
}

0 commit comments

Comments
 (0)