From 190e18712fe023db681829ab563c07cd7aaa50e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Tue, 22 Nov 2022 17:40:44 +0300 Subject: [PATCH] version notification message issue.. --- app/Listeners/Menu/ShowInNotifications.php | 2 +- resources/lang/en-GB/install.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Listeners/Menu/ShowInNotifications.php b/app/Listeners/Menu/ShowInNotifications.php index 1c6f5103d..2b9942c81 100644 --- a/app/Listeners/Menu/ShowInNotifications.php +++ b/app/Listeners/Menu/ShowInNotifications.php @@ -46,7 +46,7 @@ class ShowInNotifications $new->notifiable_id = user()->id; $new->data = [ 'title' => $name . ' (v' . $update . ')', - 'description' => '' . trans('install.update.' . $prefix, ['module' => $name]) . '', + 'description' => trans('install.update.' . $prefix, ['module' => $name, 'url' => route('updates.index')]), ]; $new->created_at = \Carbon\Carbon::now(); diff --git a/resources/lang/en-GB/install.php b/resources/lang/en-GB/install.php index af6686441..2591347de 100644 --- a/resources/lang/en-GB/install.php +++ b/resources/lang/en-GB/install.php @@ -45,7 +45,7 @@ return [ ], 'update' => [ - 'core' => 'Akaunting new version is available! Please, update your installation.', - 'module' => ':module new version is available! Please, update your installation.', + 'core' => 'Akaunting new version is available! Please, update your installation.', + 'module' => ':module new version is available! Please, update your installation.', ], ];