From dc5ddd4ac0bdbf99ec100c57cb8402f18409bfa3 Mon Sep 17 00:00:00 2001
From: Carlos Tadeu Panato Junior <ctadeu@gmail.com>
Date: Mon, 24 Apr 2017 13:30:08 +0200
Subject: PLT-6376: Button for "Add Members to Team" modal should say "Add",
 not "Go" (#6185)

---
 webapp/components/add_users_to_team.jsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'webapp/components/add_users_to_team.jsx')

diff --git a/webapp/components/add_users_to_team.jsx b/webapp/components/add_users_to_team.jsx
index c03d9ccd9..f0936c0d7 100644
--- a/webapp/components/add_users_to_team.jsx
+++ b/webapp/components/add_users_to_team.jsx
@@ -223,6 +223,13 @@ export default class AddUsersToTeam extends React.Component {
             />
         );
 
+        const buttonSubmitText = (
+            <FormattedMessage
+                id='multiselect.add'
+                defaultMessage='Add'
+            />
+        );
+
         return (
             <Modal
                 dialogClassName={'more-modal more-direct-channels'}
@@ -258,6 +265,7 @@ export default class AddUsersToTeam extends React.Component {
                         handleSubmit={this.handleSubmit}
                         maxValues={MAX_SELECTABLE_VALUES}
                         numRemainingText={numRemainingText}
+                        buttonSubmitText={buttonSubmitText}
                     />
                 </Modal.Body>
             </Modal>
-- 
cgit v1.2.3-1-g7c22

