summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/webhook/base_list.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-01-24 19:36:54 +0800
committerGitHub <noreply@github.com>2022-01-24 19:36:54 +0800
commit5506cb92da56b7c4e69573dab5ae5b759ee57e75 (patch)
tree912549df8d14bc104bd2089d0ba1a929bd51711a /templates/repo/settings/webhook/base_list.tmpl
parent4bfd749fc5ed29bc14357603c87dc835199b1d11 (diff)
downloadgitea-5506cb92da56b7c4e69573dab5ae5b759ee57e75.tar.gz
gitea-5506cb92da56b7c4e69573dab5ae5b759ee57e75.zip
Refactor webhooks i18n (#18380)
Diffstat (limited to 'templates/repo/settings/webhook/base_list.tmpl')
-rw-r--r--templates/repo/settings/webhook/base_list.tmpl22
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/repo/settings/webhook/base_list.tmpl b/templates/repo/settings/webhook/base_list.tmpl
index f16c43bad6..b1a3771bdb 100644
--- a/templates/repo/settings/webhook/base_list.tmpl
+++ b/templates/repo/settings/webhook/base_list.tmpl
@@ -5,37 +5,37 @@
<div class="ui blue tiny button">{{.i18n.Tr "repo.settings.add_webhook"}}</div>
<div class="menu">
<a class="item" href="{{.BaseLinkNew}}/gitea/new">
- <img width="20" height="20" src="{{AssetUrlPrefix}}/img/gitea.svg">Gitea
+ <img width="20" height="20" src="{{AssetUrlPrefix}}/img/gitea.svg">{{.i18n.Tr "repo.settings.web_hook_name_gitea"}}
</a>
<a class="item" href="{{.BaseLinkNew}}/gogs/new">
- <img width="20" height="20" src="{{AssetUrlPrefix}}/img/gogs.ico">Gogs
+ <img width="20" height="20" src="{{AssetUrlPrefix}}/img/gogs.ico">{{.i18n.Tr "repo.settings.web_hook_name_gogs"}}
</a>
<a class="item" href="{{.BaseLinkNew}}/slack/new">
- <img width="20" height="20" src="{{AssetUrlPrefix}}/img/slack.png">Slack
+ <img width="20" height="20" src="{{AssetUrlPrefix}}/img/slack.png">{{.i18n.Tr "repo.settings.web_hook_name_slack"}}
</a>
<a class="item" href="{{.BaseLinkNew}}/discord/new">
- <img width="20" height="20" src="{{AssetUrlPrefix}}/img/discord.png">Discord
+ <img width="20" height="20" src="{{AssetUrlPrefix}}/img/discord.png">{{.i18n.Tr "repo.settings.web_hook_name_discord"}}
</a>
<a class="item" href="{{.BaseLinkNew}}/dingtalk/new">
- <img width="20" height="20" src="{{AssetUrlPrefix}}/img/dingtalk.ico">Dingtalk
+ <img width="20" height="20" src="{{AssetUrlPrefix}}/img/dingtalk.ico">{{.i18n.Tr "repo.settings.web_hook_name_dingtalk"}}
</a>
<a class="item" href="{{.BaseLinkNew}}/telegram/new">
- <img width="20" height="20" src="{{AssetUrlPrefix}}/img/telegram.png">Telegram
+ <img width="20" height="20" src="{{AssetUrlPrefix}}/img/telegram.png">{{.i18n.Tr "repo.settings.web_hook_name_telegram"}}
</a>
<a class="item" href="{{.BaseLinkNew}}/msteams/new">
- <img width="20" height="20" src="{{AssetUrlPrefix}}/img/msteams.png">Microsoft Teams
+ <img width="20" height="20" src="{{AssetUrlPrefix}}/img/msteams.png">{{.i18n.Tr "repo.settings.web_hook_name_msteams"}}
</a>
<a class="item" href="{{.BaseLinkNew}}/feishu/new">
- <img width="20" height="20" src="{{AssetUrlPrefix}}/img/feishu.png">Feishu
+ <img width="20" height="20" src="{{AssetUrlPrefix}}/img/feishu.png">{{.i18n.Tr "repo.settings.web_hook_name_feishu_or_larksuite"}}
</a>
<a class="item" href="{{.BaseLinkNew}}/matrix/new">
- <img width="20" height="20" src="{{AssetUrlPrefix}}/img/matrix.svg">Matrix
+ <img width="20" height="20" src="{{AssetUrlPrefix}}/img/matrix.svg">{{.i18n.Tr "repo.settings.web_hook_name_matrix"}}
</a>
<a class="item" href="{{.BaseLinkNew}}/wechatwork/new">
- <img width="20" height="20" src="{{AssetUrlPrefix}}/img/wechatwork.png">Wechatwork
+ <img width="20" height="20" src="{{AssetUrlPrefix}}/img/wechatwork.png">{{.i18n.Tr "repo.settings.web_hook_name_wechatwork"}}
</a>
<a class="item" href="{{.BaseLinkNew}}/packagist/new">
- <img width="20" height="20" src="{{AssetUrlPrefix}}/img/packagist.png">Packagist
+ <img width="20" height="20" src="{{AssetUrlPrefix}}/img/packagist.png">{{.i18n.Tr "repo.settings.web_hook_name_packagist"}}
</a>
</div>
</div>