mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FEATURE: add notice when successfully changing avatar
This commit is contained in:
parent
5cc0d65f31
commit
2389bee24c
2 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,7 @@ export default RestrictedUserRoute.extend(ShowFooter, {
|
||||||
'gravatar_avatar_upload_id',
|
'gravatar_avatar_upload_id',
|
||||||
'custom_avatar_upload_id'
|
'custom_avatar_upload_id'
|
||||||
));
|
));
|
||||||
|
bootbox.alert(I18n.t("user.change_avatar.cache_notice"));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -418,6 +418,7 @@ en:
|
||||||
upload_title: "Upload your picture"
|
upload_title: "Upload your picture"
|
||||||
upload_picture: "Upload Picture"
|
upload_picture: "Upload Picture"
|
||||||
image_is_not_a_square: "Warning: we've cropped your image; width and height were not equal."
|
image_is_not_a_square: "Warning: we've cropped your image; width and height were not equal."
|
||||||
|
cache_notice: "You've successfully changed your avatar but it might take some time to appear due to browser caching."
|
||||||
|
|
||||||
change_profile_background:
|
change_profile_background:
|
||||||
title: "Profile Background"
|
title: "Profile Background"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue