Changeset 6566
- Timestamp:
- 06/16/2017 05:31:39 PM (8 years ago)
- Location:
- trunk/src/includes/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/admin.php
r6564 r6566 694 694 * 695 695 * @param string $capability 696 * @return string Return 'keep_gate'capability696 * @return string Return minimum capability 697 697 */ 698 698 public function option_page_capability_bbpress( $capability = 'manage_options' ) { -
trunk/src/includes/admin/replies.php
r6438 r6566 260 260 */ 261 261 public function bulk_post_updated_messages( $bulk_messages, $bulk_counts ) { 262 263 $bulk_messages['reply']['updated'] = _n( '%s reply updated.', '%s replies updated.', $bulk_counts['updated'], 'bbpress' ); 264 $bulk_messages['reply']['locked'] = ( 1 === $bulk_counts['locked'] ) ? __( '1 reply not updated, somebody is editing it.', 'bbpress' ) : 265 _n( '%s reply not updated, somebody is editing it.', '%s replies not updated, somebody is editing them.', $bulk_counts['locked'], 'bbpress' ); 262 $bulk_messages['reply']['updated'] = _n( '%s reply updated.', '%s replies updated.', $bulk_counts['updated'], 'bbpress'); 263 $bulk_messages['reply']['locked'] = ( 1 === $bulk_counts['locked'] ) 264 ? __( '1 reply not updated, somebody is editing it.', 'bbpress' ) 265 : _n( '%s reply not updated, somebody is editing it.', '%s replies not updated, somebody is editing them.', $bulk_counts['locked'], 'bbpress' ); 266 266 267 return $bulk_messages; 267 268 } -
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.