diff options
author | Lauris BH <lauris@nix.lv> | 2017-11-13 09:56:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 09:56:10 +0200 |
commit | 134958fd9f40b96384bc76598409a4a6fa032708 (patch) | |
tree | 175e195ff53a0288d43995bc131b02cab3028dcf /templates | |
parent | 4725f915433703335d8f7f162e6dbc97afe5115f (diff) | |
download | gitea-134958fd9f40b96384bc76598409a4a6fa032708.tar.gz gitea-134958fd9f40b96384bc76598409a4a6fa032708.zip |
Fix localization texts that contain semicolon (#2900)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/view_content/comments.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 34609ceb31..083518dffe 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -96,7 +96,7 @@ <img src="{{.Poster.RelAvatarLink}}"> </a> <span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.Name}}</a> - {{if .Content}}{{$.i18n.Tr "repo.issues.add_label_at" .Label.ForegroundColor .Label.Color .Label.Name $createdStr | Safe}}{{else}}{{$.i18n.Tr "repo.issues.remove_label_at" .Label.ForegroundColor .Label.Color .Label.Name $createdStr | Safe}}{{end}}</span> + {{if .Content}}{{$.i18n.Tr "repo.issues.add_label_at" .Label.ForegroundColor .Label.Color .Label.Name $createdStr | UnescapeLocale | Safe}}{{else}}{{$.i18n.Tr "repo.issues.remove_label_at" .Label.ForegroundColor .Label.Color .Label.Name $createdStr | UnescapeLocale | Safe}}{{end}}</span> </div> {{end}} {{else if eq .Type 8}} |