Notification clear all button text fixed
This commit is contained in:
parent
43e3a0a08a
commit
2c47ccb302
@ -6,6 +6,7 @@ use Date;
|
|||||||
use App\Abstracts\Http\Controller;
|
use App\Abstracts\Http\Controller;
|
||||||
use App\Traits\Modules as RemoteModules;
|
use App\Traits\Modules as RemoteModules;
|
||||||
use App\Http\Requests\Common\Notification as Request;
|
use App\Http\Requests\Common\Notification as Request;
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
class Notifications extends Controller
|
class Notifications extends Controller
|
||||||
{
|
{
|
||||||
@ -46,7 +47,7 @@ class Notifications extends Controller
|
|||||||
|
|
||||||
setting()->save();
|
setting()->save();
|
||||||
|
|
||||||
$message = trans('messages.success.duplicated', ['type' => trans_choice('general.notificatinos', 1)]);
|
$message = trans('messages.success.clear_all', ['type' => Str::lower(trans_choice('general.notifications', 2))]);
|
||||||
|
|
||||||
flash($message)->success();
|
flash($message)->success();
|
||||||
|
|
||||||
|
@ -13,6 +13,8 @@ return [
|
|||||||
'export_queued' => ':type export of the current page has been scheduled! You will receive an email when it is ready to download.',
|
'export_queued' => ':type export of the current page has been scheduled! You will receive an email when it is ready to download.',
|
||||||
'enabled' => ':type enabled!',
|
'enabled' => ':type enabled!',
|
||||||
'disabled' => ':type disabled!',
|
'disabled' => ':type disabled!',
|
||||||
|
|
||||||
|
'clear_all' => 'Great! You\'ve cleared all of your :type.',
|
||||||
],
|
],
|
||||||
|
|
||||||
'error' => [
|
'error' => [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user