Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Frye <joshfng@gmail.com>2014-04-05 00:17:21 +0400
committerJosh Frye <joshfng@gmail.com>2014-04-05 00:17:21 +0400
commit89c942908cc1d98dfd4af1f89b69704f691a0edf (patch)
treeaf763f4b16a134ea12bf9e12b971eb2e4a81457f /app/models
parent14b68586b8c2187d918a2d6c8cad51a72e2b51cd (diff)
Fix project limit reached grammer.
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 79066e1c54a..386ab542a68 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -240,7 +240,7 @@ class Project < ActiveRecord::Base
def check_limit
unless creator.can_create_project?
- errors[:limit_reached] << ("Your own projects limit is #{creator.projects_limit}! Please contact administrator to increase it")
+ errors[:limit_reached] << ("Your project limit is #{creator.projects_limit} projects! Please contact your administrator to increase it")
end
rescue
errors[:base] << ("Can't check your ability to create project")