Change label "username" to "Email" in login form

This commit is contained in:
Rene Cordier
2021-11-11 16:08:45 +07:00
committed by Dat H. Pham
parent 32b8e714a3
commit 3bc27174ca
7 changed files with 16 additions and 16 deletions
@@ -114,8 +114,8 @@ class LoginView extends GetWidget<LoginController> {
..textInputAction(TextInputAction.next)
..keyboardType(TextInputType.emailAddress)
..textDecoration(LoginInputDecorationBuilder()
.setLabelText(AppLocalizations.of(context).username)
.setHintText(AppLocalizations.of(context).username)
.setLabelText(AppLocalizations.of(context).email)
.setHintText(AppLocalizations.of(context).email)
.build()))
.build()));
}
+2 -2
View File
@@ -18,8 +18,8 @@
"placeholders_order": [],
"placeholders": {}
},
"username": "username",
"@username": {
"email": "email",
"@email": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
+2 -2
View File
@@ -18,8 +18,8 @@
"placeholders_order": [],
"placeholders": {}
},
"username": "username",
"@username": {
"email": "email",
"@email": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
+3 -3
View File
@@ -1,5 +1,5 @@
{
"@@last_modified": "2021-10-26T14:38:31.924635",
"@@last_modified": "2021-11-12T11:15:02.318577",
"initializing_data": "Initializing data...",
"@initializing_data": {
"type": "text",
@@ -18,8 +18,8 @@
"placeholders_order": [],
"placeholders": {}
},
"username": "username",
"@username": {
"email": "email",
"@email": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
+2 -2
View File
@@ -18,8 +18,8 @@
"placeholders_order": [],
"placeholders": {}
},
"username": "username",
"@username": {
"email": "email",
"@email": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
+2 -2
View File
@@ -18,8 +18,8 @@
"placeholders_order": [],
"placeholders": {}
},
"username": "username",
"@username": {
"email": "email",
"@email": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
@@ -34,9 +34,9 @@ class AppLocalizations {
name: 'prefix_https');
}
String get username {
return Intl.message('username',
name: 'username');
String get email {
return Intl.message('email',
name: 'email');
}
String get password {