summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-08-25 00:09:10 +0000
committerGo MAEDA <maeda@farend.jp>2019-08-25 00:09:10 +0000
commit959b55779f0188b5fd59b7990200df10ffc6d4d4 (patch)
tree00a735d2119a10758ffc4ad5edf60715a76540d6 /app
parent8913da8aab8d2760a5ce8920ddb82cccf3488078 (diff)
downloadredmine-959b55779f0188b5fd59b7990200df10ffc6d4d4.tar.gz
redmine-959b55779f0188b5fd59b7990200df10ffc6d4d4.zip
Fix hard-coded string "no subject" in app/models/mail_handler.rb (#5820).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18388 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rwxr-xr-xapp/models/mail_handler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb
index 2aaa8bbf0..f0f0f41b1 100755
--- a/app/models/mail_handler.rb
+++ b/app/models/mail_handler.rb
@@ -199,7 +199,7 @@ class MailHandler < ActionMailer::Base
issue.safe_attributes = {'custom_field_values' => custom_field_values_from_keywords(issue)}
issue.subject = cleaned_up_subject
if issue.subject.blank?
- issue.subject = '(no subject)'
+ issue.subject = "(#{ll(Setting.default_language, :text_no_subject)})"
end
issue.description = cleaned_up_text_body
issue.start_date ||= User.current.today if Setting.default_issue_start_date_to_creation_date?