mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Adds a specific string for password changed notification (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15399 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b553b23e6b
commit
2da406e12a
@ -313,8 +313,7 @@ class Mailer < ActionMailer::Base
|
|||||||
# Notifies user that his password was updated
|
# Notifies user that his password was updated
|
||||||
def self.password_updated(user)
|
def self.password_updated(user)
|
||||||
Mailer.security_notification(user,
|
Mailer.security_notification(user,
|
||||||
message: :mail_body_security_notification_change,
|
message: :mail_body_password_updated,
|
||||||
field: :field_password,
|
|
||||||
title: :button_change_password,
|
title: :button_change_password,
|
||||||
url: {controller: 'my', action: 'password'}
|
url: {controller: 'my', action: 'password'}
|
||||||
).deliver
|
).deliver
|
||||||
|
|||||||
@ -236,6 +236,7 @@ en:
|
|||||||
mail_body_security_notification_notify_enabled: "Email address %{value} now receives notifications."
|
mail_body_security_notification_notify_enabled: "Email address %{value} now receives notifications."
|
||||||
mail_body_security_notification_notify_disabled: "Email address %{value} no longer receives notifications."
|
mail_body_security_notification_notify_disabled: "Email address %{value} no longer receives notifications."
|
||||||
mail_body_settings_updated: "The following settings were changed:"
|
mail_body_settings_updated: "The following settings were changed:"
|
||||||
|
mail_body_password_updated: "Your password has been changed."
|
||||||
|
|
||||||
field_name: Name
|
field_name: Name
|
||||||
field_description: Description
|
field_description: Description
|
||||||
|
|||||||
@ -249,6 +249,7 @@ fr:
|
|||||||
mail_subject_wiki_content_updated: "Page wiki '%{id}' mise à jour"
|
mail_subject_wiki_content_updated: "Page wiki '%{id}' mise à jour"
|
||||||
mail_body_wiki_content_updated: "La page wiki '%{id}' a été mise à jour par %{author}."
|
mail_body_wiki_content_updated: "La page wiki '%{id}' a été mise à jour par %{author}."
|
||||||
mail_body_settings_updated: "Les paramètres suivants ont été modifiés :"
|
mail_body_settings_updated: "Les paramètres suivants ont été modifiés :"
|
||||||
|
mail_body_password_updated: "Votre mot de passe a été changé."
|
||||||
|
|
||||||
field_name: Nom
|
field_name: Nom
|
||||||
field_description: Description
|
field_description: Description
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user