Minor copy changes (#3074)

* Minor copy changes
Fixes #3058

* Use TrN for translations that depend on count
Fix minor type with branches count
This commit is contained in:
techknowlogick 2017-12-03 15:52:30 -05:00 committed by Lauris BH
parent ab62da283a
commit 993b86628b
3 changed files with 4 additions and 3 deletions

View file

@ -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.