add hints for translation linting and remove notes

pull/1/head
ansuz 3 years ago
parent faf3c63e44
commit dae6d7fc1e

@ -14,6 +14,7 @@ define([
var is500 = Boolean(document.querySelector('#five-hundred')); var is500 = Boolean(document.querySelector('#five-hundred'));
var brand = h('h1#cp-brand', 'CryptPad'); var brand = h('h1#cp-brand', 'CryptPad');
// Msg.fivehundred_internalServerError.four04_pageNotFound
var message = h('h2#cp-scramble', Messages[is500? 'fivehundred_internalServerError':'four04_pageNotFound']); var message = h('h2#cp-scramble', Messages[is500? 'fivehundred_internalServerError':'four04_pageNotFound']);
var title = h('h2#cp-title', is500? "500":"404"); var title = h('h2#cp-title', is500? "500":"404");

@ -496,7 +496,8 @@ BlobStore.create = function (config, _cb) {
if (e) { CB(e); } if (e) { CB(e); }
})); }));
}).nThen(function (w) { }).nThen(function (w) {
// XXX make a placeholder file in the root of the blob path // make a placeholder file in the root of the blob path
// so that the checkup page always has a resource it can check
var fullPath = Path.join(Env.blobPath, 'placeholder.txt'); var fullPath = Path.join(Env.blobPath, 'placeholder.txt');
Fse.writeFile(fullPath, 'PLACEHOLDER\n', w()); Fse.writeFile(fullPath, 'PLACEHOLDER\n', w());
}).nThen(function () { }).nThen(function () {

@ -1968,7 +1968,7 @@ define([
create['bytes-written'] = function () { create['bytes-written'] = function () {
var key = 'bytes-written'; var key = 'bytes-written';
var $div = makeBlock(key); var $div = makeBlock(key); // Msg.admin_bytesWrittenTitle.admin_bytesWrittenHint
var duration = APP.instanceStatus.profilingWindow; var duration = APP.instanceStatus.profilingWindow;
if (!isPositiveInteger(duration)) { duration = 10000; } if (!isPositiveInteger(duration)) { duration = 10000; }

@ -49,7 +49,7 @@ define([
'cp-support-language', 'cp-support-language',
'cp-support-form', 'cp-support-form',
], ],
'debugging': [ 'debugging': [ // Msg.support_cat_debugging
'cp-support-debugging-data', 'cp-support-debugging-data',
], ],
}; };

Loading…
Cancel
Save