Skip to content

Commit

Permalink
Fix trans of status
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 22, 2020
1 parent 8d507c4 commit 295d42b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/cron/class/cronjob.class.php
Expand Up @@ -1320,9 +1320,9 @@ public function LibStatut($status, $mode = 0, $processing = 0, $lastresult = 0)
if ($processing) $moretext = ' ('.$langs->trans("Running").')';
elseif ($lastresult) $moretext .= ' ('.$langs->trans("Error").')';

$this->labelStatus[self::STATUS_DISABLED] = $langs->trans('Draft').$moretext;
$this->labelStatus[self::STATUS_DISABLED] = $langs->trans('Disabled').$moretext;
$this->labelStatus[self::STATUS_ENABLED] = $langs->trans('Enabled').$moretext;
$this->labelStatusShort[self::STATUS_DISABLED] = $langs->trans('Draft');
$this->labelStatusShort[self::STATUS_DISABLED] = $langs->trans('Disabled');
$this->labelStatusShort[self::STATUS_ENABLED] = $langs->trans('Enabled');
}

Expand Down

0 comments on commit 295d42b

Please sign in to comment.