Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/timelog.rb')
-rw-r--r--app/models/timelog.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/timelog.rb b/app/models/timelog.rb
index f4debedb656..c1aa84cbbcd 100644
--- a/app/models/timelog.rb
+++ b/app/models/timelog.rb
@@ -31,9 +31,9 @@ class Timelog < ApplicationRecord
def issuable_id_is_present
if issue_id && merge_request_id
- errors.add(:base, _('Only Issue ID or Merge Request ID is required'))
+ errors.add(:base, _('Only Issue ID or merge request ID is required'))
elsif issuable.nil?
- errors.add(:base, _('Issue or Merge Request ID is required'))
+ errors.add(:base, _('Issue or merge request ID is required'))
end
end