Correct to use label_copied_from translation key

This commit is contained in:
Iku Iwasa
2020-11-30 23:47:31 +09:00
parent 4b74808a6f
commit 5e7b1813c0

View File

@@ -201,6 +201,8 @@ class Messenger
key = detail.prop_key.to_s.sub('_id', '')
title = if key == 'parent'
I18n.t "field_#{key}_issue"
elsif key == 'copied_from'
I18n.t "label_#{key}"
else
I18n.t "field_#{key}"
end