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

@ -31,7 +31,7 @@ class Bills extends BulkAction
],
'cancelled' => [
'icon' => 'cancel',
'name' => 'general.cancel',
'name' => 'documents.actions.cancel',
'message' => 'bulk_actions.message.cancelled',
'permission' => 'update-purchases-bills',
],

View File

@ -31,7 +31,7 @@ class Invoices extends BulkAction
],
'cancelled' => [
'icon' => 'cancel',
'name' => 'general.cancel',
'name' => 'documents.actions.cancel',
'message' => 'bulk_actions.message.cancelled',
'permission' => 'update-sales-invoices',
],