diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-08-28 13:06:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-28 13:06:45 +0800 |
commit | ced50e0ec13085504fa19c82f018a2eecb70ff68 (patch) | |
tree | 10dff3ff685a86bad683c731f8329743f217617e /options | |
parent | e41da3845d72e3adc7ae2cd3a02fc1f3943ebee6 (diff) | |
download | gitea-ced50e0ec13085504fa19c82f018a2eecb70ff68.tar.gz gitea-ced50e0ec13085504fa19c82f018a2eecb70ff68.zip |
Implementation of discord webhook (#2402)
* implementation of discord webhook
* fix webhooks
* fix typo and unnecessary color values
* fix typo
* fix imports and revert changes to webhook_slack.go
Diffstat (limited to 'options')
-rw-r--r-- | options/locale/locale_en-US.ini | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 4a8a39963f..fbd96b3b00 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -879,6 +879,8 @@ settings.content_type = Content Type settings.secret = Secret settings.slack_username = Username settings.slack_icon_url = Icon URL +settings.discord_username = Username +settings.discord_icon_url = Icon URL settings.slack_color = Color settings.event_desc = When should this webhook be triggered? settings.event_push_only = Just the <code>push</code> event. @@ -902,6 +904,7 @@ settings.add_slack_hook_desc = Add <a href="%s">Slack</a> integration to your re settings.slack_token = Token settings.slack_domain = Domain settings.slack_channel = Channel +settings.add_discord_hook_desc = Add <a href="%s">Discord</a> integration to your repository. settings.deploy_keys = Deploy Keys settings.add_deploy_key = Add Deploy Key settings.deploy_key_desc = Deploy keys have read-only access. They are not the same as personal account SSH keys. |