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

@@ -64,9 +64,9 @@ class SubtaskModel extends Base
public function getStatusList()
{
return array(
self::STATUS_TODO => t('Todo'),
self::STATUS_INPROGRESS => t('In progress'),
self::STATUS_DONE => t('Done'),
self::STATUS_TODO => 'Todo',
self::STATUS_INPROGRESS => 'In progress',
self::STATUS_DONE => 'Done',
);
}