mirror of https://github.com/xwiki-labs/cryptpad
add hints for translation linting and remove notes
This commit is contained in:
parent
faf3c63e44
commit
dae6d7fc1e
|
@ -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");
|
||||
|
||||
|
|
|
@ -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 () {
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -49,7 +49,7 @@ define([
|
|||
'cp-support-language',
|
||||
'cp-support-form',
|
||||
],
|
||||
'debugging': [
|
||||
'debugging': [ // Msg.support_cat_debugging
|
||||
'cp-support-debugging-data',
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue