summaryrefslogtreecommitdiffstats
path: root/app/models/role.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-21 12:39:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-21 12:39:48 +0000
commit2a6692248b8976141997c4418561bb0800baf2da (patch)
tree68c7fe2afb20e1daa1790cdc3e61a06a53768ba9 /app/models/role.rb
parente2998505b2403a70c233cf96fac8432e950bf47d (diff)
downloadredmine-2a6692248b8976141997c4418561bb0800baf2da.tar.gz
redmine-2a6692248b8976141997c4418561bb0800baf2da.zip
Replaced "can't" with "cannot" in error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/role.rb')
-rw-r--r--app/models/role.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/role.rb b/app/models/role.rb
index 790b0426c..2db77a1a0 100644
--- a/app/models/role.rb
+++ b/app/models/role.rb
@@ -204,8 +204,8 @@ private
end
def check_deletable
- raise "Can't delete role" if members.any?
- raise "Can't delete builtin role" if builtin?
+ raise "Cannot delete role" if members.any?
+ raise "Cannot delete builtin role" if builtin?
end
def self.find_or_create_system_role(builtin, name)