Merge pull request #158 from openHPI/error-hint-templates

Error hints
This commit is contained in:
rteusner
2018-03-21 10:24:19 +01:00
committed by GitHub
10 changed files with 89 additions and 7 deletions

View File

@@ -331,6 +331,8 @@ en:
break_intervention:
title: "Break"
text: "We recognized that you are already working quite a while on this exercise. We would like to encourage you to take a break and come back later."
error_hints:
heading: "Hints"
index:
clone: Duplicate
implement: Implement
@@ -728,6 +730,7 @@ en:
error_templates:
hints:
signature: "A regular expression in Ruby syntax without leading and trailing \"/\""
hint_templates: 'Attribute names in {{double curly braces}} are replaced by the corresponding attribute value at runtime, e.g. "The error occurs in line {{Line}}." --(StructuredError: {Line: 4})--> "The error occurs in line 4."'
attributes: "Attributes"
add_attribute: "Add attribute"
comments: