Remove hard-coded translations

This commit is contained in:
David Benqué 2021-10-15 14:26:02 +01:00
parent 780c21a88f
commit b358337280
4 changed files with 0 additions and 5 deletions

View file

@ -331,7 +331,6 @@ define([
};
Messages.fc_openIn = "Open in {0}"; // XXX
// delete fc_openInCode // XXX
var createContextMenu = function (common) {
// XXX PREMIUM

View file

@ -661,7 +661,6 @@ define([
var text = Math.round(progressValue * 100) + '%';
text += progressValue === 1 ? '' : ' (' + Messages.download_step2 + '...)';
if (progressValue === 2) {
Messages.download_step3 = "Converting..."; // XXX
text = Messages.download_step3;
progressValue = 1;
}

View file

@ -916,7 +916,6 @@ define([
return;
}
// XXX PREMIUM
Messages.premiumOnly = "Creating new documents in this application is currently limited to subscribers on {0}. This is an early-access experimental application for testing purposes, and should not yet be trusted with important data. It will soon become available to everyone on {0}."; // XXX
var blocked = privateData.premiumOnly && privateData.isNewFile;
if (blocked) {
var domain = ApiConfig.httpUnsafeOrigin || 'CryptPad';
@ -927,7 +926,6 @@ define([
return;
}
if (privateData.earlyAccessBlocked) {
Messages.earlyAccessBlocked = "This application is not ready yet, come back later."; // XXX
UI.errorLoadingScreen(Messages.earlyAccessBlocked, null, function () {
funcs.gotoURL('/drive/');
}, {forefront: true});

View file

@ -2638,7 +2638,6 @@ define([
});
// Export in "sheet"
Messages.form_exportSheet = "Export to spreadsheet"; // XXX
var export2Button = h('button.btn.btn-primary', [
h('i.cptools.fa-file-excel-o'),
Messages.form_exportSheet