From 50d8676aa490131c8ac54d8ca50f05e20fcba792 Mon Sep 17 00:00:00 2001 From: "Hemant Kr." <38046347+hemant-kr-meena@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:46:03 +0530 Subject: [PATCH] wip we change lang translation separator(-) to underscore(-) to make it similar to all other translations. --- src/Components/Actions/Macros.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Actions/Macros.php b/src/Components/Actions/Macros.php index abd29e15..85b475e6 100644 --- a/src/Components/Actions/Macros.php +++ b/src/Components/Actions/Macros.php @@ -199,14 +199,14 @@ public static function boot(): void $this->dynamicProperties['confirm'] = [ 'component' => 'button', 'attribute' => 'wire:confirm', - 'value' => $message ?? trans('livewire-powergrid::datatable.buttons-macros.confirm.message'), + 'value' => $message ?? trans('livewire-powergrid::datatable.buttons_macros.confirm.message'), ]; return $this; }); Button::macro('confirmPrompt', function (?string $message = null, string $confirmValue = 'Confirm') { - $message = $message ?? trans('livewire-powergrid::datatable.buttons-macros.confirm-prompt.message', ['confirm_value' => $confirmValue]); + $message = $message ?? trans('livewire-powergrid::datatable.buttons_macros.confirm_prompt.message', ['confirm_value' => $confirmValue]); $confirm_value = trim($confirmValue); $this->dynamicProperties['confirmPrompt'] = [ 'component' => 'button',