Needs work
Project:
Content Profile
Version:
6.x-1.0-beta4
Component:
Base module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2009 at 04:19 UTC
Updated:
31 Jul 2009 at 17:51 UTC
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
Comment #1
CyberGhost636 commentedOooops :)
There's a typo in that code. This one is valid:
Comment #2
fagopls have a look at http://drupal.org/patch/create