diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-07 20:52:08 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-07 20:52:08 +0400 |
commit | e36108f75ba1c7f00886092197500ffc2fa618cc (patch) | |
tree | 964769b8909c03b3ba455bdd29473345622a3337 | |
parent | 38ae34a30131aef38623ac5cf8c510ad04fc26a6 (diff) | |
parent | 89c942908cc1d98dfd4af1f89b69704f691a0edf (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
```
-rw-r--r-- | app/models/project.rb | 2 |
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") |