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
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-07 20:52:08 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-07 20:52:08 +0400
commite36108f75ba1c7f00886092197500ffc2fa618cc (patch)
tree964769b8909c03b3ba455bdd29473345622a3337 /app
parent38ae34a30131aef38623ac5cf8c510ad04fc26a6 (diff)
parent89c942908cc1d98dfd4af1f89b69704f691a0edf (diff)
Merge branch 'grammer_fix' into 'master'
Grammer Fix Should read like: ``` Your project limit is 10 projects! Please contact your administrator to increase it ``` Instead of: ``` Your own projects limit is 10! Please contact administrator to increase it ```
Diffstat (limited to 'app')
-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")