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
+70 -14
View File
@@ -615,12 +615,12 @@
"title": "Hero",
"live": "Live",
"notLive": "Not live",
"intro": "The hero is the first thing visitors of the website see. Here you manage the texts, the buttons and the images; the website decides how they are shown. A change is visible within about a minute.",
"intro": "The hero is the first thing visitors of the website see: a large heading with one or more photos. Here you manage the texts, the buttons and the photos. A change is visible within about a minute.",
"savedToast": "Hero saved",
"fields": {
"title": "Title",
"titleHint": "A new line in this field is a line break in the title (at most 5 lines).",
"tagline": "Tagline (short label, optional)",
"tagline": "Short text above the title (optional)",
"lead": "Introduction (optional)",
"display": "Display"
},
@@ -630,7 +630,7 @@
},
"buttons": {
"title": "Buttons",
"hint": "At most two buttons. The target is an #anchor on the page, a /path on the site or an https:// address.",
"hint": "At most two buttons. As the target, choose a part of the page (for example #contact), a page of the site (for example /privacy) or a full web address (https://…).",
"label": "Button {{n}}: text",
"target": "Button {{n}}: target"
},
@@ -639,16 +639,16 @@
"active": "Hero is switched on",
"starts": "Visible from",
"ends": "Visible until",
"hint": "Outside the schedule, or switched off, the website shows its own default hero."
"hint": "Outside this period, or when the hero is switched off, the website keeps its standard hero."
},
"slides": {
"title": "Images",
"add": "Add image",
"uploading": "Uploading…",
"hint": "Upload a photo (JPEG, PNG, WebP and other common formats, at most 10 MB). Set where the subject is with the Focus button. The first image is the first one visitors see.",
"hint": "Choose several files at once or drag them into this box. New photos are added at the bottom of the list. Drag a photo by its handle, or use the arrows, to change the order; visitors see the first photo first. With the Focus button you show where the subject is.",
"empty": "No images yet.",
"alt": "Description of image {{n}} (alt text)",
"decorative": "Decorative (no description)",
"alt": "Description of image {{n}}",
"decorative": "Decoration only (no description needed)",
"active": "Show",
"up": "Move up",
"down": "Move down",
@@ -658,12 +658,17 @@
"focusPending": "Focus changed, not saved yet.",
"processing": "Processing…",
"processingHint": "The image is being prepared in the background; it appears on the website as soon as it is ready.",
"failed": "Failed"
"failed": "Failed",
"limits": "Allowed: {{formats}}. At most {{size}} MB per file and {{megapixels}} megapixels.",
"altHint": "Describes the photo for people who cannot see it and for search engines.",
"decorativeHint": "Choose this when the photo adds nothing to the content; a screen reader then skips it.",
"drag": "Move image {{n}}",
"dragInstructions": "Press space to pick up the image, use the arrow keys to move it and press space again to drop it. Escape cancels."
},
"processing": {
"count": "{{done}} of {{total}} photos processed",
"label": "Progress of processing the photos",
"explain": "The hero has been saved. The photos are prepared one by one in the background and go live as soon as they are ready. Until the first photo is ready the website keeps showing the baked hero. You do not have to keep this page open.",
"explain": "The hero has been saved. The photos are prepared one by one and go live as soon as they are ready. Until the first photo is ready the website keeps its standard hero. You do not have to keep this page open.",
"failed_one": "Processing {{count}} photo failed.",
"failed_other": "Processing {{count}} photos failed.",
"failedHint": "The server tried three times. Try again, or upload the photo once more (the same photo is the same image).",
@@ -671,7 +676,7 @@
},
"focus": {
"title": "Focus and crop",
"intro": "Click or drag on the photo to show where the subject is. The website crops the photo for landscape (wide) and portrait (tall) screens so that the subject stays in view.",
"intro": "Click or drag on the photo to show where the subject is. The website crops the photo for landscape and portrait screens so that the subject stays in view.",
"targetLegend": "For which display",
"target": {
"general": "General",
@@ -695,20 +700,71 @@
"titleRequired": "A title is required.",
"titleTooLong": "The title can have at most 200 characters.",
"titleTooManyLines": "The title can have at most 5 lines.",
"taglineTooLong": "The tagline can have at most 120 characters.",
"taglineTooLong": "The short text above the title can have at most 120 characters.",
"leadTooLong": "The introduction can have at most 600 characters.",
"buttonLabelTooLong": "The button text can have at most 50 characters.",
"buttonTargetTooLong": "The target can have at most 500 characters.",
"buttonIncomplete": "Fill in both the text and the target of the button, or leave both empty.",
"buttonTargetInvalid": "Choose an #anchor, a /path or an https:// address.",
"buttonTargetInvalid": "Choose a part of the page (for example #contact), a page of the site (for example /privacy) or a full web address (https://…).",
"altTooLong": "The description can have at most 300 characters.",
"altRequired": "Give a description or mark the image as decorative.",
"altRequired": "Give a description or choose ‘Decoration only’.",
"endAfterStart": "The end must be after the start."
},
"upload": {
"tooLarge": "The image is too large (at most {{max}} MB).",
"interrupted": "The upload was interrupted. Check the connection and try again.",
"busy": "Too many uploads in a row. Try again in a few minutes."
"busy": "Too many uploads in a row. Try again in a few minutes.",
"notAnImage": "This file is not an image.",
"progress": "Uploading: {{done}} of {{total}}",
"summary": "{{ok}} of {{total}} photos added",
"waiting": "waiting",
"uploading": "uploading…",
"done": "added",
"close": "Close"
},
"help": {
"heading": "Explanation of each part",
"save": "Changes only take effect after you save the hero.",
"title": {
"name": "Title",
"text": "The large heading. A new line in the field is a new line in the heading."
},
"tagline": {
"name": "Short text above the title",
"text": "A short label above or before the title. Can stay empty."
},
"lead": {
"name": "Introduction",
"text": "One or two sentences below the title. Can stay empty."
},
"buttons": {
"name": "Buttons",
"text": "At most two, each with a text and a target. As the target, choose a part of the page (for example #contact), a page of the site (for example /privacy) or a full web address (https://…)."
},
"display": {
"name": "Display",
"text": "‘Single’ shows one photo, ‘Slideshow’ switches between the photos."
},
"slides": {
"name": "Images",
"text": "Upload photos, describe what is in them and set the order (drag or use the arrows). ‘Show’ switches a photo on or off. Choose ‘Decoration only’ for a photo that adds nothing to the content."
},
"focus": {
"name": "Focus",
"text": "Show where the subject is in the photo, so a crop never cuts it off. For portrait screens, such as a phone, you can choose a separate point."
},
"schedule": {
"name": "Schedule",
"text": "The hero is only visible in the period from–until. Outside that period the website keeps its standard hero."
}
},
"unsaved": {
"badge": "Unsaved changes",
"text": "Save the hero to put them on the website.",
"leaveTitle": "Changes not saved",
"leaveText": "You have made changes that are not saved yet. If you leave this page they will be lost.",
"stay": "Stay",
"discard": "Discard changes"
}
}
}