if (empty($record) || ($record->profile_id != $entity->profile_id)) {
        $links['default'] = array(
          '#markup' => l('set as default', 'user/' .$user->uid. '/addressbook/' . $entity->type . '/default/' . $entity->profile_id . '/nojs', array('attributes' => array('class' => array('use-ajax')))),
          '#suffix' => ' | ',
        );
      }
      $links['edit'] = array(
        '#markup' => l('edit', 'user/' .$user->uid. '/addressbook/' . $entity->type . '/edit/' . $entity->profile_id),
        '#suffix' => ' | ',
      );
      $links['delete'] = array('#markup' => l('delete', 'user/' .$user->uid. '/addressbook/' . $entity->type . '/delete/' . $entity->profile_id));

link labels must be wrapped in t('')

Comments

bojanz’s picture

Status: Active » Closed (duplicate)

Already fixed. Update to RC2 or the latest -dev.