translate node type title label and body label

aufumy - October 12, 2009 - 22:16
Project:Activity Stream
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

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

AttachmentSize
activitystream_i18n_nodetype.patch1.37 KB

#1

aufumy - October 14, 2009 - 16:26

Using wrappers for tt() instead.

AttachmentSize
602742.patch 1.41 KB

#2

akalsey - November 7, 2009 - 01:40

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

#3

akalsey - November 7, 2009 - 01:40
Status:needs review» needs work

#4

aufumy - November 16, 2009 - 12:25
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

 
 

Drupal is a registered trademark of Dries Buytaert.