summaryrefslogtreecommitdiff
path: root/prolog
diff options
context:
space:
mode:
Diffstat (limited to 'prolog')
-rw-r--r--prolog/en.py14
-rw-r--r--prolog/problems/family_relations/sister_2/en.py13
2 files changed, 14 insertions, 13 deletions
diff --git a/prolog/en.py b/prolog/en.py
new file mode 100644
index 0000000..5fd881e
--- /dev/null
+++ b/prolog/en.py
@@ -0,0 +1,14 @@
+# coding=utf-8
+
+hint = {
+ 'no_hint': '''\
+<p>No hint available, sorry!</p>
+''',
+
+ 'syntax_error': '''\
+<p>Your code contains syntax errors! The Prolog compiler emitted the following messages:</p>
+<pre>
+[%=messages%]
+</pre>
+''',
+}
diff --git a/prolog/problems/family_relations/sister_2/en.py b/prolog/problems/family_relations/sister_2/en.py
index 629123c..6b055e8 100644
--- a/prolog/problems/family_relations/sister_2/en.py
+++ b/prolog/problems/family_relations/sister_2/en.py
@@ -19,17 +19,4 @@ following query:</p>
?- sister(sally, Y).
</pre>
''',
-
- # TODO move to generic prolog/en.py
- 'no_hint': '''\
-<p>No hint available, sorry! Try to use thinking instead.</p>
-''',
-
- # TODO move to generic prolog/en.py
- 'syntax_error': '''\
-<p>Your code contains syntactic mistakes. The Prolog compiler emitted the following messages:</p>
-<pre>
-[%=messages%]
-</pre>
-''',
}