From 75d719b67f15e4457162c3ef3bd1db2ef62e55e3 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 15 Feb 2016 20:01:29 +0100 Subject: Support resource templates in language/group/problem descriptions --- js/codeq/python.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/codeq/python.js') diff --git a/js/codeq/python.js b/js/codeq/python.js index d688c7c..c28ee53 100644 --- a/js/codeq/python.js +++ b/js/codeq/python.js @@ -239,6 +239,8 @@ along with this program. If not, see . */ alert(error); }; + codeq.template.processDictionary(problemDef.translations.description, + [problemDef.language, problemDef.group, problemDef.problem]); codeq.tr.registerDictionary('python', problemDef.translations); codeq.tr.translateDom(jqScreen); jqBtnPlan.prop('disabled', !hinter.hasNextPlan()); -- cgit v1.2.1