Add state 'failed' to a job

This commit is contained in:
Karsten Heiken
2011-04-22 10:54:30 +02:00
parent 1d655b724a
commit 8bbc04513e
3 changed files with 5 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ class Jobs extends CI_Controller {
case -1:
$progress = lang('waiting');
break;
case -2:
$progress = lang('failed');
break;
case 100:
$progress = lang('done');
break;

View File

@@ -2,6 +2,7 @@
$lang['done'] = "Complete";
$lang['waiting'] = "Waiting for start...";
$lang['failed'] = "Computation failed";
/* End of file projects_lang.php */
/* Location: ./application/language/english/jobs_lang.php */

View File

@@ -2,6 +2,7 @@
$lang['done'] = "Fertig";
$lang['waiting'] = "Warte auf Start...";
$lang['failed'] = "Fehlgeschlagen";
/* End of file projects_lang.php */
/* Location: ./application/language/german/jobs_lang.php */