diff --git a/app/javascript/src/config/locales/messages.js b/app/javascript/src/config/locales/messages.js index cc46e69f2..26328ca30 100644 --- a/app/javascript/src/config/locales/messages.js +++ b/app/javascript/src/config/locales/messages.js @@ -5,7 +5,8 @@ export default { cancel: "Cancel", update: "Update", edit: "Edit", - loading: "Loading ..." + loading: "Loading ...", + upload: "Upload" }, error_messages: { text_too_short: "is too short (minimum is {min_length} characters)", @@ -71,12 +72,14 @@ export default { team: "Team", avatar: "Avatar", edit_avatar: "Edit Avatar", + upload_new_avatar: "Upload new avatar file", change: "Change", change_password: "Password", new_password: "New password", password_confirmation: - "Current password (we need your current password to confirm your changes)", + "Current password (we need your current password to confirm your changes)", new_password_confirmation: "New password confirmation", + email: "Email", new_email: "New email", initials: "Initials", full_name: "Full name", diff --git a/app/javascript/src/scenes/SettingsPage/scenes/profile/components/AvatarInputField.jsx b/app/javascript/src/scenes/SettingsPage/scenes/profile/components/AvatarInputField.jsx index 3fa0396df..b7c12ae9e 100644 --- a/app/javascript/src/scenes/SettingsPage/scenes/profile/components/AvatarInputField.jsx +++ b/app/javascript/src/scenes/SettingsPage/scenes/profile/components/AvatarInputField.jsx @@ -72,7 +72,7 @@ class AvatarInputField extends Component { -

- -

+ - - - +   - {this.props.labelValue} + {this.props.labelValue !== "none" && ( + + + + )} {this.inputField()} {this.confirmationField()} {this.state.errorMessage}