mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 00:34:44 +02:00
Fix server notification body translation key (#1359)
This commit is contained in:
parent
f400e2db76
commit
30ae860d69
@ -851,7 +851,7 @@ class EditServer extends EditRecord
|
|||||||
} catch (Exception) {
|
} catch (Exception) {
|
||||||
Notification::make()
|
Notification::make()
|
||||||
->title(trans('admin/server.notifications.reinstall_failed'))
|
->title(trans('admin/server.notifications.reinstall_failed'))
|
||||||
->body(trans('admin/server.error_connecting', ['node' => $server->node->name]))
|
->body(trans('admin/server.notifications.error_connecting', ['node' => $server->node->name]))
|
||||||
->danger()
|
->danger()
|
||||||
->send();
|
->send();
|
||||||
}
|
}
|
||||||
@ -900,7 +900,7 @@ class EditServer extends EditRecord
|
|||||||
Notification::make()
|
Notification::make()
|
||||||
->warning()
|
->warning()
|
||||||
->title(trans('admin/server.notifications.server_suspension'))
|
->title(trans('admin/server.notifications.server_suspension'))
|
||||||
->body(trans('admin/server.error_connecting', ['node' => $server->node->name]))
|
->body(trans('admin/server.notifications.error_connecting', ['node' => $server->node->name]))
|
||||||
->send();
|
->send();
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
@ -922,7 +922,7 @@ class EditServer extends EditRecord
|
|||||||
Notification::make()
|
Notification::make()
|
||||||
->warning()
|
->warning()
|
||||||
->title(trans('admin/server.notifications.server_suspension'))
|
->title(trans('admin/server.notifications.server_suspension'))
|
||||||
->body(trans('admin/server.error_connecting', ['node' => $server->node->name]))
|
->body(trans('admin/server.notifications.error_connecting', ['node' => $server->node->name]))
|
||||||
->send();
|
->send();
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
@ -987,7 +987,7 @@ class EditServer extends EditRecord
|
|||||||
} catch (Exception) {
|
} catch (Exception) {
|
||||||
Notification::make()
|
Notification::make()
|
||||||
->title(trans('admin/server.notifications.reinstall_failed'))
|
->title(trans('admin/server.notifications.reinstall_failed'))
|
||||||
->body(trans('admin/server.error_connecting', ['node' => $server->node->name]))
|
->body(trans('admin/server.notifications.error_connecting', ['node' => $server->node->name]))
|
||||||
->danger()
|
->danger()
|
||||||
->send();
|
->send();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user