diff options
author | Michael Kozono <mkozono@gmail.com> | 2017-09-06 11:31:45 -0700 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2017-09-06 12:07:21 -0700 |
commit | 1feeea9c6af5d683f18c021df16e4eedfa9306e0 (patch) | |
tree | 4869cd4d3b9e839a4eba612c9da5205b73dafbe6 /app/services/groups | |
parent | a887194abd2ea0c0cbcd24f0ff7630800d3eec12 (diff) | |
download | gitlab-ce-1feeea9c6af5d683f18c021df16e4eedfa9306e0.tar.gz |
Refer to “Share with group lock” consistentlyimprove-share-locking-feature-for-subgroups
Diffstat (limited to 'app/services/groups')
-rw-r--r-- | app/services/groups/update_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/groups/update_service.rb b/app/services/groups/update_service.rb index 246aff6c0fa..08e3efb96e3 100644 --- a/app/services/groups/update_service.rb +++ b/app/services/groups/update_service.rb @@ -30,7 +30,7 @@ module Groups return true unless changing_share_with_group_lock? return true if can?(current_user, :change_share_with_group_lock, group) - group.errors.add(:share_with_group_lock, s_('GroupSettings|cannot be disabled when the parent group Share with group lock is enabled, except by the owner of the parent group')) + group.errors.add(:share_with_group_lock, s_('GroupSettings|cannot be disabled when the parent group "Share with group lock" is enabled, except by the owner of the parent group')) false end |