プロジェクト

全般

プロフィール

Vote #67553

完了

Hard-coded string "no subject" in app/models/mail_handler.rb

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
I18n_37
対象バージョン:
開始日:
2010/07/05
期日:
進捗率:

0%

予定工数:
category_id:
37
version_id:
127
issue_org_id:
5820
author_id:
8362
assigned_to_id:
332
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明


if issue.subject.blank?
issue.subject = '(no subject)'
end
hardcoded in source:app/models/mail_handler.rb

Maybe it can be localized?


My env:

About your application's environment
Ruby version 1.8.7 (i486-linux)
RubyGems version 1.3.7
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root /opt/redmine
Environment development
Database adapter mysql
Database schema version 20100313171051


journals

Mistyped: hardcoded entry in source:/trunk/app/models/mail_handler.rb

russian translation is

<pre>
field_no_subject: Нет темы
</pre>
--------------------------------------------------------------------------------
I attached a patch.
The subject language is Setting.default_language, not the user language(The reason is the same as #31427#note-9)
--------------------------------------------------------------------------------
Setting the target version to 4.1.0.
--------------------------------------------------------------------------------
Committed the patch. Thank you for your contribution.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリI18n_37 にセット
  • 対象バージョン4.1.0_127 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0