use the correct translation for cancellations

* Some languages have different words for cancelling an action vs
  cancelling an invoice.
This commit is contained in:
novag
2023-01-14 10:48:25 +01:00
committed by Hendrik Hagendorn
parent 8a5eeea642
commit fc52a2456c
5 changed files with 8 additions and 4 deletions

View File

@ -10,6 +10,10 @@ return [
'billing' => 'Billing',
'advanced' => 'Advanced',
'actions' => [
'cancel' => 'Cancel',
],
'invoice_detail' => [
'marked' => '<b>You</b> marked this invoice as',
'services' => 'Services',

View File

@ -113,7 +113,7 @@
<x-dropdown.divider />
<x-dropdown.link href="{{ route($cancelledRoute, $document->id) }}" id="show-more-actions-cancel-{{ $document->type }}">
{{ trans('general.cancel') }}
{{ trans('documents.actions.cancel') }}
</x-dropdown.link>
@endcan
@endif