Download & Extend

Localization of 'New guestbook entry' e-mail subject

Project:Guestbook
Version:5.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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

AttachmentSize
guestbook.newentrymail.patch583 bytes

Comments

#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.

AttachmentSize
guestbook.e-mail.patch 2.9 KB
nobody click here