diff options
author | techknowlogick <techknowlogick@users.noreply.github.com> | 2017-12-03 15:52:30 -0500 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-12-03 22:52:30 +0200 |
commit | 993b86628bdf62c0565c2a57a73561bb2d535b22 (patch) | |
tree | a4775e86f296baa31d8462ab185c963c4c75df52 /modules | |
parent | ab62da283aa20475109eba907324f55123d7e3c6 (diff) | |
download | gitea-993b86628bdf62c0565c2a57a73561bb2d535b22.tar.gz gitea-993b86628bdf62c0565c2a57a73561bb2d535b22.zip |
Minor copy changes (#3074)
* Minor copy changes
Fixes #3058
* Use TrN for translations that depend on count
Fix minor type with branches count
Diffstat (limited to 'modules')
-rw-r--r-- | modules/context/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/repo.go b/modules/context/repo.go index e8d084c342..66250a0f3e 100644 --- a/modules/context/repo.go +++ b/modules/context/repo.go @@ -407,7 +407,7 @@ func RepoAssignment() macaron.Handler { return } ctx.Data["Branches"] = brs - ctx.Data["BrancheCount"] = len(brs) + ctx.Data["BranchesCount"] = len(brs) // If not branch selected, try default one. // If default branch doesn't exists, fall back to some other branch. |