Skip to content

Commit

Permalink
use translated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
adelowo committed Jul 28, 2018
1 parent cbf4c92 commit bf402c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/repo/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ func CollaborationPost(ctx *context.Context) {
}

if !u.IsActive {
ctx.Flash.Error("cannot add an inactive user as a collaborator")
ctx.Flash.Error(ctx.Tr("repo.settings.add_collaborator_inactive_user"))
ctx.Redirect(setting.AppSubURL + ctx.Req.URL.Path)
return
}
Expand Down

0 comments on commit bf402c7

Please sign in to comment.