Feature #41450 » filename_in_subject_v2.diff
| app/models/mailer.rb | ||
|---|---|---|
|
added_to_url = url_for(:controller => 'documents', :action => 'show', :id => container.id)
|
||
|
added_to = "#{l(:label_document)}: #{container.title}"
|
||
|
end
|
||
|
if attachments.length > 0
|
||
|
title = l(:label_attachment_count,
|
||
|
:filename => attachments[0].filename,
|
||
|
:count => attachments.length-1)
|
||
|
else
|
||
|
# never happens
|
||
|
title = ""
|
||
|
end
|
||
|
redmine_headers 'Project' => container.project.identifier
|
||
|
@attachments = attachments
|
||
|
@user = user
|
||
|
@added_to = added_to
|
||
|
@added_to_url = added_to_url
|
||
|
mail :to => user,
|
||
|
:subject => "[#{container.project.name}] #{l(:label_attachment_new)}"
|
||
|
:subject => "[#{container.project.name}] #{l(:label_attachment_new)}#{title}"
|
||
|
end
|
||
|
# Notifies users about new attachments
|
||
| config/locales/en.yml | ||
|---|---|---|
|
text_user_destroy_confirmation: "Are you sure you want to delete this user and remove all references to them? This cannot be undone. Often, locking a user instead of deleting them is the better solution. To confirm, please enter their login (%{login}) below."
|
||
|
text_project_destroy_enter_identifier: "To confirm, please enter the project's identifier (%{identifier}) below."
|
||
|
field_name_or_email_or_login: Name, email or login
|
||
|
label_attachment_count:
|
||
|
zero: ": %{filename}"
|
||
|
one: ": %{filename} and 1 file"
|
||
|
other: ": %{filename} and %{count} files"
|
||
| config/locales/ja.yml | ||
|---|---|---|
|
setting_copy_attachments_on_issue_copy: チケットをコピーするとき添付ファイルもコピー
|
||
|
field_thousands_delimiter: 3桁区切り表示
|
||
|
label_involved_principals: 作成者 / 直前担当者
|
||
|
label_attachment_count:
|
||
|
zero: ": %{filename}"
|
||
|
other: ": %{filename}、他%{count}件"
|
||
- « Previous
- 1
- 2
- Next »