From 71da3ed7231eb3012e959fabd916b4b69e338cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Mon, 16 Dec 2019 16:51:53 +0000 Subject: [PATCH] add button keys --- customize.dist/src/less2/include/modals-ui-elements.less | 2 +- www/common/common-ui-elements.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/customize.dist/src/less2/include/modals-ui-elements.less b/customize.dist/src/less2/include/modals-ui-elements.less index cf51f6342..79964e888 100644 --- a/customize.dist/src/less2/include/modals-ui-elements.less +++ b/customize.dist/src/less2/include/modals-ui-elements.less @@ -29,7 +29,7 @@ color: @cryptpad_text_col; } - // teams invite modal + // teams invite modal .cp-teams-invite-block { display: flex; align-items: center; diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 0bf990412..366931b24 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1725,7 +1725,7 @@ define([ bytes64 = _bytes; })); }).nThen(function (waitFor) { - $(linkSpinText).text('Add invite link to team'); // XXX + $(linkSpinText).text(Messages.team_inviteLinkAdding); // XXX module.execCommand('CREATE_INVITE_LINK', { name: name, password: pw, @@ -1755,14 +1755,14 @@ define([ keys: [27] }, { className: 'primary cp-teams-invite-create', - name: 'CREATE LINK', // XXX + name: Messages.team_inviteLinkCreate, // XXX onClick: function () { return process(); }, keys: [13] }, { className: 'primary cp-teams-invite-copy', - name: 'COPY LINK', // XXX + name: Messages.team_inviteLinkCopy, // XXX onClick: function () { if (!href) { return; } var success = Clipboard.copy(href);