Is there any clean way to alter the close "Close or Esc Key" text in the TB_closeAjaxWindow element?

Seems like $js_settings within _thickbox_doheader() is abstracted to some extent, but is there a good way to alter it?

Reason...
Pretty edge, but I embed Drupal powered "web parts" inside a software product and these use thickbox to display getting started videos.
Because the software does not link the ESC key to the browser area where thickbox is displayed it doesn't work, so the messaging is incorrect.

Comments

doublejosh’s picture

ping.

frjo’s picture

You can translate them to something else, including a space " " if you don't want them to show. You can specify translations in the conf variable in settings.php if they are few.

doublejosh’s picture

Status: Active » Closed (won't fix)

Lovely. Thanks for the support.