diff --git a/www/assert/translations/main.js b/www/assert/translations/main.js index 9e81a87bf..1b1683afe 100644 --- a/www/assert/translations/main.js +++ b/www/assert/translations/main.js @@ -1,7 +1,8 @@ define([ '/bower_components/jquery/dist/jquery.min.js', '/common/cryptpad-common.js', -], function (jQuery, Cryptpad) { + '/customize/translations/messages.js', +], function (jQuery, Cryptpad, English) { var $ = window.jQuery; var $body = $('body'); @@ -40,7 +41,7 @@ define([ res += (need ? '' : '// ') + 'out.' + key + ' = "";'; if (need) { - res += ' // ' + JSON.stringify(Cryptpad.Messages._getKey(key, [])); + res += ' // ' + JSON.stringify(English[key]); } return res; }).join('\n')));