enhancement: Profile settings accessibility improvements (#2054)

* profile settings in to separate form

* update locale texts

* replce woot-submit-button with woot-button

* disable button if value is empty

* change condition

* code climate fixes
This commit is contained in:
Muhsin Keloth
2021-04-07 12:28:50 +05:30
committed by GitHub
parent a377da9028
commit cc3da031e2
2 changed files with 52 additions and 34 deletions

View File

@@ -3,6 +3,8 @@
"LINK": "Profile Settings",
"TITLE": "Profile Settings",
"BTN_TEXT": "Update Profile",
"UPDATE_SUCCESS": "Your profile has been updated successfully",
"PASSWORD_UPDATE_SUCCESS": "Your password has been changed successfully",
"AFTER_EMAIL_CHANGED": "Your profile has been updated successfully, please login again as your login credentials are changed",
"FORM": {
"AVATAR": "Profile Image",
@@ -16,7 +18,8 @@
},
"PASSWORD_SECTION": {
"TITLE": "Password",
"NOTE": "Updating your password would reset your logins in multiple devices."
"NOTE": "Updating your password would reset your logins in multiple devices.",
"BTN_TEXT": "Change password"
},
"ACCESS_TOKEN": {
"TITLE": "Access Token",
@@ -64,11 +67,7 @@
},
"AVAILABILITY": {
"LABEL": "Availability",
"STATUSES_LIST": [
"Online",
"Busy",
"Offline"
]
"STATUSES_LIST": ["Online", "Busy", "Offline"]
},
"EMAIL": {
"LABEL": "Your email address",
@@ -147,6 +146,5 @@
},
"SUBMIT": "Submit"
}
}
}