Commit 89c942908cc1d98dfd4af1f89b69704f691a0edf
1 parent
14b68586
Exists in
spb-stable
and in
3 other branches
Fix project limit reached grammer.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/project.rb
@@ -240,7 +240,7 @@ class Project < ActiveRecord::Base | @@ -240,7 +240,7 @@ class Project < ActiveRecord::Base | ||
240 | 240 | ||
241 | def check_limit | 241 | def check_limit |
242 | unless creator.can_create_project? | 242 | unless creator.can_create_project? |
243 | - errors[:limit_reached] << ("Your own projects limit is #{creator.projects_limit}! Please contact administrator to increase it") | 243 | + errors[:limit_reached] << ("Your project limit is #{creator.projects_limit} projects! Please contact your administrator to increase it") |
244 | end | 244 | end |
245 | rescue | 245 | rescue |
246 | errors[:base] << ("Can't check your ability to create project") | 246 | errors[:base] << ("Can't check your ability to create project") |