Laravel 13 + Filament 5 admin panel and REST API for a non-profit developer collective, backed by the Pireon OAuth identity server. The public site is a separate, server-rendered application consuming /api/public/v1. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
35 lines
1.4 KiB
PHP
35 lines
1.4 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'title' => 'Maintenance mode',
|
|
'subheading' => 'Affects the public site only. The panel and the admin API keep working.',
|
|
'badge' => 'Site down',
|
|
|
|
'status_up' => 'The public site is up.',
|
|
'status_down' => 'The public site is in maintenance.',
|
|
'since' => 'Since :time',
|
|
'lifts_at' => 'lifts at :time',
|
|
'panel_unaffected' => 'You can keep editing: the panel is unaffected.',
|
|
|
|
'notice' => 'Notice for visitors',
|
|
'notice_hint' => 'Returned by the public API in the 503 so the frontend can render it. Left empty, the default text is used.',
|
|
'default_message' => 'We are making changes to the site. Back shortly.',
|
|
|
|
'until' => 'Lifts automatically',
|
|
'until_hint' => 'Optional. Stops a forgotten maintenance from leaving the site down indefinitely.',
|
|
|
|
'enable' => 'Enable maintenance',
|
|
'enable_confirm' => 'Visitors will stop seeing the site and get the notice instead. The panel stays available.',
|
|
'disable' => 'Lift maintenance',
|
|
'save_message' => 'Save notice',
|
|
|
|
'enabled_notice' => 'The public site is now in maintenance',
|
|
'disabled_notice' => 'The public site is up again',
|
|
'message_saved' => 'Notice saved',
|
|
|
|
'bypass_hint' => 'The team can still see the real site using the preview token or from a trusted IP (SITE_TRUSTED_IPS).',
|
|
'no_permission' => 'You do not have permission to enable or lift maintenance.',
|
|
];
|