Skip to content

Commit

Permalink
MM-15657 additional message on bot creation to add to channel/team (m…
Browse files Browse the repository at this point in the history
…attermost#2816)

* additional message on bot creation to add to channel/team

* fixed i18n typeo
  • Loading branch information
scottleedavis authored and migbot committed May 21, 2019
1 parent b753d03 commit 4e7f475
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,12 @@ export default class ConfirmIntegration extends React.Component {
<CopyText
value={botToken}
/>
<br/>
<br/>
<FormattedMarkdownMessage
id='add_outgoing_webhook.token.message'
defaultMessage='Make sure to add this bot account to teams and channels you want it to interact in. See [documentation](https://mattermost.com/pl/default-bot-accounts) to learn more.'
/>
</p>
);
} else {
Expand Down
1 change: 1 addition & 0 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"add_outgoing_webhook.save": "Save",
"add_outgoing_webhook.saving": "Saving...",
"add_outgoing_webhook.token": "**Token**: {token}",
"add_outgoing_webhook.token.message": "Make sure to add this bot account to teams and channels you want it to interact in. See [documentation](https://mattermost.com/pl/default-bot-accounts) to learn more.",
"add_outgoing_webhook.triggerWords": "Trigger Words (One Per Line)",
"add_outgoing_webhook.triggerWords.help": "Messages that start with one of the specified words will trigger the outgoing webhook. Optional if Channel is selected.",
"add_outgoing_webhook.triggerWordsOrChannelRequired": "A valid channel or a list of trigger words is required",
Expand Down

0 comments on commit 4e7f475

Please sign in to comment.