summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorHeinrich Lee Yu <heinrich@gitlab.com>2019-08-13 00:40:39 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2019-08-13 00:40:39 +0000
commit7a6ecbcb18e691d88d22b400973ebeb81390e9fd (patch)
treecea76ff8126c7d3e2917af3b5a00389a1211034d /app/services
parent2de17d12d6d8daf1296526ca0b594cf61f808339 (diff)
downloadgitlab-ce-7a6ecbcb18e691d88d22b400973ebeb81390e9fd.tar.gz
Improve quick action error messages
Standardize punctuation and format
Diffstat (limited to 'app/services')
-rw-r--r--app/services/notes/create_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notes/create_service.rb b/app/services/notes/create_service.rb
index a09272f0d83..248e81080cc 100644
--- a/app/services/notes/create_service.rb
+++ b/app/services/notes/create_service.rb
@@ -53,7 +53,7 @@ module Notes
# We must add the error after we call #save because errors are reset
# when #save is called
if only_commands
- note.errors.add(:commands_only, message.presence || _('Commands did not apply'))
+ note.errors.add(:commands_only, message.presence || _('Failed to apply commands.'))
end
end