All pastes #764691 Raw Edit

Jacob Redding

public php v1 · immutable
·published 2007-11-07 14:01 UTC
rendered paste body
function userpoints_translation() {  static $trans;    if (!isset($trans)) {    $trans = array(      '!Points' => variable_get(USERPOINTS_TRANS_UCPOINTS, 'Points'),      '!points' => variable_get(USERPOINTS_TRANS_LCPOINTS, 'points'),      '!point'  => variable_get(USERPOINTS_TRANS_LCPOINT, 'point'),      '!Uncategorized'  => variable_get(USERPOINTS_TRANS_UNCAT, 'Uncategorized'),      );  }  return $trans;}