fix(profile): restore source hints and upload-only avatar

This commit is contained in:
IanShaw027
2026-04-21 18:23:35 +08:00
parent 7309c02f0b
commit 17c6348b57
6 changed files with 185 additions and 43 deletions

View File

@@ -943,11 +943,10 @@ export default {
},
avatar: {
title: 'Profile Avatar',
description: 'Set your avatar with a remote image URL or upload an image. Static uploads are compressed to 20KB before saving.',
inputLabel: 'Avatar URL or data URL',
inputPlaceholder: 'https://cdn.example.com/avatar.png',
description: 'Upload an avatar image. Static uploads are compressed to 20KB before saving.',
uploadAction: 'Upload image',
uploadHint: 'Static uploads are compressed to 20KB when possible. GIF uploads must already be within 20KB.',
uploadRequired: 'Upload an avatar image first',
saveSuccess: 'Avatar updated',
deleteSuccess: 'Avatar removed',
invalidType: 'Please choose an image file',
@@ -955,7 +954,6 @@ export default {
compressTooLarge: 'Unable to compress this image below 20KB. Try a smaller image.',
compressFailed: 'Failed to compress the selected image.',
readFailed: 'Failed to read the selected image.',
invalidValue: 'Enter a valid avatar URL or image data URL',
emptyDeleteHint: 'Avatar is already empty',
},
authBindings: {