The TinyMCE imagebrowser does not have access to certain strings when outside the view/blocks.php page.
It has the strings in view/blocks.php due to that page also having a filebrowser pieform present that contains the lang strings we need.
So to fix this we need to first look in lib/form/elements/filebrowser.php and within the pieform_element_filebrowser_get_headdata() at about lines 1498-1505 we see the $strings bit that we need.
We need to add that to the pieform_element_wysiwyg_get_headdata() in lib/form/elements/wysiwyg.php
The TinyMCE imagebrowser does not have access to certain strings when outside the view/blocks.php page.
It has the strings in view/blocks.php due to that page also having a filebrowser pieform present that contains the lang strings we need.
So to fix this we need to first look in lib/form/ elements/ filebrowser. php and within the pieform_ element_ filebrowser_ get_headdata( ) at about lines 1498-1505 we see the $strings bit that we need.
We need to add that to the pieform_ element_ wysiwyg_ get_headdata( ) in lib/form/ elements/ wysiwyg. php