mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-10 22:53:06 +08:00
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:
commit
6c80c338e4
2 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue