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
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
comment.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
comment.min.js
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
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
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
language-chooser.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
language-chooser.min.js
link.js Docs: Improve JSDoc for admin/link.js. 2018-06-28 02:32:22 +00:00
link.min.js
media-gallery.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
media-gallery.min.js
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
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
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
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
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
wp-fullscreen-stub.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
wp-fullscreen-stub.min.js
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