Switch an entry status straight from the table
The list showed the status but only the editor could change it. Each row now carries the next sensible step and names the blockers when publishing is not possible. Also real umlauts in the API texts.
This commit is contained in:
@@ -30,7 +30,7 @@ const details: Record<ApiEntryError, string> = {
|
||||
blocks_invalid: 'Mindestens ein Block hat einen unbekannten Typ oder fehlende Felder.',
|
||||
too_many_blocks: 'Zu viele Bloecke.',
|
||||
not_found: 'Nicht gefunden.',
|
||||
already_published: 'Der Beitrag ist bereits veroeffentlicht und laesst sich so nicht mehr aendern.',
|
||||
already_published: 'Der Beitrag ist bereits veröffentlicht und lässt sich so nicht mehr ändern.',
|
||||
}
|
||||
|
||||
export function entryProblem(error: ApiEntryError): Response {
|
||||
|
||||
Reference in New Issue
Block a user