diff --git a/tmgmt.module b/tmgmt.module index 0c61d11..327813e 100644 --- a/tmgmt.module +++ b/tmgmt.module @@ -926,7 +926,7 @@ function tmgmt_color_legend() { $output[] = [ '#attached' => array('library' => ['tmgmt/admin.seven', 'tmgmt/admin']), '#theme' => 'tmgmt_legend', - '#title' => 'Source status:', + '#title' => t('Source status:'), '#items' => $items, ]; @@ -944,7 +944,7 @@ function tmgmt_color_legend() { $output[] = [ '#attached' => array('library' => ['tmgmt/admin.seven', 'tmgmt/admin']), '#theme' => 'tmgmt_legend', - '#title' => 'Item status:', + '#title' => t('Item status:'), '#items' => $items, '#prefix' => '
', ]; @@ -984,7 +984,7 @@ function tmgmt_color_job_item_legend() { $output = [ '#attached' => array('library' => ['tmgmt/admin.seven', 'tmgmt/admin']), '#theme' => 'tmgmt_legend', - '#title' => 'State:', + '#title' => t('State:'), '#items' => $items, '#prefix' => '
', '#suffix' => '
', @@ -1037,7 +1037,7 @@ function tmgmt_color_job_legend() { $output = [ '#attached' => array('library' => ['tmgmt/admin.seven', 'tmgmt/admin']), '#theme' => 'tmgmt_legend', - '#title' => 'State:', + '#title' => t('State:'), '#items' => $items, '#prefix' => '
', '#suffix' => '
', @@ -1075,7 +1075,7 @@ function tmgmt_color_review_legend() { $output = [ '#attached' => array('library' => ['tmgmt/admin.seven', 'tmgmt/admin']), '#theme' => 'tmgmt_legend', - '#title' => 'State:', + '#title' => t('State:'), '#items' => $items, '#prefix' => '
', '#suffix' => '
', diff --git a/translators/tmgmt_local/tmgmt_local.module b/translators/tmgmt_local/tmgmt_local.module index 0533c5f..7445f01 100755 --- a/translators/tmgmt_local/tmgmt_local.module +++ b/translators/tmgmt_local/tmgmt_local.module @@ -768,7 +768,7 @@ function tmgmt_color_legend_local_task_item() { $output = [ '#attached' => array('library' => ['tmgmt/admin.seven', 'tmgmt/admin']), '#theme' => 'tmgmt_local_legend', - '#title' => 'Status:', + '#title' => t('Status:'), '#items' => $items, '#prefix' => '
', '#suffix' => '
', @@ -810,7 +810,7 @@ function tmgmt_color_legend_local_task() { $output = [ '#attached' => array('library' => ['tmgmt/admin.seven', 'tmgmt/admin']), '#theme' => 'tmgmt_local_legend', - '#title' => 'Status:', + '#title' => t('Status:'), '#items' => $items, '#prefix' => '
', '#suffix' => '
', @@ -844,7 +844,7 @@ function tmgmt_color_local_review_legend() { $output = [ '#attached' => array('library' => ['tmgmt/admin.seven', 'tmgmt/admin']), '#theme' => 'tmgmt_local_legend', - '#title' => 'Status:', + '#title' => t('Status:'), '#items' => $items, '#prefix' => '
', '#suffix' => '
',