Make module's settings labels translatable

This commit is contained in:
Belle Aerni committed 2023-01-26 15:40:03 -08:00
1 parent df5610ea57
commit dcdf1ea83c
8 files changed
+36 -35

No files matched your search

+4 -4
View File
@@ -47,19 +47,19 @@ class Service implements InjectionAwareInterface
return array(
'unpaid' => array(
'path' => '/invoice?status=unpaid',
'label' => 'Unpaid invoices',
'label' => __trans('Unpaid invoices'),
),
'paid' => array(
'path' => '/invoice?status=paid',
'label' => 'Paid invoices',
'label' => __trans('Paid invoices'),
),
'refunded' => array(
'path' => '/invoice?status=refunded',
'label' => 'Refunded invoices',
'label' => __trans('Refunded invoices'),
),
'all' => array(
'path' => '/invoice',
'label' => 'All invoices',
'label' => __trans('All invoices'),
),
);
}