Commit e36108f75ba1c7f00886092197500ffc2fa618cc
Exists in
spb-stable
and in
3 other branches
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 ```
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 | 240 | |
| 241 | 241 | def check_limit |
| 242 | 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 | 244 | end |
| 245 | 245 | rescue |
| 246 | 246 | errors[:base] << ("Can't check your ability to create project") | ... | ... |