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.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 417244-contact-be-polite-D7.patch | 1.33 KB | dave reid |
| #5 | 417244-contact-be-polite-D7.patch | 1.29 KB | dave reid |
| #3 | 417244-contact-be-polite-D7.patch | 1.5 KB | dave reid |
| contact.module.patch | 1.11 KB | arnd |
Comments
Comment #1
dave reidWe 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.
Comment #2
dave reidComment #3
dave reidPatch attached for review.
Comment #4
dave reidComment #5
dave reidRe-rolled for latest changes.
Comment #6
andypostReasonable and good for translation!
Comment #8
mattyoung commented.
Comment #9
dave reidRe-rolled only.
Comment #10
dries commentedCommitted to CVS HEAD. Thanks.