Changeset 45197
- Timestamp:
- 04/14/2019 01:48:59 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/admin/site-health.js
r45178 r45197 57 57 var template = wp.template( 'health-check-issue' ), 58 58 issueWrapper = $( '#health-check-issues-' + issue.status ), 59 heading; 59 heading, 60 count; 60 61 61 62 SiteHealth.site_status.issues[ issue.status ]++; 62 63 63 varcount = SiteHealth.site_status.issues[ issue.status ];64 count = SiteHealth.site_status.issues[ issue.status ]; 64 65 65 66 if ( 'critical' === issue.status ) { … … 146 147 ); 147 148 148 // translators: %s: The percentage score for the tests. 149 var text = __( 'All site health tests have finished running. Your site scored %s, and the results are now available on the page.' ); 150 wp.a11y.speak( sprintf( text, val + '%' ) ); 149 wp.a11y.speak( sprintf( 150 // translators: %s: The percentage score for the tests. 151 __( 'All site health tests have finished running. Your site scored %s, and the results are now available on the page.' ), 152 val + '%' 153 ) ); 151 154 } 152 155 }
Note: See TracChangeset
for help on using the changeset viewer.