Add translation support for 'Display' and 'Edit' in toggle_filedetails and makeAJAXLoadFileDetails
Replaced hardcoded 'Display' and 'Edit' strings with Drupal.t() for translation support in the toggle_filedetails and makeAJAXLoadFileDetails functions.
Closes #2829702