use i18n function tt() to translate the title label and body label.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 602742.patch | 1.41 KB | aufumy |
| activitystream_i18n_nodetype.patch | 1.37 KB | aufumy |
use i18n function tt() to translate the title label and body label.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 602742.patch | 1.41 KB | aufumy |
| activitystream_i18n_nodetype.patch | 1.37 KB | aufumy |
Comments
Comment #1
aufumy commentedUsing wrappers for tt() instead.
Comment #2
akalsey commentedShouldn't this call t() if the i18nstrings module is missing?
Comment #3
akalsey commentedComment #4
aufumy commentedAs per common.inc "However tempting it is, custom data from user input or other non-code sources should not be passed through t()"
More details/discussion here:
http://drupal.org/node/606804#comment-2270442
Comment #5
morbus iffWon't fix. You never translate user data, and the general request doesn't apply in 7.x-3.x.