diff options
author | James Lakin <jamesorlakin@users.noreply.github.com> | 2020-02-07 16:38:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-07 17:38:18 +0100 |
commit | 6e6da2c2765ef7b350a7c9139ffb2444f2383151 (patch) | |
tree | 680a366540a4babe88c7cad5c0241673a5d1446f /templates/user/dashboard/issues.tmpl | |
parent | cf33a18a5c1cfc0a9995da48af61aefc7f2d2ac3 (diff) | |
download | gitea-6e6da2c2765ef7b350a7c9139ffb2444f2383151.tar.gz gitea-6e6da2c2765ef7b350a7c9139ffb2444f2383151.zip |
Tweak locale to respect singular conflicting file message in P… (#10177)
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Diffstat (limited to 'templates/user/dashboard/issues.tmpl')
-rw-r--r-- | templates/user/dashboard/issues.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index 113dcf21f8..a5d7c1454e 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -153,7 +153,7 @@ {{end}} {{if .IsPull}} {{if (len .PullRequest.ConflictedFiles) gt 0}} - <span class="conflicting"><i class="octicon octicon-mirror"></i> {{$.i18n.Tr "repo.pulls.num_conflicting_files" (len .PullRequest.ConflictedFiles)}}</span> + <span class="conflicting"><i class="octicon octicon-mirror"></i> {{$.i18n.Tr (TrN $.i18n.Lang (len .PullRequest.ConflictedFiles) "repo.pulls.num_conflicting_files_1" "repo.pulls.num_conflicting_files_n") (len .PullRequest.ConflictedFiles)}}</span> {{end}} {{end}} </p> |