<?php
declare(strict_types=1);

use App\Core\Registries\PermissionRegistry;
use App\Core\Registries\MenuRegistry;

PermissionRegistry::register('alerts', [
    'alert.view'   => ['ar' => 'عرض التنبيهات',   'en' => 'View Alerts'],
    'alert.manage' => ['ar' => 'إدارة التنبيهات', 'en' => 'Manage Alerts'],
]);

MenuRegistry::register('alerts', [
    'label_ar'   => 'التنبيهات',
    'icon'       => 'bell',
    'route'      => '/alerts',
    'permission' => 'alert.view',
    'order'      => 950,
    'parent'     => 'settings',
]);
