Ensure we use English for reference
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
define([
|
define([
|
||||||
'/bower_components/jquery/dist/jquery.min.js',
|
'/bower_components/jquery/dist/jquery.min.js',
|
||||||
'/common/cryptpad-common.js',
|
'/common/cryptpad-common.js',
|
||||||
], function (jQuery, Cryptpad) {
|
'/customize/translations/messages.js',
|
||||||
|
], function (jQuery, Cryptpad, English) {
|
||||||
var $ = window.jQuery;
|
var $ = window.jQuery;
|
||||||
|
|
||||||
var $body = $('body');
|
var $body = $('body');
|
||||||
@@ -40,7 +41,7 @@ define([
|
|||||||
res += (need ? '' : '// ') + 'out.' + key + ' = "";';
|
res += (need ? '' : '// ') + 'out.' + key + ' = "";';
|
||||||
if (need)
|
if (need)
|
||||||
{
|
{
|
||||||
res += ' // ' + JSON.stringify(Cryptpad.Messages._getKey(key, []));
|
res += ' // ' + JSON.stringify(English[key]);
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}).join('\n')));
|
}).join('\n')));
|
||||||
|
|||||||
Reference in New Issue
Block a user