diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-11 00:09:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-11 00:09:47 +0300 |
commit | 7b2f94166965e60329129e5a919e2c3d88f23c7a (patch) | |
tree | 8fa395403cbffd6138b36bf36430e243f3f07f85 /app/models/suggestion.rb | |
parent | 6fd750c19206412cfc52b49a70b56147d839c52f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/suggestion.rb')
-rw-r--r-- | app/models/suggestion.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/suggestion.rb b/app/models/suggestion.rb index ff564d87449..f1ca5c23997 100644 --- a/app/models/suggestion.rb +++ b/app/models/suggestion.rb @@ -50,6 +50,7 @@ class Suggestion < ApplicationRecord next _("Can't apply as the source branch was deleted.") unless noteable.source_branch_exists? next outdated_reason if outdated?(cached: cached) || !note.active? next _("This suggestion already matches its content.") unless different_content? + next _("This file was modified for readability, and can't accept suggestions. Edit it directly.") if file_path.end_with? "ipynb" end end |