A dashboard widget lists what expires in the next two weeks, and a daily command reminds whoever edits it a week and a day ahead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'prune' => [
|
|
'dry_run' => 'Dry run: nothing is deleted.',
|
|
'revisions' => 'Old history entries',
|
|
'trash' => 'Records erased for good',
|
|
'media' => 'Images nothing points at',
|
|
'missing_urls' => 'One-off 404s nobody asked for again',
|
|
'views' => 'Old reading figures',
|
|
],
|
|
|
|
'types' => [
|
|
'no_spec' => 'No specification published at public/openapi.yaml.',
|
|
'current' => 'The types are up to date.',
|
|
'stale' => 'The types no longer match the specification. Run: php artisan api:types',
|
|
'written' => ':count schemas written to :path',
|
|
],
|
|
|
|
'schedule' => [
|
|
'closed' => 'closed (its date passed)',
|
|
'pending' => 'Waiting for their publication date',
|
|
'off_site' => 'Off the site because they expired',
|
|
'summary' => '{0}No calls needed closing.|{1}Closed 1 expired call.|[2,*]Closed :count expired calls.',
|
|
],
|
|
|
|
'expiring' => [
|
|
'none' => 'Nothing expires on the reminder days.',
|
|
'summary' => '{0} Nobody to tell.|{1} Told one person.|[2,*] Told :count people.',
|
|
],
|
|
];
|