Changeset 6566 for trunk/src/includes/admin/topics.php
- Timestamp:
- 06/16/2017 05:31:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/topics.php
r6438 r6566 265 265 */ 266 266 public function bulk_post_updated_messages( $bulk_messages, $bulk_counts ) { 267 268 $bulk_messages['topic']['updated'] = _n( '%s topic updated.', '%s topics updated.', $bulk_counts['updated'], 'bbpress' ); 269 $bulk_messages['topic']['locked'] = ( 1 === $bulk_counts['locked'] ) ? __( '1 topic not updated, somebody is editing it.', 'bbpress' ) : 270 _n( '%s topic not updated, somebody is editing it.', '%s topics not updated, somebody is editing them.', $bulk_counts['locked'], 'bbpress' ); 267 $bulk_messages['topic']['updated'] = _n( '%s topic updated.', '%s topics updated.', $bulk_counts['updated'], 'bbpress' ); 268 $bulk_messages['topic']['locked'] = ( 1 === $bulk_counts['locked'] ) 269 ? __( '1 topic not updated, somebody is editing it.', 'bbpress' ) 270 : _n( '%s topic not updated, somebody is editing it.', '%s topics not updated, somebody is editing them.', $bulk_counts['locked'], 'bbpress' ); 271 271 272 return $bulk_messages; 272 273 }
Note: See TracChangeset
for help on using the changeset viewer.