From 359c5083f2965589ccd74e05085d35f82a0c9b34 Mon Sep 17 00:00:00 2001 From: personal Date: Thu, 18 Apr 2024 20:59:53 -0300 Subject: [PATCH] fix initializing commit message --- src/app/Locale/por/LC_MESSAGES/default.po | 6 ++++++ src/app/Model/Commit.php | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/app/Locale/por/LC_MESSAGES/default.po b/src/app/Locale/por/LC_MESSAGES/default.po index 8d07739..edcf68e 100644 --- a/src/app/Locale/por/LC_MESSAGES/default.po +++ b/src/app/Locale/por/LC_MESSAGES/default.po @@ -398,6 +398,12 @@ msgstr "pontuação" msgid "Running" msgstr "Rodando" +msgid "Initializing" +msgstr "Inicializando" + +msgid "Your commit is being prepared for execution" +msgstr "Sua submissão está sendo preparada para execução" + #: Model/Commit.php:115 #: View/Exercises/index.ctp:56 msgid "Uncompleted" diff --git a/src/app/Model/Commit.php b/src/app/Model/Commit.php index dacdfb9..23c47a4 100644 --- a/src/app/Model/Commit.php +++ b/src/app/Model/Commit.php @@ -114,7 +114,7 @@ class Commit extends AppModel { ); public function getStatusList(){ - return array(__("In Queue"),__("Compiling"),__("Compiled"),__("Running"),__("Uncompleted"),__("Completed"),__("Error"),__("Submitted"),__("Plagiarism"),__("Server Error"),__("Running"),__("Running")); + return array(__("In Queue"),__("Compiling"),__("Compiled"),__("Running"),__("Uncompleted"),__("Completed"),__("Error"),__("Submitted"),__("Plagiarism"),__("Server Error"),__("Running"),__("Initializing")); } public function getDetailedStatusList(){ @@ -128,7 +128,8 @@ public function getDetailedStatusList(){ __("Your commit will not be processed automatically, and is currently waiting an manual feedback"), __("Your commit was analyzed as plagiarism"), __("Your commit could not be analyzed by our engine, please contact runcodes@icmc.usp.br"), - __("Your commit could not be analyzed by our engine, please contact runcodes@icmc.usp.br")); + __("Your commit is being executed"), + __("Your commit is being prepared for execution")); } public function getOptionsStatusList(){