feat: add delete avatar functionality with confirmation modal (#24127)

Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
Guangdong Liu
2025-08-18 21:35:20 +08:00
committed by GitHub
parent c0702aacac
commit a3a041ef6f
3 changed files with 55 additions and 4 deletions

View File

@@ -709,6 +709,10 @@ const translation = {
pagination: {
perPage: 'Items per page',
},
avatar: {
deleteTitle: 'Remove Avatar',
deleteDescription: 'Are you sure you want to remove your profile picture? Your account will use the default initial avatar.',
},
imageInput: {
dropImageHere: 'Drop your image here, or',
browse: 'browse',

View File

@@ -709,6 +709,10 @@ const translation = {
pagination: {
perPage: '每页显示',
},
avatar: {
deleteTitle: '删除头像',
deleteDescription: '确定要删除你的个人头像吗?你的账号将使用默认的首字母头像。',
},
imageInput: {
dropImageHere: '将图片拖放到此处,或',
browse: '浏览',