Drupal 6.12 was complaining at the Translation Import page because there was something wrong with t() function implementation on line 15. I can't figure out what it was, but I've changed line 15 and expanded it to 2 lines (15-16) and now it seems to work just fine.

This is the "corrected" code:

15: $t1 = array('@profile_node' => t(node_get_types('name', $type)));
16: $text = t($element['#admin'] ? "Create the user's ".$t1."." : "Create your ".$t1.".");

Maybe it'll help someone...

Comments

CyberGhost636’s picture

Oooops :)
There's a typo in that code. This one is valid:

15: $t1 = t(node_get_types('name', $type));
16: $text = t($element['#admin'] ? "Create the user's ".$t1."." : "Create your ".$t1.".");
fago’s picture

Status: Needs review » Needs work