feat: translations
This commit is contained in:
@@ -42,8 +42,8 @@ class TestNotification extends Notification
|
||||
public function toExpoPush($notifiable)
|
||||
{
|
||||
return [
|
||||
'title' => 'Test',
|
||||
'body' => 'Notification test depuis Laravel API',
|
||||
'title' => __('api.notifications.test_title'),
|
||||
'body' => __('api.notifications.test_body'),
|
||||
'data' => ['test' => true],
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user