How to translate strings available in JS library? I'm showing some images on my site where those are displayed using jquery.magnific-popup.min.js library. I'm not able to translate a string in that library. i.e. 


  "%curr% of %total%"


It is not searchable even in the translate interface. How can I translate it?
See the plugin's translation documentation for a list of strings and their option names.
Pass these strings through Drupal.t() when attaching your popup.