use i18n function tt() to translate the title label and body label.

CommentFileSizeAuthor
#1 602742.patch1.41 KBaufumy
activitystream_i18n_nodetype.patch1.37 KBaufumy

Comments

aufumy’s picture

StatusFileSize
new1.41 KB

Using wrappers for tt() instead.

akalsey’s picture

Shouldn't this call t() if the i18nstrings module is missing?

akalsey’s picture

Status: Needs review » Needs work
aufumy’s picture

Status: Needs work » Needs review

As 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

morbus iff’s picture

Status: Needs review » Closed (won't fix)

Won't fix. You never translate user data, and the general request doesn't apply in 7.x-3.x.