Download & Extend

Contact mail greeting should be friendly and translatable

Project:Drupal core
Version:7.x-dev
Component:contact.module
Category:bug report
Priority:normal
Assigned:Dave Reid
Status:closed (fixed)

Issue Summary

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.

AttachmentSizeStatusTest resultOperations
contact.module.patch1.11 KBIdleFailed: Failed to apply patch.View details

Comments

#1

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

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.

#2

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

#3

Status:active» needs review

Patch attached for review.

AttachmentSizeStatusTest resultOperations
417244-contact-be-polite-D7.patch1.5 KBIdleFailed: Failed to apply patch.View details

#4

Assigned to:Anonymous» Dave Reid

#5

Re-rolled for latest changes.

AttachmentSizeStatusTest resultOperations
417244-contact-be-polite-D7.patch1.29 KBIdleFailed: Failed to apply patch.View details

#6

Status:needs review» reviewed & tested by the community

Reasonable and good for translation!

#7

Status:reviewed & tested by the community» needs work

The last submitted patch failed testing.

#8

.

#9

Status:needs work» reviewed & tested by the community

Re-rolled only.

AttachmentSizeStatusTest resultOperations
417244-contact-be-polite-D7.patch1.33 KBIdlePassed on all environments.View details

#10

Status:reviewed & tested by the community» fixed

Committed to CVS HEAD. Thanks.

#11

Status:fixed» closed (fixed)

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

nobody click here