Dominik Schilling (ocean90) a8e72a12f1 I18N: Introduce load_script_translations() as a wrapper for loading and filtering translation data for JavaScript files.
* Introduces `pre_load_script_translations` to short-circuit the function.
* Introduces `load_script_translation_file` to filter the file path for loading script translations.
* Introduces `load_script_translations` to filter the JSON-encoded translation data.

Props johnbillion, strategio, swissspidy, dimadin, ocean90.
See .

git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44232 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-16 15:53:34 +00:00
Description
No description provided
269 MiB
Languages
PHP 81.6%
CSS 8.8%
JavaScript 8.1%
SCSS 0.8%
HTML 0.7%