Changeset 52139
- Timestamp:
- 11/11/2021 05:19:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/wp/updates.js
r50547 r52139 34 34 __ = wp.i18n.__, 35 35 _x = wp.i18n._x, 36 _n = wp.i18n._n, 36 37 sprintf = wp.i18n.sprintf; 37 38 … … 353 354 itemCount; 354 355 355 $adminBarUpdates.find( '.ab-item' ).removeAttr( 'title' );356 356 $adminBarUpdates.find( '.ab-label' ).text( settings.totals.counts.total ); 357 $adminBarUpdates.find( '.updates-available-text' ).text( 358 sprintf( 359 /* translators: %s: Total number of updates available. */ 360 _n( '%s update available', '%s updates available', settings.totals.counts.total ), 361 settings.totals.counts.total 362 ) 363 ); 357 364 358 365 // Remove the update count from the toolbar if it's zero.
Note: See TracChangeset
for help on using the changeset viewer.