Address delete confirmation box is now tied up with the dynamic translation package
This commit is contained in:
parent
60babb693d
commit
79a6d3634e
|
|
@ -175,7 +175,8 @@ return [
|
|||
'delete' => 'Delete',
|
||||
'make-default' => 'Make Default',
|
||||
'default' => 'Default',
|
||||
'contact' => 'Contact'
|
||||
'contact' => 'Contact',
|
||||
'confirm-delete' => 'Do you really want to delete this address?'
|
||||
],
|
||||
|
||||
'create' => [
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
</span>
|
||||
|
||||
<span>
|
||||
<a href="{{ route('address.delete', $address->id) }}" onclick="deleteAddress('Do you really want to do this?')">
|
||||
<a href="{{ route('address.delete', $address->id) }}" onclick="deleteAddress('{{ __('shop::app.customer.account.address.index.confirm-delete') }}')">
|
||||
{{ __('shop::app.customer.account.address.index.delete') }}
|
||||
</a>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue