Skip to content

Commit

Permalink
less html in locale
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 committed Jun 23, 2021
1 parent a28c406 commit 877b6a9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ password_pwned = The password you chose is on a <a target="_blank" rel="noopener
password_pwned_err = Could not complete request to HaveIBeenPwned
[mail]
view_it_on_footer = <a href="%[1]s">View it on %[2]s</a>.
view_it_on = View it on %s
activate_account = Please activate your account
activate_account.title = %s, please activate your account
Expand Down
2 changes: 1 addition & 1 deletion templates/mail/issue/assigned.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<p>
---
<br>
{{.i18n.Tr "mail.view_it_on_footer" .Link AppName | Str2html}}
<a href="{{.Link}}">{{.i18n.Tr "mail.view_it_on" AppName}}</a>.
</p>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion templates/mail/issue/default.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<p>
---
<br>
{{.i18n.Tr "mail.view_it_on_footer" .Link AppName | Str2html}}
<a href="{{.Link}}">{{.i18n.Tr "mail.view_it_on" AppName}}</a>.
</p>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion templates/mail/notify/collaborator.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<p>
---
<br>
{{.i18n.Tr "mail.view_it_on_footer" .Link AppName | Str2html}}
<a href="{{.Link}}">{{.i18n.Tr "mail.view_it_on" AppName}}</a>.
</p>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion templates/mail/notify/repo_transfer.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<p>
---
<br>
{{.i18n.Tr "mail.view_it_on_footer" .Link AppName | Str2html}}
<a href="{{.Link}}">{{.i18n.Tr "mail.view_it_on" AppName}}</a>.
</p>
</body>
</html>
2 changes: 1 addition & 1 deletion templates/mail/release.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<p>
---
<br>
{{.i18n.Tr "mail.view_it_on_footer" .Link AppName | Str2html}}
<a href="{{.Link}}">{{.i18n.Tr "mail.view_it_on" AppName}}</a>.
</p>
</div>
</body>
Expand Down

0 comments on commit 877b6a9

Please sign in to comment.