The salutation string is untranslatable and consists only of the user name. If the user name is the surname or the full name this is unacceptable, at least in german.

Please make it translatable like in the attached patch. Better would be a configurable solution, like for the site-wide contact form.

Comments

dave reid’s picture

Version: 6.10 » 7.x-dev
Category: feature » bug

We should use some sort of approach like:
t('Hello @username,', array('@username => $account->name))

Also must be fixed in Drupal 7 (HEAD) first.

Also marked #514798: Be more polite in contact mail as a duplicate of this.

dave reid’s picture

Title: salutation in email sent from personal contact form can be extremely impolite » Contact mail greeting should be friendly and translatable
dave reid’s picture

Status: Active » Needs review
StatusFileSize
new1.5 KB

Patch attached for review.

dave reid’s picture

Assigned: Unassigned » dave reid
dave reid’s picture

StatusFileSize
new1.29 KB

Re-rolled for latest changes.

andypost’s picture

Status: Needs review » Reviewed & tested by the community

Reasonable and good for translation!

Status: Reviewed & tested by the community » Needs work

The last submitted patch failed testing.

mattyoung’s picture

.

dave reid’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new1.33 KB

Re-rolled only.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.