Show a localized message if the program was killed.

* This will most likely happen by the OOM killer, thus we inform the user about the memory restriction.
This commit is contained in:
Sebastian Serth
2022-04-15 21:29:55 +02:00
parent 5f7838ef46
commit 19bd742bc9
10 changed files with 37 additions and 7 deletions

View File

@ -360,6 +360,7 @@ de:
submit_after_late_deadline: Code verspätet zur Bewertung abgeben
test: Testen
timeout: 'Ausführung gestoppt. Ihr Code hat die erlaubte Ausführungszeit von %{permitted_execution_time} Sekunden überschritten.'
out_of_memory: 'Ausführung gestoppt. Ihr Code hat den erlaubten Arbeitsspeicher von %{memory_limit} MB überschritten.'
exercise_deadline_passed: 'Das Ergebnis kann nicht übertragen werden.'
tooltips:
save: Ihr Code wird automatisch gespeichert, wann immer Sie eine Datei herunterladen, ausführen oder testen. Explizites Speichern ist also selten notwendig.

View File

@ -360,6 +360,7 @@ en:
submit_after_late_deadline: Submit Code for Assessment After Deadline Passed
test: Test
timeout: 'Execution stopped. Your code exceeded the permitted execution time of %{permitted_execution_time} seconds.'
out_of_memory: 'Execution stopped. Your code exceeded the permitted RAM usage of %{memory_limit} MB.'
exercise_deadline_passed: 'The score cannot be submitted.'
tooltips:
save: Your code is automatically saved whenever you download, run, or test it. Therefore, explicitly saving is rarely necessary.