From d5147eb9dd4484b7aad628d92de2b742ee0ee68d Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 3 May 2021 16:42:09 +0530 Subject: [PATCH 1/2] remove a hardcoded translation --- www/common/common-ui-elements.js | 1 - 1 file changed, 1 deletion(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 2c1b5f263..6af8db247 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -789,7 +789,6 @@ define([ ])).click(common.prepareFeedback(type)); break; case 'storeindrive': - Messages.toolbar_storeInDrive = "Store in CryptDrive"; // XXX button = $(h('button.cp-toolbar-storeindrive', { style: 'display:none;' }, [ From bcdf2f467f7d78b65fd9127a181fc71fec8ee87d Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 3 May 2021 17:48:58 +0530 Subject: [PATCH 2/2] remove hardcoded translation --- www/profile/inner.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/profile/inner.js b/www/profile/inner.js index 653c33ec7..11abd6ae8 100644 --- a/www/profile/inner.js +++ b/www/profile/inner.js @@ -513,8 +513,7 @@ define([ var privateData = metadataMgr.getPrivateData(); var url = Hash.getPublicSigningKeyString(privateData.origin, data.name, data.edPublic); var success = Clipboard.copy(url); - Messages.edCopySuccess = "Copied key to clipboard"; // XXX - if (success) { UI.log(Messages.shareSuccess); } + if (success) { UI.log(Messages.genericCopySuccess); } }; };