Translate subtask status on demand

Fixes #4476
This commit is contained in:
Jack Williams
2022-07-12 13:45:06 +10:00
committed by GitHub
parent 6308ac41cd
commit c53bee4a08
5 changed files with 8 additions and 8 deletions

View File

@@ -24,8 +24,8 @@ class SubtaskRestrictionController extends BaseController
$this->response->html($this->template->render('subtask_restriction/show', array(
'status_list' => array(
SubtaskModel::STATUS_TODO => t('Todo'),
SubtaskModel::STATUS_DONE => t('Done'),
SubtaskModel::STATUS_TODO => 'Todo',
SubtaskModel::STATUS_DONE => 'Done',
),
'subtask_inprogress' => $this->subtaskStatusModel->getSubtaskInProgress($this->userSession->getId()),
'subtask' => $subtask,