diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-02-15 20:01:29 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-02-15 20:01:29 +0100 |
commit | 75d719b67f15e4457162c3ef3bd1db2ef62e55e3 (patch) | |
tree | 6a8f527eb255648870d0f48fbec86a21bc2bd46e /js/codeq/python.js | |
parent | 07d17ee13777c1ea5ce00b26437ff4e778e19b22 (diff) |
Support resource templates in language/group/problem descriptions
Diffstat (limited to 'js/codeq/python.js')
-rw-r--r-- | js/codeq/python.js | 2 |
1 files changed, 2 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. */ 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()); |