H5: admin-scherm voor de hero (formulier, slides, upload, focus-editor met voorbeeld, TypeScript-tweeling van FocusMath)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 16:07:49 +01:00
co-authored by Claude Sonnet 5.5
parent 4369c905cd
commit 5559d459c3
21 changed files with 1635 additions and 15 deletions
+95 -4
View File
@@ -15,7 +15,8 @@
"profile": "Profile",
"settings": "Settings",
"openMenu": "Open navigation",
"closeMenu": "Close navigation"
"closeMenu": "Close navigation",
"hero": "Hero"
},
"theme": {
"switchToLight": "Switch to light theme",
@@ -273,9 +274,18 @@
"masterControlled": "This instance has been disabled by the Master CMS. Availability cannot be changed here until the Master releases it.",
"masterControlledSaveError": "Cannot be changed: the Master CMS controls this status."
},
"modules": { "title": "Module Management", "comingSoon": "Coming soon" },
"systemConfig": { "title": "System Configuration", "comingSoon": "Coming soon" },
"branding": { "title": "Branding / Theme", "comingSoon": "Coming soon" }
"modules": {
"title": "Module Management",
"comingSoon": "Coming soon"
},
"systemConfig": {
"title": "System Configuration",
"comingSoon": "Coming soon"
},
"branding": {
"title": "Branding / Theme",
"comingSoon": "Coming soon"
}
},
"cms": {
"title": "CMS Instances",
@@ -600,5 +610,86 @@
"none": "There is no recipient address yet: messages are kept but not mailed."
}
}
},
"hero": {
"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.",
"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)",
"lead": "Introduction (optional)",
"display": "Display"
},
"display": {
"single": "Single",
"slideshow": "Slideshow"
},
"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.",
"label": "Button {{n}}: text",
"target": "Button {{n}}: target"
},
"schedule": {
"title": "Schedule",
"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."
},
"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.",
"empty": "No images yet.",
"alt": "Description of image {{n}} (alt text)",
"decorative": "Decorative (no description)",
"active": "Show",
"up": "Move up",
"down": "Move down",
"focus": "Set focus",
"remove": "Remove from the hero",
"ceiling": "Only the first {{max}} images are shown on the website."
},
"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.",
"targetLegend": "For which display",
"target": {
"general": "General",
"wide": "Landscape (3:2)",
"tall": "Portrait (4:5)"
},
"override": "Own setting for this display",
"areaLabel": "Photo: choose the point of the subject",
"areaHint": "The arrow keys move the point (faster with Shift).",
"x": "Horizontal (%)",
"y": "Vertical (%)",
"zoom": "Zoom ({{value}}×)",
"preview": {
"wide": "Landscape preview",
"tall": "Portrait preview"
},
"savedToast": "Focus saved"
},
"errors": {
"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.",
"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.",
"altTooLong": "The description can have at most 300 characters.",
"altRequired": "Give a description or mark the image as decorative.",
"endAfterStart": "The end must be after the start."
}
}
}
+95 -4
View File
@@ -15,7 +15,8 @@
"profile": "Profiel",
"settings": "Instellingen",
"openMenu": "Navigatie openen",
"closeMenu": "Navigatie sluiten"
"closeMenu": "Navigatie sluiten",
"hero": "Hero"
},
"theme": {
"switchToLight": "Overschakelen naar licht thema",
@@ -273,9 +274,18 @@
"masterControlled": "Deze instantie is door de Master-CMS uitgeschakeld. De beschikbaarheid kan hier niet worden gewijzigd totdat de Master de status weer vrijgeeft.",
"masterControlledSaveError": "Kan niet worden gewijzigd: de Master-CMS beheert deze status."
},
"modules": { "title": "Modulebeheer", "comingSoon": "Binnenkort beschikbaar" },
"systemConfig": { "title": "Systeemconfiguratie", "comingSoon": "Binnenkort beschikbaar" },
"branding": { "title": "Huisstijl / Thema", "comingSoon": "Binnenkort beschikbaar" }
"modules": {
"title": "Modulebeheer",
"comingSoon": "Binnenkort beschikbaar"
},
"systemConfig": {
"title": "Systeemconfiguratie",
"comingSoon": "Binnenkort beschikbaar"
},
"branding": {
"title": "Huisstijl / Thema",
"comingSoon": "Binnenkort beschikbaar"
}
},
"cms": {
"title": "CMS-instanties",
@@ -600,5 +610,86 @@
"none": "Er is nog geen ontvangstadres: berichten worden bewaard maar niet gemaild."
}
}
},
"hero": {
"title": "Hero",
"live": "Live",
"notLive": "Niet live",
"intro": "De hero is het eerste wat bezoekers van de website zien. Hier beheer je de teksten, de knoppen en de afbeeldingen; de website bepaalt zelf hoe ze worden getoond. Een wijziging is binnen ongeveer een minuut zichtbaar.",
"savedToast": "Hero opgeslagen",
"fields": {
"title": "Titel",
"titleHint": "Een nieuwe regel in dit veld is een regelafbreking in de titel (maximaal 5 regels).",
"tagline": "Tagline (kort label, optioneel)",
"lead": "Introductietekst (optioneel)",
"display": "Weergave"
},
"display": {
"single": "Enkel",
"slideshow": "Diavoorstelling"
},
"buttons": {
"title": "Knoppen",
"hint": "Maximaal twee knoppen. Het doel is een #anker op de pagina, een /pad op de site of een https://-adres.",
"label": "Knop {{n}}: tekst",
"target": "Knop {{n}}: doel"
},
"schedule": {
"title": "Planning",
"active": "Hero is aangezet",
"starts": "Zichtbaar vanaf",
"ends": "Zichtbaar tot",
"hint": "Buiten de planning, of uitgezet, toont de website zijn eigen standaard-hero."
},
"slides": {
"title": "Afbeeldingen",
"add": "Afbeelding toevoegen",
"uploading": "Bezig met uploaden…",
"hint": "Upload een foto (JPEG, PNG, WebP en andere gangbare formaten, maximaal 10 MB). Zet het onderwerp goed met de knop Focus. De eerste afbeelding is de eerste die bezoekers zien.",
"empty": "Nog geen afbeeldingen.",
"alt": "Beschrijving van afbeelding {{n}} (alt-tekst)",
"decorative": "Decoratief (geen beschrijving)",
"active": "Tonen",
"up": "Omhoog",
"down": "Omlaag",
"focus": "Focus instellen",
"remove": "Verwijderen uit de hero",
"ceiling": "Alleen de eerste {{max}} afbeeldingen worden getoond op de website."
},
"focus": {
"title": "Focus en uitsnede",
"intro": "Klik of sleep op de foto om aan te geven waar het onderwerp staat. De website snijdt de foto voor liggende (wide) en staande (tall) schermen zo uit dat het onderwerp in beeld blijft.",
"targetLegend": "Voor welke weergave",
"target": {
"general": "Algemeen",
"wide": "Liggend (3:2)",
"tall": "Staand (4:5)"
},
"override": "Eigen instelling voor deze weergave",
"areaLabel": "Foto: kies het punt van het onderwerp",
"areaHint": "Pijltjestoetsen verplaatsen het punt (met Shift sneller).",
"x": "Horizontaal (%)",
"y": "Verticaal (%)",
"zoom": "Inzoomen ({{value}}×)",
"preview": {
"wide": "Voorbeeld liggend",
"tall": "Voorbeeld staand"
},
"savedToast": "Focus opgeslagen"
},
"errors": {
"titleRequired": "Een titel is verplicht.",
"titleTooLong": "De titel mag maximaal 200 tekens bevatten.",
"titleTooManyLines": "De titel mag maximaal 5 regels hebben.",
"taglineTooLong": "De tagline mag maximaal 120 tekens bevatten.",
"leadTooLong": "De introductietekst mag maximaal 600 tekens bevatten.",
"buttonLabelTooLong": "De knoptekst mag maximaal 50 tekens bevatten.",
"buttonTargetTooLong": "Het doel mag maximaal 500 tekens bevatten.",
"buttonIncomplete": "Vul zowel de tekst als het doel van de knop in, of laat beide leeg.",
"buttonTargetInvalid": "Kies een #anker, een /pad of een https://-adres.",
"altTooLong": "De beschrijving mag maximaal 300 tekens bevatten.",
"altRequired": "Geef een beschrijving of markeer de afbeelding als decoratief.",
"endAfterStart": "Het einde moet na het begin liggen."
}
}
}