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
@@ -43,19 +43,19 @@ class Service implements InjectionAwareInterface
return array(
'active' => array(
'path' => '/client?status=active',
'label' => 'Active clients',
'label' => __trans('Active clients'),
),
'suspended' => array(
'path' => '/client?status=suspended',
'label' => 'Suspended clients',
'label' => __trans('Suspended clients'),
),
'canceled' => array(
'path' => '/client?status=canceled',
'label' => 'Canceled clients',
'label' => __trans('Canceled clients'),
),
'all' => array(
'path' => '/client',
'label' => 'All clients',
'label' => __trans('All clients'),
),
);
}