Files
landing-api/lang/ca/rules.php
Josep Piguillem 5b46436641 Review, publish, preview and undo changes through the API
Revisions now call publishing only what publishes: a project's status is
whether the work is active, and a service is published by its flag.

The fake identity server answers by token, so a test can sign in a second
person.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 08:29:48 +02:00

64 lines
2.4 KiB
PHP

<?php
declare(strict_types=1);
return [
'translatable' => [
'type' => 'El camp :attribute ha de ser un text o un objecte de traduccions (idioma => text).',
'unsupported_locale' => 'L\'idioma «:locale» no està suportat a :attribute. Idiomes disponibles: :supported.',
'max' => 'La traducció de :attribute en «:locale» no pot superar els :max caràcters.',
'default_required' => 'Falta la traducció de :attribute en l\'idioma principal («:locale»).',
],
'slug' => [
'unique' => 'El slug «:slug» ja està en ús en l\'idioma «:locale».',
],
'applications' => [
'attributes' => [
'name' => 'nom',
'email' => 'correu',
'message' => 'missatge',
'organisation' => 'entitat',
'hours_per_week' => 'hores per setmana',
'consent' => 'consentiment',
],
],
'pages' => [
'cannot_publish' => 'No tens permís per publicar pàgines.',
],
'revisions' => [
'nothing_to_restore' => 'Aquesta revisió no té canvis per desfer.',
],
'reviews' => [
'not_requestable' => 'Ja està esperant revisió o ja està publicat.',
'not_a_reviewer' => 'Aquesta persona no pot publicar això, així que no ho pot revisar.',
'not_awaiting' => 'No està esperant revisió.',
],
'settings' => [
'read_only' => 'Aquest ajust l\'escriu l\'aplicació i no es pot editar a mà.',
],
'publication' => [
'forbidden' => 'No tens permís per publicar ni despublicar això.',
],
'media' => [
'in_use' => 'La imatge s\'està fent servir: treu-la primer d\'on apareix.',
'not_an_image' => 'El fitxer no és una imatge JPEG, PNG, WebP, GIF, AVIF o SVG.',
'remote' => [
'https_only' => 'La URL de la imatge ha de començar per https://.',
'unresolvable' => 'No s\'ha pogut resoldre el domini de la URL.',
'private' => 'La URL apunta a una adreça privada o reservada: només es descarreguen imatges d\'adreces públiques.',
'unreachable' => 'No s\'ha pogut connectar amb la URL.',
'redirect' => 'La URL redirigeix a una altra adreça. Fes servir l\'adreça final de la imatge.',
'status' => 'La URL ha respost :status en lloc de la imatge.',
'too_large' => 'La imatge supera el màxim de :max KB.',
],
],
];