wordpress-develop/src/js/_enqueues
Dominik Schilling a7dc1bbef1 I18N: Use wp.i18n for translatable strings in wp-admin/js/set-post-thumbnail.js.
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.

Props swissspidy, ocean90.
See #20491.
Fixes #50605.

git-svn-id: https://develop.svn.wordpress.org/trunk@48396 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-07 18:53:50 +00:00
..
admin I18N: Use wp.i18n for translatable strings in wp-admin/js/set-post-thumbnail.js. 2020-07-07 18:53:50 +00:00
deprecated Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:41:36 +00:00
lib I18N: Use wp.i18n for translatable strings in wp-admin/js/nav-menu.js. 2020-07-07 18:28:41 +00:00
vendor Accessibility: Improve color contrast for the blue links :hover state. 2020-07-07 10:09:23 +00:00
wp I18N: Use wp.i18n for translatable strings in wp-admin/js/set-post-thumbnail.js. 2020-07-07 18:53:50 +00:00