Changeset 391 for trunk/bp-wire.php
- Timestamp:
- 10/12/2008 08:19:04 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-wire.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-wire.php
r373 r391 59 59 60 60 /* Add 'Wire' to the main navigation */ 61 bp_core_add_nav_item( __('Wire' ), $bp['wire']['slug'] );61 bp_core_add_nav_item( __('Wire', 'buddypress'), $bp['wire']['slug'] ); 62 62 bp_core_add_nav_default( $bp['wire']['slug'], 'bp_wire_screen_latest', 'all-posts' ); 63 63 64 64 /* Add the subnav items to the wire nav */ 65 bp_core_add_subnav_item( $bp['wire']['slug'], 'all-posts', __('All Posts' ), $bp['loggedin_domain'] . $bp['wire']['slug'] . '/', 'bp_wire_screen_latest' );65 bp_core_add_subnav_item( $bp['wire']['slug'], 'all-posts', __('All Posts', 'buddypress'), $bp['loggedin_domain'] . $bp['wire']['slug'] . '/', 'bp_wire_screen_latest' ); 66 66 67 67 if ( $bp['current_component'] == $bp['wire']['slug'] ) { 68 68 if ( bp_is_home() ) { 69 $bp['bp_options_title'] = __('My Wire' );69 $bp['bp_options_title'] = __('My Wire', 'buddypress'); 70 70 } else { 71 71 $bp['bp_options_avatar'] = bp_core_get_avatar( $bp['current_userid'], 1 ); … … 91 91 92 92 if ( $wire_post_id = bp_wire_new_post( $bp['current_userid'], $_POST['wire-post-textarea'], $bp['profile']['table_name_wire'] ) ) { 93 $bp['message'] = __('Wire message successfully posted.' );93 $bp['message'] = __('Wire message successfully posted.', 'buddypress'); 94 94 $bp['message_type'] = 'success'; 95 95 … … 115 115 116 116 if ( bp_wire_delete_post( $bp['action_variables'][0], $bp['profile']['table_name_wire'] ) ) { 117 $bp['message'] = __('Wire message successfully deleted.' );117 $bp['message'] = __('Wire message successfully deleted.', 'buddypress'); 118 118 $bp['message_type'] = 'success'; 119 119
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)