diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2017-09-06 21:15:06 +0300 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2017-09-06 22:07:21 +0300 |
commit | 4d53b657737b9f539451092722f0fa1621234ba3 (patch) | |
tree | 44b70d5ede5a3f3dee460b50efef6ba233ef1801 /app/services | |
parent | 058c04fb2a552e2d426dff524d48190e168fe67d (diff) |
Make UpdateService error message translatable
Diffstat (limited to 'app/services')
-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 7955dc32d52..246aff6c0fa 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, 'cannot be disabled when the parent group Share 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 |