Skip to content

Commit 614a4d0

Browse files
committed
Merge branch 'master' into null_safety
# Conflicts: # README.md # lib/l10n/messages_en.dart # lib/l10n/messages_es.dart # lib/l10n/messages_fr.dart # lib/l10n/messages_messages.dart # lib/l10n/messages_pt.dart # pubspec.yaml
2 parents 06450ec + d51a870 commit 614a4d0

14 files changed

+448
-43
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ and collect final user input.
1919
To use this plugin, add `flutter_form_builder` as a
2020
[dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/).
2121

22+
## New Video Tutorial
23+
[![Youtube Video Tutorial](https://i.imgur.com/gBJu2Tql.png)](https://www.youtube.com/watch?v=eGwq3_0K_Sg)<br/>
24+
[Check out the video tutorial from SyntacOps on Youtube](https://www.youtube.com/watch?v=eGwq3_0K_Sg)
25+
2226
### Example
2327
```dart
2428
final _formKey = GlobalKey<FormBuilderState>();

example/lib/main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class MyApp extends StatelessWidget {
3030
Locale('ja', ''),
3131
Locale('pt', ''),
3232
Locale('sk', ''),
33+
Locale('pl', ''),
3334
],
3435
home: HomePage(),
3536
);

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/intl_hu.arb

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"@@last_modified": "2020-06-19T21:53:39.706877",
3+
"requiredErrorText": "Ennek a mezőnek értéket kell adni.",
4+
"@requiredErrorText": {
5+
"description": "Error Text for required field",
6+
"type": "text",
7+
"placeholders": {}
8+
},
9+
"minErrorText": "Az érték legyen legalább {min}.",
10+
"@minErrorText": {
11+
"description": "Error Text for required field",
12+
"type": "text",
13+
"placeholders": {
14+
"min": {}
15+
}
16+
},
17+
"minLengthErrorText": "Az értéknel legalább {minLength} karakter hosszúnak kell lennie",
18+
"@minLengthErrorText": {
19+
"description": "Error Text for required field",
20+
"type": "text",
21+
"placeholders": {
22+
"minLength": {}
23+
}
24+
},
25+
"maxErrorText": "Az érték legyen legfeljebb {max}",
26+
"@maxErrorText": {
27+
"description": "Error Text for required field",
28+
"type": "text",
29+
"placeholders": {
30+
"max": {}
31+
}
32+
},
33+
"maxLengthErrorText": "Value must have a length less than or equal to {maxLength}",
34+
"@maxLengthErrorText": {
35+
"description": "Error Text for required field",
36+
"type": "text",
37+
"placeholders": {
38+
"maxLength": {}
39+
}
40+
},
41+
"emailErrorText": "A megadott érték nem egy érvényes email cím.",
42+
"@emailErrorText": {
43+
"description": "Error Text for email field",
44+
"type": "text",
45+
"placeholders": {}
46+
},
47+
"urlErrorText": "A megadott érték nem egy érvényes URL cím.",
48+
"@urlErrorText": {
49+
"description": "Error Text for URL field",
50+
"type": "text",
51+
"placeholders": {}
52+
},
53+
"matchErrorText": "A megadott érték nem egyezik a szükséges formátummal.",
54+
"@matchErrorText": {
55+
"description": "Error Text for pattern field",
56+
"type": "text",
57+
"placeholders": {}
58+
},
59+
"numericErrorText": "Ebbe a mezőbe csak számot lehet írni.",
60+
"@numericErrorText": {
61+
"description": "Error Text for numeric field",
62+
"type": "text",
63+
"placeholders": {}
64+
},
65+
"creditCardErrorText": "A megadott érték nem egy érvényes bankkártya szám.",
66+
"@creditCardErrorText": {
67+
"description": "Error Text for credit card field",
68+
"type": "text",
69+
"placeholders": {}
70+
},
71+
"ipErrorText": "A megadott érték nem egy érvényes IP cím.",
72+
"@ipErrorText": {
73+
"description": "Error Text for IP address field",
74+
"type": "text",
75+
"placeholders": {}
76+
},
77+
"dateStringErrorText": "Ennek a mezőnek dátumnak kell lennie.",
78+
"@dateStringErrorText": {
79+
"description": "Error Text for date string field",
80+
"type": "text",
81+
"placeholders": {}
82+
}
83+
}

lib/l10n/intl_pl.arb

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"@@last_modified": "2021-01-16T01:32:17.166732",
3+
"requiredErrorText": "To pole nie może być puste.",
4+
"@requiredErrorText": {
5+
"description": "Error Text for required validator",
6+
"type": "text",
7+
"placeholders": {}
8+
},
9+
"equalErrorText": "Wartość tego pola musi wynosić {value}.",
10+
"@equalErrorText": {
11+
"description": "Error Text for equal validator",
12+
"type": "text",
13+
"placeholders": {
14+
"value": {}
15+
}
16+
},
17+
"notEqualErrorText": "Wartość tego pola nie może być {value}.",
18+
"@notEqualErrorText": {
19+
"description": "Error Text for not-equal validator",
20+
"type": "text",
21+
"placeholders": {
22+
"value": {}
23+
}
24+
},
25+
"minErrorText": "Wartość musi być większa lub równa {min}.",
26+
"@minErrorText": {
27+
"description": "Error Text for required field",
28+
"type": "text",
29+
"placeholders": {
30+
"min": {}
31+
}
32+
},
33+
"minLengthErrorText": "Wartość musi mieć co najmniej {minLength} znaków.",
34+
"@minLengthErrorText": {
35+
"description": "Error Text for minLength validator",
36+
"type": "text",
37+
"placeholders": {
38+
"minLength": {}
39+
}
40+
},
41+
"maxErrorText": "Wartość musi być mniejsza lub równa {max}.",
42+
"@maxErrorText": {
43+
"description": "Error Text for max validator",
44+
"type": "text",
45+
"placeholders": {
46+
"max": {}
47+
}
48+
},
49+
"maxLengthErrorText": "Wartość nie może mieć więcej niż {maxLength} znaków.",
50+
"@maxLengthErrorText": {
51+
"description": "Error Text for required field",
52+
"type": "text",
53+
"placeholders": {
54+
"maxLength": {}
55+
}
56+
},
57+
"emailErrorText": "To pole wymaga prawidłowego adresu e-mail.",
58+
"@emailErrorText": {
59+
"description": "Error Text for email validator",
60+
"type": "text",
61+
"placeholders": {}
62+
},
63+
"urlErrorText": "To pole wymaga prawidłowego adresu URL.",
64+
"@urlErrorText": {
65+
"description": "Error Text for URL validator",
66+
"type": "text",
67+
"placeholders": {}
68+
},
69+
"matchErrorText": "Wartość nie pasuje do oczekiwanego kształtu.",
70+
"@matchErrorText": {
71+
"description": "Error Text for pattern validator",
72+
"type": "text",
73+
"placeholders": {}
74+
},
75+
"numericErrorText": "Wartość musi być liczbą.",
76+
"@numericErrorText": {
77+
"description": "Error Text for numeric validator",
78+
"type": "text",
79+
"placeholders": {}
80+
},
81+
"integerErrorText": "Wartość musi być liczbą całkowitą.",
82+
"@integerErrorText": {
83+
"description": "Error Text for integer validator",
84+
"type": "text",
85+
"placeholders": {}
86+
},
87+
"creditCardErrorText": "To pole wymaga podania ważnego numeru karty kredytowej.",
88+
"@creditCardErrorText": {
89+
"description": "Error Text for credit card validator",
90+
"type": "text",
91+
"placeholders": {}
92+
},
93+
"ipErrorText": "To pole wymaga prawidłowego adresu IP.",
94+
"@ipErrorText": {
95+
"description": "Error Text for IP address validator",
96+
"type": "text",
97+
"placeholders": {}
98+
},
99+
"dateStringErrorText": "To pole wymaga prawidłowej daty.",
100+
"@dateStringErrorText": {
101+
"description": "Error Text for date string validator",
102+
"type": "text",
103+
"placeholders": {}
104+
}
105+
}

lib/l10n/messages_all.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@ 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;
2122
import 'messages_it.dart' as messages_it;
2223
import 'messages_ja.dart' as messages_ja;
2324
import 'messages_messages.dart' as messages_messages;
25+
import 'messages_pl.dart' as messages_pl;
2426
import 'messages_pt.dart' as messages_pt;
2527
import 'messages_sk.dart' as messages_sk;
2628

2729
typedef Future<dynamic> LibraryLoader();
2830
Map<String, LibraryLoader> _deferredLibraries = {
31+
'de': () => new Future.value(null),
2932
'en': () => new Future.value(null),
3033
'es': () => new Future.value(null),
3134
'fr': () => new Future.value(null),
@@ -34,10 +37,13 @@ Map<String, LibraryLoader> _deferredLibraries = {
3437
'messages': () => new Future.value(null),
3538
'pt': () => new Future.value(null),
3639
'sk': () => new Future.value(null),
40+
'pl': () => new Future.value(null),
3741
};
3842

3943
MessageLookupByLibrary? _findExact(String localeName) {
4044
switch (localeName) {
45+
case 'de':
46+
return messages_de.messages;
4147
case 'en':
4248
return messages_en.messages;
4349
case 'es':
@@ -54,6 +60,8 @@ MessageLookupByLibrary? _findExact(String localeName) {
5460
return messages_pt.messages;
5561
case 'sk':
5662
return messages_sk.messages;
63+
case 'pl':
64+
return messages_pl.messages;
5765
default:
5866
return null;
5967
}

0 commit comments

Comments
 (0)