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
@@ -35,19 +35,19 @@ class Service implements \Box\InjectionAwareInterface
return array(
'open' => array(
'path' => '/support?status=open',
'label' => 'Tickets waiting for staff reply',
'label' => __trans('Tickets waiting for staff reply'),
),
'on_hold' => array(
'path' => '/support?status=on_hold',
'label' => 'Tickets waiting for client reply',
'label' => __trans('Tickets waiting for client reply'),
),
'closed' => array(
'path' => '/support?status=closed',
'label' => 'Resolved tickets',
'label' => __trans('Resolved tickets'),
),
'all' => array(
'path' => '/support',
'label' => 'All tickets',
'label' => __trans('All tickets'),
),
);
}