Skip to content

Commit 877b6a9

Browse files
committed
less html in locale
1 parent a28c406 commit 877b6a9

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ password_pwned = The password you chose is on a <a target="_blank" rel="noopener
317317
password_pwned_err = Could not complete request to HaveIBeenPwned
318318
319319
[mail]
320-
view_it_on_footer = <a href="%[1]s">View it on %[2]s</a>.
320+
view_it_on = View it on %s
321321
322322
activate_account = Please activate your account
323323
activate_account.title = %s, please activate your account

templates/mail/issue/assigned.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<p>
2121
---
2222
<br>
23-
{{.i18n.Tr "mail.view_it_on_footer" .Link AppName | Str2html}}
23+
<a href="{{.Link}}">{{.i18n.Tr "mail.view_it_on" AppName}}</a>.
2424
</p>
2525
</div>
2626
</body>

templates/mail/issue/default.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<p>
8484
---
8585
<br>
86-
{{.i18n.Tr "mail.view_it_on_footer" .Link AppName | Str2html}}
86+
<a href="{{.Link}}">{{.i18n.Tr "mail.view_it_on" AppName}}</a>.
8787
</p>
8888
</div>
8989
</body>

templates/mail/notify/collaborator.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<p>
1515
---
1616
<br>
17-
{{.i18n.Tr "mail.view_it_on_footer" .Link AppName | Str2html}}
17+
<a href="{{.Link}}">{{.i18n.Tr "mail.view_it_on" AppName}}</a>.
1818
</p>
1919
</div>
2020
</body>

templates/mail/notify/repo_transfer.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<p>
1212
---
1313
<br>
14-
{{.i18n.Tr "mail.view_it_on_footer" .Link AppName | Str2html}}
14+
<a href="{{.Link}}">{{.i18n.Tr "mail.view_it_on" AppName}}</a>.
1515
</p>
1616
</body>
1717
</html>

templates/mail/release.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<p>
5454
---
5555
<br>
56-
{{.i18n.Tr "mail.view_it_on_footer" .Link AppName | Str2html}}
56+
<a href="{{.Link}}">{{.i18n.Tr "mail.view_it_on" AppName}}</a>.
5757
</p>
5858
</div>
5959
</body>

0 commit comments

Comments
 (0)