In hook_requirements(), for localization $t = get_t() should be used to retrieve the appropriate localization function name (t() or st()).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nileshlohar created an issue. See original summary.

nileshlohar’s picture

nileshlohar’s picture

Status: Active » Needs review
rivimey’s picture

Status: Needs review » Reviewed & tested by the community

Looks sensible to me.

wundo’s picture

wundo’s picture

Status: Reviewed & tested by the community » Fixed

  • wundo committed 6cc4bf6 on 7.x-1.x authored by nileshlohar
    Issue #2872900 by nileshlohar, rivimey, wundo: Use get_t() in...
wundo’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.