diff options
author | Lauris BH <lauris@nix.lv> | 2019-05-04 23:32:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-04 23:32:37 +0300 |
commit | 410301f0eee6d5cc37d483147bf64526708f0f72 (patch) | |
tree | 09e159df482ec7a1e20b91b8fa3e6e6b92f98f41 /templates/repo | |
parent | 46373e765702a203bfcb576c9d3639314ef4965f (diff) | |
download | gitea-410301f0eee6d5cc37d483147bf64526708f0f72.tar.gz gitea-410301f0eee6d5cc37d483147bf64526708f0f72.zip |
Improve localization of git activity stats (#6848)
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/activity.tmpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/repo/activity.tmpl b/templates/repo/activity.tmpl index 5b6559c8bf..8ee5b55904 100644 --- a/templates/repo/activity.tmpl +++ b/templates/repo/activity.tmpl @@ -92,14 +92,15 @@ <div class="ui attached segment text"> {{.i18n.Tr "repo.activity.git_stats_exclude_merges" }} <strong>{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.AuthorCount "repo.activity.git_stats_author_1" "repo.activity.git_stats_author_n") .Activity.Code.AuthorCount }}</strong> - {{.i18n.Tr "repo.activity.git_stats_pushed" }} + {{.i18n.Tr (TrN .i18n.Lang .Activity.Code.AuthorCount "repo.activity.git_stats_pushed_1" "repo.activity.git_stats_pushed_n") }} <strong>{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.CommitCount "repo.activity.git_stats_commit_1" "repo.activity.git_stats_commit_n") .Activity.Code.CommitCount }}</strong> {{.i18n.Tr "repo.activity.git_stats_push_to_branch" .Repository.DefaultBranch }} <strong>{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.CommitCountInAllBranches "repo.activity.git_stats_commit_1" "repo.activity.git_stats_commit_n") .Activity.Code.CommitCountInAllBranches }}</strong> {{.i18n.Tr "repo.activity.git_stats_push_to_all_branches" }} {{.i18n.Tr "repo.activity.git_stats_on_default_branch" .Repository.DefaultBranch }} <strong>{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.ChangedFiles "repo.activity.git_stats_file_1" "repo.activity.git_stats_file_n") .Activity.Code.ChangedFiles }}</strong> - {{.i18n.Tr "repo.activity.git_stats_files_changed" }} + {{.i18n.Tr (TrN .i18n.Lang .Activity.Code.ChangedFiles "repo.activity.git_stats_files_changed_1" "repo.activity.git_stats_files_changed_n") }} + {{.i18n.Tr "repo.activity.git_stats_additions" }} <strong class="text green">{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.Additions "repo.activity.git_stats_addition_1" "repo.activity.git_stats_addition_n") .Activity.Code.Additions }}</strong> {{.i18n.Tr "repo.activity.git_stats_and_deletions" }} <strong class="text red">{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.Deletions "repo.activity.git_stats_deletion_1" "repo.activity.git_stats_deletion_n") .Activity.Code.Deletions }}</strong>. |