Hero-admin: meerdere foto's tegelijk, slepen, niet-opgeslagen waarschuwing, begrijpelijke teksten, rustige wachtanimatie

- Meerdere bestanden kiezen of slepen (2 tegelijk, per bestand voortgang en reden bij falen, volgorde van kiezen), uploadlimiet standaard 100 per uur
- Volgorde ook met slepen (greepje, toetsenbord), pijltjes blijven
- Waarschuwing bij niet-opgeslagen wijzigingen (badge, beforeunload, bevestiging bij navigeren, vergelijking met laatst opgeslagen stand)
- Teksten zonder vakjargon, uitleg per onderdeel, formaten en limieten van de host (GET /hero/images/limits)
- Shimmer (CSS, reduced-motion) op foto's die nog verwerkt worden

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 21:56:10 +01:00
co-authored by Claude Sonnet 5.5
parent 49302c3228
commit 9d647bb049
20 changed files with 900 additions and 98 deletions
+11 -11
View File
@@ -7,41 +7,41 @@
"tooManyLines": "The title can have at most {max} lines."
},
"tagline": {
"tooLong": "The tagline can have at most {max} characters."
"tooLong": "The short text above the title can have at most {max} characters."
},
"lead": {
"tooLong": "The introduction can have at most {max} characters."
},
"display": {
"invalid": "The display must be 'single' or 'slideshow'."
"invalid": "Choose ‘Single’ or ‘Slideshow’."
},
"button": {
"incomplete": "A button needs both a label and a target.",
"labelTooLong": "The button label can have at most {max} characters.",
"targetTooLong": "The button target can have at most {max} characters.",
"targetInvalid": "Choose an #anchor, a /path or an https:// address.",
"targetInvalid": "Choose a part of the page (for example #contact), a page of the site (for example /privacy) or a full web address (https://…).",
"tooMany": "At most {max} buttons are possible."
},
"schedule": {
"endAfterStart": "The end must be after the start."
},
"slide": {
"imageRequired": "Every slide needs an image.",
"imageUnknown": "An image of a slide does not exist (any more).",
"altRequired": "Give a description (alt text) or mark the image as decorative.",
"altTooLong": "The alt text can have at most {max} characters.",
"idUnknown": "A slide does not belong to this hero."
"imageRequired": "Every image in the list needs a photo.",
"imageUnknown": "An image in the list does not exist (any more).",
"altRequired": "Give a description or choose ‘Decoration only’.",
"altTooLong": "The description can have at most {max} characters.",
"idUnknown": "An image in the list does not belong to this hero."
},
"focus": {
"invalid": "The focus point must be between 0 and 1 and the zoom between 1 and {maxZoom}."
"invalid": "The point of the subject must be inside the photo and the zoom between 1 and {maxZoom}."
}
},
"image": {
"inUse": "This image is still used by a slide.",
"inUse": "This image is still used in the hero.",
"notFound": "This image does not exist.",
"rejected": {
"tooLarge": "The image is too large (at most {max} MB).",
"unsupportedFormat": "This file type is not supported. Choose a JPEG, PNG, WebP or another common image file.",
"unsupportedFormat": "This file type is not supported. The types that work are listed above the upload button.",
"corrupt": "The image could not be read or is damaged.",
"tooManyPixels": "The image has too many pixels. Choose a smaller image.",
"timeout": "Processing the image took too long. Try a smaller image.",