summaryrefslogtreecommitdiff
path: root/js/codeq/robot.js
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-15 20:01:29 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-15 20:01:29 +0100
commit75d719b67f15e4457162c3ef3bd1db2ef62e55e3 (patch)
tree6a8f527eb255648870d0f48fbec86a21bc2bd46e /js/codeq/robot.js
parent07d17ee13777c1ea5ce00b26437ff4e778e19b22 (diff)
Support resource templates in language/group/problem descriptions
Diffstat (limited to 'js/codeq/robot.js')
-rw-r--r--js/codeq/robot.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/codeq/robot.js b/js/codeq/robot.js
index 15067b1..7f67025 100644
--- a/js/codeq/robot.js
+++ b/js/codeq/robot.js
@@ -239,6 +239,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
}
});
+ codeq.template.processDictionary(problemDef.translations.description,
+ [problemDef.language, problemDef.group, problemDef.problem]);
codeq.tr.registerDictionary('robot', problemDef.translations);
codeq.tr.translateDom(jqScreen);
jqBtnPlan.prop('disabled', !hinter.hasNextPlan());