? return_true_at_bottom_211886.patch
? translatable_message_before_points_211887.patch
Index: userpoints.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/userpoints/userpoints.module,v
retrieving revision 1.44.2.14.2.48
diff -u -p -r1.44.2.14.2.48 userpoints.module
--- userpoints.module	6 Jan 2008 14:26:04 -0000	1.44.2.14.2.48
+++ userpoints.module	19 Jan 2008 12:12:51 -0000
@@ -515,7 +515,7 @@ function userpoints_userpointsapi($param
       // Do not process the points
       return array (
         'status' => false,
-        'reason' => '$key returned false from the hook_userpoints points before call',
+        'reason' => t('%key returned false from the hook_userpoints points before call', array('%key' => $key)),
       );
     }
   }
