It looks like, if you delete the 'media_folders' vocabulary, this triggers an if() statement that then tries to use st() for translation, but that isn't available.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

janusman created an issue. See original summary.

janusman’s picture

Attaching patch for review.

  • das-peter committed cc9ff5b on 7.x-3.x authored by janusman
    Issue #2857126 by janusman: Deleting 'media_folders' vocabulary triggers...
  • das-peter committed f132a38 on 7.x-3.x
    Issue #2857126 followup: Only detect t function if it's actually needed.
    
das-peter’s picture

Status: Needs review » Fixed

Thanks :) Looks good to me. Made a little adjustment to define $t only if required.
Committed and pushed

Status: Fixed » Closed (fixed)

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