mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Merge pull request #2157 from aignatov-bio/ai-sci-3927-predefined-avatars
Fix avatar localization [SCI-3927]
This commit is contained in:
commit
ba9edcdbe1
2 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ var avatarsModal = (function() {
|
|||
|
||||
return {
|
||||
init: () => {
|
||||
if ($('.modal-user-avatar').length > 0) {
|
||||
if ($(modal).length > 0) {
|
||||
initUploadPhotoButton();
|
||||
initCropTool();
|
||||
initPredefinedAvatars();
|
||||
|
|
|
@ -1410,8 +1410,8 @@ en:
|
|||
edit:
|
||||
head_title: "My profile"
|
||||
title: "My profile"
|
||||
avatar_label: "Avatar"
|
||||
avatar_btn: "Edit Avatar"
|
||||
avatar_label: "Profile photo"
|
||||
avatar_btn: "Edit photo"
|
||||
avatar_modal:
|
||||
title: 'Change your profile photo'
|
||||
upload_button: 'Upload a photo'
|
||||
|
|
Loading…
Reference in a new issue