summaryrefslogtreecommitdiffstats
path: root/webapp/components/add_users_to_team.jsx
diff options
context:
space:
mode:
authorCarlos Tadeu Panato Junior <ctadeu@gmail.com>2017-04-24 13:30:08 +0200
committerGeorge Goldberg <george@gberg.me>2017-04-24 12:30:08 +0100
commitdc5ddd4ac0bdbf99ec100c57cb8402f18409bfa3 (patch)
tree4bb6d52fac3852ff6cfc6bf445b5cf443c54a301 /webapp/components/add_users_to_team.jsx
parent788df7a4bdc8d7495fe436b7d37885cfd53ef2f2 (diff)
downloadchat-dc5ddd4ac0bdbf99ec100c57cb8402f18409bfa3.tar.gz
chat-dc5ddd4ac0bdbf99ec100c57cb8402f18409bfa3.tar.bz2
chat-dc5ddd4ac0bdbf99ec100c57cb8402f18409bfa3.zip
PLT-6376: Button for "Add Members to Team" modal should say "Add", not "Go" (#6185)
Diffstat (limited to 'webapp/components/add_users_to_team.jsx')
-rw-r--r--webapp/components/add_users_to_team.jsx8
1 files changed, 8 insertions, 0 deletions
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>