Remove hard-coded translations

pull/1/head
David Benqué 3 years ago
parent 780c21a88f
commit b358337280

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

@ -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;
}

@ -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});

@ -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

Loading…
Cancel
Save