Merge pull request #880 from mlorb/ml-sci-1316

Change text for avatar size on my profile page [SCI-1316]
This commit is contained in:
mlorb 2017-11-16 10:43:23 +01:00 committed by GitHub
commit 6c80c338e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -163,7 +163,7 @@ function filesSizeValidator(ev, fileInputs, fileTypeEnum) {
case FileTypeEnum.FILE:
return "<%= I18n.t('general.file.total_size', size: Constants::FILE_MAX_SIZE_MB) %>".strToErrorFormat();
case FileTypeEnum.AVATAR:
return "<%= I18n.t('general.file.total_size', size: Constants::AVATAR_MAX_SIZE_MB) %>".strToErrorFormat();
return "<%= I18n.t('users.registrations.edit.avatar_total_size', size: Constants::AVATAR_MAX_SIZE_MB) %>".strToErrorFormat();
}
}
}

View file

@ -1251,6 +1251,7 @@ en:
avatar_title: "Change avatar"
avatar_edit_label: "Upload new avatar file"
avatar_submit: "Upload"
avatar_total_size: "Your avatar file cannot be larger than 0.2 MB. (Please try again with a smaller file.)"
name_label: "Full name"
name_title: "Change name"
initials_label: "Initials"