Localization of 'New guestbook entry' e-mail subject
toniw - December 13, 2008 - 17:21
| Project: | Guestbook |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
There appears to be no t() call on the subject text of the e-mail that is sent upon new guestbook entries. While patching that for my setup I also added the display of the name of the user that did the entry. The subject of the mail now says: New guestbook entry by @username
| Attachment | Size |
|---|---|
| guestbook.newentrymail.patch | 583 bytes |

#1
True. Additionally, the body of the mail does not make sense at all (no other module sends out the actual content via e-mail).
Attached patch
- introduces a e-mail body, using the Token style, but without proper Token module integration. That's because (at least) Notifications module already provides Token integration and I want to work on proper integration with Notifications and Subscriptions modules soon.
- makes subject and body localizable
Please test.