H2: Hero-module (tabellen en migratie, beheer-API, publieke GET /hero, afbeeldingsupload met focus, opschoonservice, teksten) en OpenAPI-snapshot
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"hero": {
|
||||
"validation": {
|
||||
"title": {
|
||||
"required": "A title is required.",
|
||||
"tooLong": "The title can have at most {max} characters.",
|
||||
"tooManyLines": "The title can have at most {max} lines."
|
||||
},
|
||||
"tagline": {
|
||||
"tooLong": "The tagline 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'."
|
||||
},
|
||||
"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.",
|
||||
"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."
|
||||
},
|
||||
"focus": {
|
||||
"invalid": "The focus point must be between 0 and 1 and the zoom between 1 and {maxZoom}."
|
||||
}
|
||||
},
|
||||
"image": {
|
||||
"inUse": "This image is still used by a slide.",
|
||||
"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.",
|
||||
"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.",
|
||||
"busy": "Other images are being processed. Try again in a moment.",
|
||||
"unavailable": "Uploading images is not available at the moment."
|
||||
},
|
||||
"storageFull": "There is not enough storage space for this image."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user