Skip to content

Commit f1df054

Browse files
committed
Merge branch 'german_translation'
# Conflicts: # lib/l10n/messages_en.dart # lib/l10n/messages_es.dart # lib/l10n/messages_fr.dart # lib/l10n/messages_ja.dart # lib/l10n/messages_messages.dart # lib/l10n/messages_pt.dart # lib/l10n/messages_sk.dart # lib/localization/form_builder_localizations.dart
2 parents 700f948 + 1c34f55 commit f1df054

File tree

9 files changed

+194
-43
lines changed

9 files changed

+194
-43
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: 4 additions & 0 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;
@@ -27,6 +28,7 @@ import 'messages_sk.dart' as messages_sk;
2728

2829
typedef Future<dynamic> LibraryLoader();
2930
Map<String, LibraryLoader> _deferredLibraries = {
31+
'de': () => new Future.value(null),
3032
'en': () => new Future.value(null),
3133
'es': () => new Future.value(null),
3234
'fr': () => new Future.value(null),
@@ -40,6 +42,8 @@ Map<String, LibraryLoader> _deferredLibraries = {
4042

4143
MessageLookupByLibrary _findExact(String localeName) {
4244
switch (localeName) {
45+
case 'de':
46+
return messages_de.messages;
4347
case 'en':
4448
return messages_en.messages;
4549
case 'es':

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: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ 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) => "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}";
2525

26-
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}.";
2727

28-
static m3(minLength) => "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}";
2929

3030
final messages = _notInlinedMessages(_notInlinedMessages);
3131
static _notInlinedMessages(_) => <String, Function> {
@@ -34,10 +34,10 @@ class MessageLookup extends MessageLookupByLibrary {
3434
"emailErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid email address."),
3535
"ipErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid IP."),
3636
"matchErrorText" : MessageLookupByLibrary.simpleMessage("Value does not match pattern."),
37-
"maxErrorText" : m0,
38-
"maxLengthErrorText" : m1,
39-
"minErrorText" : m2,
40-
"minLengthErrorText" : m3,
37+
"maxErrorText" : m1,
38+
"maxLengthErrorText" : m2,
39+
"minErrorText" : m3,
40+
"minLengthErrorText" : m4,
4141
"numericErrorText" : MessageLookupByLibrary.simpleMessage("Value must be numeric."),
4242
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("This field cannot be empty."),
4343
"urlErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid URL address.")

lib/l10n/messages_es.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ 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) => "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}";
2525

26-
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}.";
2727

28-
static m3(minLength) => "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}";
2929

3030
final messages = _notInlinedMessages(_notInlinedMessages);
3131
static _notInlinedMessages(_) => <String, Function> {
@@ -34,10 +34,10 @@ class MessageLookup extends MessageLookupByLibrary {
3434
"emailErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere una dirección de correo electrónico válida."),
3535
"ipErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere una IP válida."),
3636
"matchErrorText" : MessageLookupByLibrary.simpleMessage("El valor no coincide con el patrón requerido."),
37-
"maxErrorText" : m0,
38-
"maxLengthErrorText" : m1,
39-
"minErrorText" : m2,
40-
"minLengthErrorText" : m3,
37+
"maxErrorText" : m1,
38+
"maxLengthErrorText" : m2,
39+
"minErrorText" : m3,
40+
"minLengthErrorText" : m4,
4141
"numericErrorText" : MessageLookupByLibrary.simpleMessage("El valor debe ser numérico."),
4242
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("Este campo no puede estar vacío."),
4343
"urlErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requiere una dirección URL válida.")

lib/l10n/messages_fr.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ 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) => "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}";
2525

26-
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}.";
2727

28-
static m3(minLength) => "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}";
2929

