diff options
-rw-r--r-- | python/en.py | 7 | ||||
-rw-r--r-- | python/sl.py | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/python/en.py b/python/en.py index d3189d9..561db85 100644 --- a/python/en.py +++ b/python/en.py @@ -8,4 +8,11 @@ hint = { 'test_results': '''\ <p>Your code passed [%=passed%] / [%=total%] tests.</p> ''', + + 'syntax_error': '''\ +<p>Your code contains a syntax error in line [%=lineno%]:</p> +<pre> +[%=message%] +</pre> +''', } diff --git a/python/sl.py b/python/sl.py index b782298..e829a82 100644 --- a/python/sl.py +++ b/python/sl.py @@ -8,4 +8,11 @@ hint = { 'test_results': '''\ <p>Program je opravil [%=passed%] / [%=total%] testov.</p> ''', + + 'syntax_error': '''\ +<p>Program vsebuje sintaktično napako v vrstici [%=lineno%]:</p> +<pre> +[%=message%] +</pre> +''', } |