WordPress/wp-admin/js
Andrea Fercia e901bc4c2b Accessibility: Improve the Comments and Privacy count text.
- standardizes the Comment count string to `%s Comment in moderation', '%s Comments in moderation` so it can be bulk-updated
- adds the string as visually hidden text in the admin menu 
- introduces an `updateInModerationText` JS simple function, responsible to correctly update all the related text using the data from the AJAX response
- adds a visually hidden text "1 Privacy Policy update" to the Privacy menu items count
- adds/improves translators comments

Changes that apply to all the count bubbles (Updates, plugins, etc.)
- makes the bubbles and their text slightly bigger
- improves the active menu item bubble contrast by changing the background color to red (option 2 in the screenshot attached in a previous comment)

Props adamsoucie, afercia.
Fixes #33030.

Built from https://develop.svn.wordpress.org/trunk@44924


git-svn-id: http://core.svn.wordpress.org/trunk@44755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-18 15:22:53 +00:00
..
widgets Widgets: Remove `change` event when editing a Custom HTML widget. 2019-03-07 22:26:49 +00:00
accordion.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
accordion.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
code-editor.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
code-editor.min.js Code Editor: Define default `gutters` and toggle lint markers based on changes to `lint` option. 2017-10-24 16:35:54 +00:00
color-picker.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
color-picker.min.js Accessibility: Improve the color picker UI accessibility, interaction, and generated markup. 2017-09-03 16:02:46 +00:00
comment.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
comment.min.js Comment status box: Move focus back to Edit link when changing the date. 2015-07-26 02:26:24 +00:00
common.js Administration: Save column visibility on small screens. 2019-02-01 02:14:51 +00:00
common.min.js Administration: Save column visibility on small screens. 2019-02-01 02:14:51 +00:00
custom-background.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
custom-background.min.js Customize: Improve custom background properties UI. 2016-10-26 06:52:29 +00:00
custom-header.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-controls.js Customizer: Use the `sandbox` attribute to prevent top navigation from the preview. 2019-01-14 07:25:50 +00:00
customize-controls.min.js Customizer: Use the `sandbox` attribute to prevent top navigation from the preview. 2019-01-14 07:25:50 +00:00
customize-nav-menus.js Admin: Don't use the `keyup` event in addition to the `input` event. 2019-01-10 02:57:50 +00:00
customize-nav-menus.min.js Admin: Don't use the `keyup` event in addition to the `input` event. 2019-01-10 02:57:50 +00:00
customize-widgets.js Accessibility: Customize: Improve the widgets search and the widget Remove button. 2019-03-09 12:56:54 +00:00
customize-widgets.min.js Accessibility: Customize: Improve the widgets search and the widget Remove button. 2019-03-09 12:56:54 +00:00
dashboard.js Accessibility: Improve the placeholder "prompt" text in the post title and Quick Draft widget. 2019-03-14 17:39:53 +00:00
dashboard.min.js Accessibility: Improve the placeholder "prompt" text in the post title and Quick Draft widget. 2019-03-14 17:39:53 +00:00
edit-comments.js Accessibility: Improve the Comments and Privacy count text. 2019-03-18 15:22:53 +00:00
edit-comments.min.js Accessibility: Improve the Comments and Privacy count text. 2019-03-18 15:22:53 +00:00
editor-expand.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
editor-expand.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
editor.js TinyMCE: treat HTML comments same as tags when keeping cursor position. Fixes breaking the More and Nextpage tags when switching from Text to Visual. 2019-01-18 16:33:51 +00:00
editor.min.js TinyMCE: treat HTML comments same as tags when keeping cursor position. Fixes breaking the More and Nextpage tags when switching from Text to Visual. 2019-01-18 16:33:51 +00:00
farbtastic.js
gallery.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
gallery.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
image-edit.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
image-edit.min.js Media: Fix image cropping on touch screen devices. 2018-03-09 17:27:31 +00:00
inline-edit-post.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
inline-edit-post.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
inline-edit-tax.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
inline-edit-tax.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
iris.min.js Customize: Add hue-only mode to color picker. 2016-10-25 22:33:30 +00:00
language-chooser.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
language-chooser.min.js Language chooser imporvements. 2014-08-04 20:47:16 +00:00
link.js Docs: Improve JSDoc for `admin/link.js`. 2018-06-28 02:32:22 +00:00
link.min.js Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
media-gallery.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
media-gallery.min.js Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
media-upload.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
media-upload.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
media.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
media.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
nav-menu.js Menus: Remove error styling when the user addresses the error. 2019-01-21 22:10:49 +00:00
nav-menu.min.js Menus: Remove error styling when the user addresses the error. 2019-01-21 22:10:49 +00:00
password-strength-meter.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
password-strength-meter.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
plugin-install.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
plugin-install.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
post.js Accessibility: Improve the placeholder "prompt" text in the post title and Quick Draft widget. 2019-03-14 17:39:53 +00:00
post.min.js Accessibility: Improve the placeholder "prompt" text in the post title and Quick Draft widget. 2019-03-14 17:39:53 +00:00
postbox.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
postbox.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
revisions.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
revisions.min.js JavaScript: when starting Backbone history, stop if previously started. 2017-02-17 22:00:42 +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 General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
svg-painter.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
svg-painter.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
tags-box.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
tags-box.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
tags-suggest.js Docs: Restore `output` annotation in `tags-suggest.js`. 2019-01-10 02:50:51 +00:00
tags-suggest.min.js REST API: Restore use of `wp_ajax_ajax_tag_search()` for tag search. 2019-01-10 02:37:51 +00:00
tags.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
tags.min.js Taxonomy: Add a "delete" button on term edit page. 2017-05-12 19:26:41 +00:00
theme-plugin-editor.js Plugin Editor: Disable the documentation look up button when no function is selected. 2019-01-16 06:01:50 +00:00
theme-plugin-editor.min.js Plugin Editor: Disable the documentation look up button when no function is selected. 2019-01-16 06:01:50 +00:00
theme.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
theme.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
updates.js Importers: Use correct l10n variable in `wp.updates.installImporterError` and filesystem credentials dialog. 2019-01-07 13:49:49 +00:00
updates.min.js Importers: Use correct l10n variable in `wp.updates.installImporterError` and filesystem credentials dialog. 2019-01-07 13:49:49 +00:00
user-profile.js Accessibility: Improve the password form buttons accessibility. 2019-03-13 23:37:57 +00:00
user-profile.min.js Accessibility: Improve the password form buttons accessibility. 2019-03-13 23:37:57 +00:00
user-suggest.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
user-suggest.min.js Autocomplete for the new site admin email. Better than trying to remember which email address you used. 2014-01-27 23:10:12 +00:00
widgets.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
widgets.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
word-count.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
word-count.min.js Editor: word count: better names for types. 2015-07-27 11:19:26 +00:00
wp-fullscreen-stub.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-fullscreen-stub.min.js Editor: 2015-06-01 17:38:29 +00:00
xfn.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
xfn.min.js Privacy: fix styling on personal data tables. 2018-05-10 16:02:21 +00:00