3030
final messages = _notInlinedMessages(_notInlinedMessages);
3131
static _notInlinedMessages(_) => <String, Function> {
@@ -34,10 +34,10 @@ class MessageLookup extends MessageLookupByLibrary {
3434
"emailErrorText" : MessageLookupByLibrary.simpleMessage("Ce champ nécessite une adresse e-mail valide."),
3535
"ipErrorText" : MessageLookupByLibrary.simpleMessage("Ce champ nécessite une adresse IP valide."),
3636
"matchErrorText" : MessageLookupByLibrary.simpleMessage("La valeur ne correspond pas au modèle."),
37-
"maxErrorText" : m0,
38-
"maxLengthErrorText" : m1,
39-
"minErrorText" : m2,
40-
"minLengthErrorText" : m3,
37+
"maxErrorText" : m1,
38+
"maxLengthErrorText" : m2,
39+
"minErrorText" : m3,
40+
"minLengthErrorText" : m4,
4141
"numericErrorText" : MessageLookupByLibrary.simpleMessage("La valeur doit être numérique."),
4242
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("Ce champ ne peut pas être vide."),
4343
"urlErrorText" : MessageLookupByLibrary.simpleMessage("Ce champ nécessite une adresse URL valide.")

lib/l10n/messages_messages.dart

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

22-
static m4(value) => "This field value must be equal to ${value}.";
22+
static m0(value) => "This field value must be equal to ${value}.";
2323

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

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

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

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

3232
final messages = _notInlinedMessages(_notInlinedMessages);
3333
static _notInlinedMessages(_) => <String, Function> {
3434
"creditCardErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid credit card number."),
3535
"dateStringErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid date string."),
3636
"emailErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid email address."),
37-
"equalErrorText" : m4,
37+
"equalErrorText" : m0,
3838
"integerErrorText" : MessageLookupByLibrary.simpleMessage("Value must be an integer."),
3939
"ipErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid IP."),
4040
"matchErrorText" : MessageLookupByLibrary.simpleMessage("Value does not match pattern."),
41-
"maxErrorText" : m0,
42-
"maxLengthErrorText" : m1,
43-
"minErrorText" : m2,
44-
"minLengthErrorText" : m3,
41+
"maxErrorText" : m1,
42+
"maxLengthErrorText" : m2,
43+
"minErrorText" : m3,
44+
"minLengthErrorText" : m4,
4545
"numericErrorText" : MessageLookupByLibrary.simpleMessage("Value must be numeric."),
4646
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("This field cannot be empty."),
4747
"urlErrorText" : MessageLookupByLibrary.simpleMessage("This field requires a valid URL address.")

lib/l10n/messages_pt.dart

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

22-
static m0(max) => "O valor deve ser menor ou igual a ${max}";
22+
static m1(max) => "O valor deve ser menor ou igual a ${max}";
2323

24-
static m1(maxLength) => "O valor deve ter um comprimento menor ou igual a ${maxLength}";
24+
static m2(maxLength) => "O valor deve ter um comprimento menor ou igual a ${maxLength}";
2525

26-
static m2(min) => "O valor deve ser maior ou igual a ${min}.";
26+
static m3(min) => "O valor deve ser maior ou igual a ${min}.";
2727

28-
static m3(minLength) => "O valor deve ter um comprimento maior ou igual a ${minLength}";
28+
static m4(minLength) => "O valor deve ter um comprimento maior ou igual a ${minLength}";
2929

3030
final messages = _notInlinedMessages(_notInlinedMessages);
3131
static _notInlinedMessages(_) => <String, Function> {
@@ -34,10 +34,10 @@ class MessageLookup extends MessageLookupByLibrary {
3434
"emailErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requer um endereço de e-mail válido."),
3535
"ipErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requer um IP válido."),
3636
"matchErrorText" : MessageLookupByLibrary.simpleMessage("O valor não corresponde ao padrão."),
37-
"maxErrorText" : m0,
38-
"maxLengthErrorText" : m1,
39-
"minErrorText" : m2,
40-
"minLengthErrorText" : m3,
37+
"maxErrorText" : m1,
38+
"maxLengthErrorText" : m2,
39+
"minErrorText" : m3,
40+
"minLengthErrorText" : m4,
4141
"numericErrorText" : MessageLookupByLibrary.simpleMessage("O valor deve ser numérico."),
4242
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("Este campo não pode ficar vazio."),
4343
"urlErrorText" : MessageLookupByLibrary.simpleMessage("Este campo requer um endereço de URL válido.")

lib/localization/form_builder_localizations.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class _FormBuilderLocalizationsDelegate
135135

136136
@override
137137
bool isSupported(Locale locale) {
138-
return ['en', 'es', 'fr', 'hu', 'it', 'ja', 'pt', 'sk', 'pl']
138+
return ['de', 'en', 'es', 'fr', 'hu', 'it', 'ja', 'pt', 'sk', 'pl']
139139
.contains(locale.languageCode);
140140
}
141141

0 commit comments

Comments
 (0)