Browse Source

Fix bug auto_eval

Igor 3 years ago
parent
commit
93103c35fd
3 changed files with 40 additions and 9 deletions
  1. 2 0
      lang/en/iassign.php
  2. 2 0
      lang/pt_br/iassign.php
  3. 36 9
      locallib.php

+ 2 - 0
lang/en/iassign.php

@@ -58,6 +58,8 @@ $string['auto_evaluate_msg_diff_cases']   = 'The original test cases are differe
 $string['auto_evaluate_msg_t_fail']       = 'Execution failure. Click in the icon to details.';
 $string['auto_evaluate_msg_fail']         = 'When trying run automatic evaluation, iLM reported a failure.<br>Click in the icon to details.';
 $string['auto_evaluate_msg_grade_update'] = 'Students grade has been updated to automatic evaluation result.';
+$string['auto_evaluate_title_time']       = 'iLM did not return any information. Click in the icon to details.';
+$string['auto_evaluate_msg_time']         = 'iLM was asked to evaluate students exercise, but did not return any information to iAssign. This can happen when iLM have not re-evaluator. <br>Refresh the page and try again.';
 
 $string['auto_evaluate_reprocess']        = 'Reevaluate automatically';
 $string['auto_evaluate_start']            = 'Start';

+ 2 - 0
lang/pt_br/iassign.php

@@ -56,6 +56,8 @@ $string['auto_evaluate_msg_diff_cases']   = 'Os casos de teste originais são di
 $string['auto_evaluate_msg_t_fail']       = 'Falha na execução. Clique no ícone para detalhes.';
 $string['auto_evaluate_msg_fail']         = 'Ao tentar executar a avaliação da atividade, o iMA reportou uma falha.<br>Recarregue a página e tente novamente.';
 $string['auto_evaluate_msg_grade_update'] = 'A nota do aluno foi atualizada para o resultado da avaliação automática.';
+$string['auto_evaluate_title_time']       = 'O iMA não respondeu. Clique no ícone para detalhes.';
+$string['auto_evaluate_msg_time']         = 'Foi solicitado ao iMA que avaliasse o exercício do estudante, porém, o iMA não respondeu ao iTarefa. Isso pode indicar que o iMA não possui re-avaliador em lote. <br>Recarregue a página e tente novamente!';
 
 $string['auto_evaluate_reprocess']        = 'Reavaliar automaticamente';
 $string['auto_evaluate_select']           = 'Selecione os exercícios para executar o avaliador automático:';

File diff suppressed because it is too large
+ 36 - 9
locallib.php