File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1021,6 +1021,8 @@ email_notifications.onmention = Only Email on Mention
10211021email_notifications.disable = Disable Email Notifications
10221022email_notifications.submit = Set Email Preference
10231023email_notifications.andyourown = And Your Own Notifications
1024+ email_notifications.actions.desc = Notifications for workflow runs on repositories set up with <a target =" _blank" rel =" noopener noreferrer" href =" %s" >Gitea Actions</a>.
1025+ email_notifications.actions.failureonly = Only notify for failed workflow runs
10241026
10251027visibility = User visibility
10261028visibility.public = Public
Original file line number Diff line number Diff line change 3232
3333 {{if .EnableActions}}
3434 <h4 class="ui top attached header">
35- Actions
35+ {{ctx.Locale.Tr "actions.actions"}}
3636 </h4>
3737 <div class="ui attached segment">
3838 <div class="ui list flex-items-block">
3939 <div class="item">
4040 <form class="ui form tw-w-full" action="{{AppSubUrl}}/user/settings/notifications/actions" method="post">
4141 {{$.CsrfTokenHtml}}
4242 <div class="field">
43- <label>Set email preference on Gitea Actions </label>
43+ <label>{{ctx.Locale.Tr "settings.email_notifications.actions.desc" "https://docs.gitea.com/usage/actions/overview/"}} </label>
4444 <div class="ui selection dropdown">
4545 <input name="preference" type="hidden" value="{{.ActionsEmailNotificationsPreference}}">
4646 {{svg "octicon-triangle-down" 14 "dropdown icon"}}
4747 <div class="text"></div>
4848 <div class="menu">
4949 <div data-value="all" class="{{if eq .ActionsEmailNotificationsPreference "all"}}active selected {{end}}item">{{ctx.Locale.Tr "all"}}</div>
50- <div data-value="failureonly" class="{{if eq .ActionsEmailNotificationsPreference "failureonly"}}active selected {{end}}item">Failure only </div>
50+ <div data-value="failureonly" class="{{if eq .ActionsEmailNotificationsPreference "failureonly"}}active selected {{end}}item">{{ctx.Locale.Tr "settings.email_notifications.actions.failureonly"}} </div>
5151 <div data-value="disabled" class="{{if eq .ActionsEmailNotificationsPreference "disabled"}}active selected {{end}}item">{{ctx.Locale.Tr "disabled"}}</div>
5252 </div>
5353 </div>
You can’t perform that action at this time.
0 commit comments