From b3583372803200efef8c69c20c531cafaa437769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Fri, 15 Oct 2021 14:26:02 +0100 Subject: [PATCH] Remove hard-coded translations --- www/common/drive-ui.js | 1 - www/common/sframe-common-file.js | 1 - www/common/sframe-common.js | 2 -- www/form/inner.js | 1 - 4 files changed, 5 deletions(-) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index f4afde7b0..3a664fcd4 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -331,7 +331,6 @@ define([ }; - Messages.fc_openIn = "Open in {0}"; // XXX // delete fc_openInCode // XXX var createContextMenu = function (common) { // XXX PREMIUM diff --git a/www/common/sframe-common-file.js b/www/common/sframe-common-file.js index e4f6c9260..9474b132b 100644 --- a/www/common/sframe-common-file.js +++ b/www/common/sframe-common-file.js @@ -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; } diff --git a/www/common/sframe-common.js b/www/common/sframe-common.js index 1d0b56d04..c64c765b0 100644 --- a/www/common/sframe-common.js +++ b/www/common/sframe-common.js @@ -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}); diff --git a/www/form/inner.js b/www/form/inner.js index e810f1fcf..90014d906 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -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