Skip to content

Commit 6c25757

Browse files
authored
Flutter form builder Italian translation (#695)
1 parent d7d5f07 commit 6c25757

11 files changed

+284
-198
lines changed

lib/l10n/intl_it.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-19T17:53:39.706877",
3+
"@@locale": "it",
4+
"requiredErrorText": "Questo campo non può essere vuoto.",
5+
"@requiredErrorText": {
6+
"description": "Error Text for required field",
7+
"type": "text",
8+
"placeholders": {}
9+
},
10+
"equalErrorText": "Il valore di questo campo deve essere uguale a {value}.",
11+
"@equalErrorText": {
12+
"description": "Error Text for equal validator",
13+
"type": "text",
14+
"placeholders": {
15+
"value": {}
16+
}
17+
},
18+
"minErrorText": "Il valore inserito deve essere maggiore o uguale a {min}.",
19+
"@minErrorText": {
20+
"description": "Error Text for required field",
21+
"type": "text",
22+
"placeholders": {
23+
"min": {}
24+
}
25+
},
26+
"minLengthErrorText": "Il valore inserito deve avere una lunghezza maggiore o uguale a {minLength}",
27+
"@minLengthErrorText": {
28+
"description": "Error Text for required field",
29+
"type": "text",
30+
"placeholders": {
31+
"minLength": {}
32+
}
33+
},
34+
"maxErrorText": "Il valore inserito deve essere minore o uguale a {max}",
35+
"@maxErrorText": {
36+
"description": "Error Text for required field",
37+
"type": "text",
38+
"placeholders": {
39+
"max": {}
40+
}
41+
},
42+
"maxLengthErrorText": "Il valore inserito deve avere una lunghezza minore o uguale a {maxLength}",
43+
"@maxLengthErrorText": {
44+
"description": "Error Text for required field",
45+
"type": "text",
46+
"placeholders": {
47+
"maxLength": {}
48+
}
49+
},
50+
"emailErrorText": "Questo campo richiede un indirizzo email valido.",
51+
"@emailErrorText": {
52+
"description": "Error Text for email field",
53+
"type": "text",
54+
"placeholders": {}
55+
},
56+
"urlErrorText": "Questo campo richiede una URL valida.",
57+
"@urlErrorText": {
58+
"description": "Error Text for URL field",
59+
"type": "text",
60+
"placeholders": {}
61+
},
62+
"matchErrorText": "Il valore non corrisponde al formato richiesto.",
63+
"@matchErrorText": {
64+
"description": "Error Text for pattern field",
65+
"type": "text",
66+
"placeholders": {}
67+
},
68+
"numericErrorText": "Il valore deve essere numerico.",
69+
"@numericErrorText": {
70+
"description": "Error Text for numeric field",
71+
"type": "text",
72+
"placeholders": {}
73+
},
74+
"integerErrorText": "Il valore deve essere un integer.",
75+
"@integerErrorText": {
76+
"description": "Error Text for integer validator",
77+
"type": "text",
78+
"placeholders": {}
79+
},
80+
"creditCardErrorText": "Questo campo richiede un numero di carta di credito valido.",
81+
"@creditCardErrorText": {
82+
"description": "Error Text for credit card field",
83+
"type": "text",
84+
"placeholders": {}
85+
},
86+
"ipErrorText": "Questo campo richiede un indirizzo IP valido.",
87+
"@ipErrorText": {
88+
"description": "Error Text for IP address field",
89+
"type": "text",
90+
"placeholders": {}
91+
},
92+
"dateStringErrorText": "Questo campo richiede una data valida.",
93+
"@dateStringErrorText": {
94+
"description": "Error Text for date string field",
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
@@ -18,6 +18,7 @@ import 'package:intl/src/intl_helpers.dart';
1818
import 'messages_en.dart' as messages_en;
1919
import 'messages_es.dart' as messages_es;
2020
import 'messages_fr.dart' as messages_fr;
21+
import 'messages_it.dart' as messages_it;
2122
import 'messages_ja.dart' as messages_ja;
2223
import 'messages_messages.dart' as messages_messages;
2324
import 'messages_pt.dart' as messages_pt;
@@ -28,6 +29,7 @@ Map<String, LibraryLoader> _deferredLibraries = {
2829
'en': () => new Future.value(null),
2930
'es': () => new Future.value(null),
3031
'fr': () => new Future.value(null),
32+
'it': () => new Future.value(null),
3133
'ja': () => new Future.value(null),
3234
'messages': () => new Future.value(null),
3335
'pt': () => new Future.value(null),
@@ -42,6 +44,8 @@ MessageLookupByLibrary _findExact(String localeName) {
4244
return messages_es.messages;
4345
case 'fr':
4446
return messages_fr.messages;
47+
case 'it':
48+
return messages_it.messages;
4549
case 'ja':
4650
return messages_ja.messages;
4751
case 'messages':
@@ -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_en.dart

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,25 @@ class MessageLookup extends MessageLookupByLibrary {
2121

2222
static m0(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 m1(maxLength) => "Value must have a length less than or equal to ${maxLength}";
2625

2726
static m2(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 m3(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" : m0,
38+
"maxLengthErrorText" : m1,
39+
"minErrorText" : m2,
40+
"minLengthErrorText" : m3,
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: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,25 @@ class MessageLookup extends MessageLookupByLibrary {
2121

2222
static m0(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 m1(maxLength) => "El valor debe tener una longitud menor o igual a ${maxLength}";
2625

2726
static m2(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 m3(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" : m0,
38+
"maxLengthErrorText" : m1,
39+
"minErrorText" : m2,
40+
"minLengthErrorText" : m3,
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: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,25 @@ class MessageLookup extends MessageLookupByLibrary {
2121

2222
static m0(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 m1(maxLength) => "La valeur doit avoir une longueur inférieure ou égale à ${maxLength}";
2625

2726
static m2(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 m3(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" : m0,
38+
"maxLengthErrorText" : m1,
39+
"minErrorText" : m2,
40+
"minLengthErrorText" : m3,
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
}

lib/l10n/messages_it.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 it 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 => 'it';
21+
22+
static m4(value) => "Il valore di questo campo deve essere uguale a ${value}.";
23+
24+
static m0(max) => "Il valore inserito deve essere minore o uguale a ${max}";
25+
26+
static m1(maxLength) => "Il valore inserito deve avere una lunghezza minore o uguale a ${maxLength}";
27+
28+
static m2(min) => "Il valore inserito deve essere maggiore o uguale a ${min}.";
29+
30+
static m3(minLength) => "Il valore inserito deve avere una lunghezza maggiore o uguale a ${minLength}";
31+
32+
final messages = _notInlinedMessages(_notInlinedMessages);
33+
static _notInlinedMessages(_) => <String, Function> {
34+
"creditCardErrorText" : MessageLookupByLibrary.simpleMessage("Questo campo richiede un numero di carta di credito valido."),
35+
"dateStringErrorText" : MessageLookupByLibrary.simpleMessage("Questo campo richiede una data valida."),
36+
"emailErrorText" : MessageLookupByLibrary.simpleMessage("Questo campo richiede un indirizzo email valido."),
37+
"equalErrorText" : m4,
38+
"integerErrorText" : MessageLookupByLibrary.simpleMessage("Il valore deve essere un integer."),
39+
"ipErrorText" : MessageLookupByLibrary.simpleMessage("Questo campo richiede un indirizzo IP valido."),
40+
"matchErrorText" : MessageLookupByLibrary.simpleMessage("Il valore non corrisponde al formato richiesto."),
41+
"maxErrorText" : m0,
42+
"maxLengthErrorText" : m1,
43+
"minErrorText" : m2,
44+
"minLengthErrorText" : m3,
45+
"numericErrorText" : MessageLookupByLibrary.simpleMessage("Il valore deve essere numerico."),
46+
"requiredErrorText" : MessageLookupByLibrary.simpleMessage("Questo campo non può essere vuoto."),
47+
"urlErrorText" : MessageLookupByLibrary.simpleMessage("Questo campo richiede una URL valida.")
48+
};
49+
}

0 commit comments

Comments
 (0)