From e16f0d606c30ac835cd698cc8c4feac61d82fbc1 Mon Sep 17 00:00:00 2001 From: Sharon Cohen Date: Wed, 8 Mar 2017 17:14:18 +0200 Subject: [PATCH] Added translation function --- .../therapy_groups_controller.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/interface/therapy_groups/therapy_groups_controllers/therapy_groups_controller.php b/interface/therapy_groups/therapy_groups_controllers/therapy_groups_controller.php index 569034963..e5d486d5a 100644 --- a/interface/therapy_groups/therapy_groups_controllers/therapy_groups_controller.php +++ b/interface/therapy_groups/therapy_groups_controllers/therapy_groups_controller.php @@ -48,8 +48,8 @@ class TherapyGroupsController extends BaseController{ public static function prepareParticipantStatusesList() { $participant_statuses = array( - '10' => 'active', - '20' => 'not active' + '10' => xl('active'), + '20' => xl('not active') ); return $participant_statuses; } @@ -58,9 +58,9 @@ class TherapyGroupsController extends BaseController{ public static function prepareGroupTypesList() { $group_types = array( - '1' => 'closed', - '2' => 'open', - '3' => 'training' + '1' => xl('closed'), + '2' => xl('open'), + '3' => xl('training') ); return $group_types; } @@ -69,8 +69,8 @@ class TherapyGroupsController extends BaseController{ public static function prepareGroupParticipationList() { $group_participation = array( - '1' => 'mandatory', - '2' => 'optional' + '1' => xl('mandatory'), + '2' => xl('optional') ); return $group_participation; } -- 2.11.4.GIT