[development] Simpletest question

Daniel F. Kudwien news at unleashedmind.com
Tue Jan 26 16:45:45 UTC 2010


> I don't see the use for t() here. This is pure technical 
> information, why should they be translated?

As of now, we use t() in tests.

To eventually change this, see http://drupal.org/node/500866

However, even when changing this, it's likely that we will still use t() in situations like:

> > 	25    $this->pass('There are '.$row->count.' compounds in
> > cpd_compounds');

Otherwise, $row->count or whatever other variable would be displayed unfiltered to the browser.


sun



More information about the development mailing list