WordPress/wp-admin/js
Dominik Schilling 4a21cda313 I18N: Use wp.i18n for translatable strings in wp-admin/js/widgets.js.
This removes the usage of `$scripts->add_inline_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.

Fixes #50600.
Built from https://develop.svn.wordpress.org/trunk@48387


git-svn-id: http://core.svn.wordpress.org/trunk@48156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 17:01:06 +00:00
..
widgets Docs: Replace @returns tags in JS docs with @return. 2019-11-29 18:01:03 +00:00
accordion.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
accordion.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
code-editor.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
code-editor.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
color-picker.js I18N: Use wp.i18n for translatable strings in wp-admin/js/color-picker.js. 2020-07-07 16:10:05 +00:00
color-picker.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/color-picker.js. 2020-07-07 16:10:05 +00:00
comment.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
comment.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
common.js I18N: Use wp.i18n for translatable strings in wp-admin/js/common.js. 2020-07-01 19:50:02 +00:00
common.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/common.js. 2020-07-01 19:50:02 +00:00
custom-background.js Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
custom-background.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
custom-header.js Docs: Replace @returns tags in JS docs with @return. 2019-11-29 18:01:03 +00:00
customize-controls.js Customize: Ensure the default message in LockedNotification is set to a string instead of null. 2020-06-29 09:49:05 +00:00
customize-controls.min.js Customize: Ensure the default message in LockedNotification is set to a string instead of null. 2020-06-29 09:49:05 +00:00
customize-nav-menus.js Customize: When a menu item is removed from the menu, uncheck its source item on the available items panel. 2020-02-25 11:14:08 +00:00
customize-nav-menus.min.js Customize: When a menu item is removed from the menu, uncheck its source item on the available items panel. 2020-02-25 11:14:08 +00:00
customize-widgets.js Administration: Capitalize Trash consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
customize-widgets.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
dashboard.js Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
dashboard.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
edit-comments.js I18N: Fix typo in [48348]. 2020-07-06 21:34:04 +00:00
edit-comments.min.js I18N: Fix typo in [48348]. 2020-07-06 21:34:04 +00:00
editor-expand.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
editor-expand.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
editor.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
editor.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
farbtastic.js Farbtastic 1.3u. Props flashingcursor. fixes #14707 2010-11-11 16:34:22 +00:00
gallery.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
gallery.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
image-edit.js Accessibility: Media: Improve accessibility of the status and error messages in the Image Editor. 2020-07-07 13:45:02 +00:00
image-edit.min.js Accessibility: Media: Improve accessibility of the status and error messages in the Image Editor. 2020-07-07 13:45:02 +00:00
inline-edit-post.js Posts: Provide a HiDPI version for the avatar used in post locked dialogs. 2020-07-05 13:00:07 +00:00
inline-edit-post.min.js Posts: Provide a HiDPI version for the avatar used in post locked dialogs. 2020-07-05 13:00:07 +00:00
inline-edit-tax.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
inline-edit-tax.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
iris.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
language-chooser.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
language-chooser.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
link.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
link.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
media-gallery.js Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
media-gallery.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
media-upload.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
media-upload.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
media.js I18N: Use wp.i18n for translatable strings in wp-admin/js/media.js. 2020-07-07 16:14:06 +00:00
media.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/media.js. 2020-07-07 16:14:06 +00:00
nav-menu.js Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
nav-menu.min.js Menus: Restore the title of the currently active/expanded menu item when clicking "Cancel" after editing. 2020-02-16 06:27:08 +00:00
password-strength-meter.js Coding Standards: Reformat some long apply_filters_deprecated() and do_action_deprecated() calls for better readability. 2020-06-25 12:06:07 +00:00
password-strength-meter.min.js General: Rename (add|remove)_option_allowed_list() to (add|remove)_allowed_option(). 2020-06-23 18:54:16 +00:00
plugin-install.js Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
plugin-install.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
post.js I18N: Use wp.i18n for translatable strings in wp-admin/js/post.js. 2020-07-07 16:49:05 +00:00
post.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/post.js. 2020-07-07 16:49:05 +00:00
postbox.js Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard. 2020-07-07 13:00:02 +00:00
postbox.min.js Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard. 2020-07-07 13:00:02 +00:00
privacy-tools.js I18N: Use wp.i18n for translatable strings in wp-admin/js/privacy-tools.js. 2020-07-02 11:11:06 +00:00
privacy-tools.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/privacy-tools.js. 2020-07-02 11:11:06 +00:00
revisions.js Docs: Improve comments in js/_enqueues/wp/revisions.js per the documentation standards. 2020-01-29 00:37:04 +00:00
revisions.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
set-post-thumbnail.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
set-post-thumbnail.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
site-health.js Coding Standards: Wrap some long lines in wp-admin/js/site-health.js per the JS coding standards for better readability. 2020-07-04 19:56:07 +00:00
site-health.min.js Accessibility: Site Health: Improve the "Copy site info" button accessibility. 2020-06-30 13:26:03 +00:00
svg-painter.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
svg-painter.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
tags-box.js I18N: Use wp.i18n for translatable strings in wp-admin/js/tags-box.js and wp-admin/js/tags-suggest.js. 2020-07-06 21:00:03 +00:00
tags-box.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/tags-box.js and wp-admin/js/tags-suggest.js. 2020-07-06 21:00:03 +00:00
tags-suggest.js I18N: Use wp.i18n for translatable strings in wp-admin/js/tags-box.js and wp-admin/js/tags-suggest.js. 2020-07-06 21:00:03 +00:00
tags-suggest.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/tags-box.js and wp-admin/js/tags-suggest.js. 2020-07-06 21:00:03 +00:00
tags.js I18N: Use wp.i18n for translatable strings in wp-admin/js/tags.js. 2020-07-06 19:47:03 +00:00
tags.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/tags.js. 2020-07-06 19:47:03 +00:00
theme-plugin-editor.js I18N: Use wp.i18n for translatable strings in wp-admin/js/theme-plugin-editor.js. 2020-07-06 19:35:07 +00:00
theme-plugin-editor.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/theme-plugin-editor.js. 2020-07-06 19:35:07 +00:00
theme.js Docs: Use a hyphen with the "non" prefix in a more consistent way. 2020-06-20 12:16:10 +00:00
theme.min.js Themes: Ensure the theme slug is set before checking if the theme is installed or active. 2020-06-13 14:26:07 +00:00
updates.js Docs: Replace "AJAX" with "Ajax" in DocBlocks and comments, per the spelling glossary. 2020-06-25 12:43:07 +00:00
updates.min.js Plugins and Themes Auto-Updates: 2020-06-19 16:51:14 +00:00
user-profile.js I18N: Use wp.i18n for translatable strings in wp-admin/js/user-profile.js. 2020-07-01 20:38:01 +00:00
user-profile.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/user-profile.js. 2020-07-01 20:38:01 +00:00
user-suggest.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
user-suggest.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
widgets.js I18N: Use wp.i18n for translatable strings in wp-admin/js/widgets.js. 2020-07-07 17:01:06 +00:00
widgets.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/widgets.js. 2020-07-07 17:01:06 +00:00
word-count.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
word-count.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
xfn.js Privacy tools: Organize privacy functions into logical files and classes. 2019-05-26 20:50:53 +00:00
xfn.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00