Initial commit: Pireon Admin — headless admin panel and public API
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>
This commit is contained in:
31
lang/en/rules.php
Normal file
31
lang/en/rules.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'translatable' => [
|
||||
'type' => 'The :attribute field must be a string or a translations object (locale => text).',
|
||||
'unsupported_locale' => 'The locale ":locale" is not supported for :attribute. Available locales: :supported.',
|
||||
'max' => 'The ":locale" translation of :attribute may not be longer than :max characters.',
|
||||
'default_required' => 'The :attribute is missing a translation for the primary locale (":locale").',
|
||||
],
|
||||
|
||||
'slug' => [
|
||||
'unique' => 'The slug ":slug" is already in use for the ":locale" locale.',
|
||||
],
|
||||
|
||||
'applications' => [
|
||||
'attributes' => [
|
||||
'name' => 'name',
|
||||
'email' => 'e-mail',
|
||||
'message' => 'message',
|
||||
'organisation' => 'organisation',
|
||||
'hours_per_week' => 'hours per week',
|
||||
'consent' => 'consent',
|
||||
],
|
||||
],
|
||||
|
||||
'pages' => [
|
||||
'cannot_publish' => 'You do not have permission to publish pages.',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user