summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-07-28 23:28:46 +0800
committerGitHub <noreply@github.com>2022-07-28 17:28:46 +0200
commit2c108d20baa2b2fd0816ad2dfb3429d49a422f4e (patch)
tree893cb429b471f2089fb023b011d69d08c792c47d /templates/user
parenta846bfefd84fac9088c6497a21dc77412d6d2835 (diff)
downloadgitea-2c108d20baa2b2fd0816ad2dfb3429d49a422f4e.tar.gz
gitea-2c108d20baa2b2fd0816ad2dfb3429d49a422f4e.zip
Fix i18n for email notifications (#20518)
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/settings/account.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/account.tmpl b/templates/user/settings/account.tmpl
index 38fc430005..53fd25313a 100644
--- a/templates/user/settings/account.tmpl
+++ b/templates/user/settings/account.tmpl
@@ -59,7 +59,7 @@
<div class="ui selection dropdown" tabindex="0">
<input name="preference" type="hidden" value="{{.EmailNotificationsPreference}}">
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
- <div class="text">{{$.locale.Tr "settings.email_notifications"}}</div>
+ <div class="text"></div>
<div class="menu">
<div data-value="enabled" class="{{if eq .EmailNotificationsPreference "enabled"}}active selected {{end}}item">{{$.locale.Tr "settings.email_notifications.enable"}}</div>
<div data-value="andyourown" class="{{if eq .EmailNotificationsPreference "andyourown"}}active selected {{end}}item">{{$.locale.Tr "settings.email_notifications.andyourown"}}</div>