Skip to content

Commit

Permalink
fix initializing commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisHDantas committed Apr 18, 2024
1 parent a80a6f8 commit 359c508
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/app/Locale/por/LC_MESSAGES/default.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions src/app/Model/Commit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand All @@ -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(){
Expand Down

0 comments on commit 359c508

Please sign in to comment.