add hints for translation linting and remove notes

This commit is contained in:
ansuz 2022-03-25 16:53:10 +05:30
parent faf3c63e44
commit dae6d7fc1e
4 changed files with 5 additions and 3 deletions

View File

@ -14,6 +14,7 @@ define([
var is500 = Boolean(document.querySelector('#five-hundred'));
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 title = h('h2#cp-title', is500? "500":"404");

View File

@ -496,7 +496,8 @@ BlobStore.create = function (config, _cb) {
if (e) { CB(e); }
}));
}).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');
Fse.writeFile(fullPath, 'PLACEHOLDER\n', w());
}).nThen(function () {

View File

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

View File

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