diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-18 15:09:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-18 15:09:21 +0300 |
commit | a300f4d5c7fdd5d557288ee526986e0adb683b35 (patch) | |
tree | 8fb18970393c8b4e3b9681262b0318db00f7ba51 /app/models/project_group_link.rb | |
parent | 7bbc9509dc0567d2a2d8314e99179aaad33ba361 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/project_group_link.rb')
-rw-r--r-- | app/models/project_group_link.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_group_link.rb b/app/models/project_group_link.rb index 2ba3c74df5b..9f9447c1de2 100644 --- a/app/models/project_group_link.rb +++ b/app/models/project_group_link.rb @@ -9,7 +9,7 @@ class ProjectGroupLink < ApplicationRecord validates :project_id, presence: true validates :group, presence: true - validates :group_id, uniqueness: { scope: [:project_id], message: _("already shared with this group") } + validates :group_id, uniqueness: { scope: [:project_id], message: N_("already shared with this group") } validates :group_access, presence: true validates :group_access, inclusion: { in: Gitlab::Access.values }, presence: true validate :different_group |