Restore the community photo after reload and reject empty, oversized, SVG, and spoofed uploads.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
{
|
||||
"errors": {
|
||||
"generic": "Something went wrong while uploading. Try again.",
|
||||
"tooLarge": "That file is too large. Try a smaller image or PDF.",
|
||||
"tooLarge": "That file is too large. Community photos can be up to 5 MB; attachments up to 10 MB.",
|
||||
"unauthorized": "Sign in to upload files. Use Save progress if you started without an account.",
|
||||
"misconfigured": "Uploads are not available on this server yet."
|
||||
"misconfigured": "Uploads are not available on this server yet.",
|
||||
"empty": "That file is empty. Choose a file that has content.",
|
||||
"svg": "SVG files aren't supported. Export a JPEG, PNG, WebP, or GIF instead.",
|
||||
"invalidType": "That file isn't a supported image (or PDF for attachments). Renaming the extension isn't enough.",
|
||||
"undecodable": "We couldn't read that image. It may be damaged — try another file."
|
||||
},
|
||||
"uploading": "Uploading…"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user