diff options
Diffstat (limited to 'js/codeq/hint.js')
-rw-r--r-- | js/codeq/hint.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/codeq/hint.js b/js/codeq/hint.js index b8cf03b..e77a3dc 100644 --- a/js/codeq/hint.js +++ b/js/codeq/hint.js @@ -38,8 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ hintCommonTr = commonDef.hint, planDef = problemDef.plan, templatePath = [problemDef.language, problemDef.group, problemDef.problem], - guiDict = codeq.tr.getDictionary('gui'), - btnMoreTranslations = guiDict['btn_more'] || {}, // get the default translations for the "more..." button clearHints = function () { var i; @@ -197,7 +195,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ msg = content[lang][hintIndex]; if (typeof msg === 'string') { trContent[lang] = codeq.template.process(msg, templatePath, args); - trButton[lang] = btnMoreTranslations[lang] || 'More...'; + trButton[lang] = codeq.tr.translate('btn_more', lang) || 'More...'; } else { trContent[lang] = codeq.template.process(msg.message, templatePath, args); |