Commit 1924e500 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Don't translate `Commit#change_type_title` now

parent 11c957f5
# coding: utf-8
class Commit
extend ActiveModel::Naming
......@@ -139,7 +138,7 @@ class Commit
safe_message.split("\n", 2)[1].try(:chomp)
end
def description?
description.present?
end
......@@ -292,7 +291,7 @@ class Commit
end
def change_type_title(user)
merged_merge_request?(user) ? s_('ChangeType|merge request') : s_('ChangeType|commit')
merged_merge_request?(user) ? 'merge request' : 'commit'
end
# Get the URI type of the given path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment