full translate for AddProfile pages 25%
This commit is contained in:
parent
c3b8b0df14
commit
1f8d18343c
@ -31,6 +31,7 @@
|
|||||||
"disabled_user": "User disabled",
|
"disabled_user": "User disabled",
|
||||||
"invalid_token": "Invalid token",
|
"invalid_token": "Invalid token",
|
||||||
"internal_error_server": "Internal error server",
|
"internal_error_server": "Internal error server",
|
||||||
"unknown_error_auth": "Unknown error authentification"
|
"unknown_error_auth": "Unknown error authentification",
|
||||||
|
"required_input": "Required input",
|
||||||
|
"create_profile": "Create profile"
|
||||||
}
|
}
|
@ -31,6 +31,8 @@
|
|||||||
"disabled_user": "Utilisateur désactivé",
|
"disabled_user": "Utilisateur désactivé",
|
||||||
"invalid_token": "Token invalide",
|
"invalid_token": "Token invalide",
|
||||||
"internal_error_server": "Erreur interne de serveur",
|
"internal_error_server": "Erreur interne de serveur",
|
||||||
"unknown_error_auth": "Problème d'authentification inconnu"
|
"unknown_error_auth": "Problème d'authentification inconnu",
|
||||||
|
"required_input": "Champ requis",
|
||||||
|
"create_profile": "Creation profil"
|
||||||
|
|
||||||
}
|
}
|
@ -166,7 +166,9 @@ class _AddProfileState extends State<AddProfile> with ShowAlertDialog {
|
|||||||
|
|
||||||
final _formKey = GlobalKey<FormState>();
|
final _formKey = GlobalKey<FormState>();
|
||||||
String? _validateField(String? value) {
|
String? _validateField(String? value) {
|
||||||
return value!.isEmpty ? 'Champ requis' : null;
|
return value!.isEmpty
|
||||||
|
? AppLocalizations.of(context)?.required_input ?? 'Required input'
|
||||||
|
: null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@ -174,7 +176,8 @@ class _AddProfileState extends State<AddProfile> with ShowAlertDialog {
|
|||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: Colors.white,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text("Create profile"),
|
title: Text(
|
||||||
|
AppLocalizations.of(context)?.create_profile ?? "Create profile"),
|
||||||
backgroundColor: Colors.blue,
|
backgroundColor: Colors.blue,
|
||||||
foregroundColor: Colors.white,
|
foregroundColor: Colors.white,
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user