Skip to:
Content

BuddyPress.org

Changeset 391 for trunk/bp-wire.php


Ignore:
Timestamp:
10/12/2008 08:19:04 PM (18 years ago)
Author:
apeatling
Message:

Added the 'buddypress' textdomain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-wire.php

    r373 r391  
    5959
    6060        /* 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'] );
    6262        bp_core_add_nav_default( $bp['wire']['slug'], 'bp_wire_screen_latest', 'all-posts' );
    6363
    6464        /* 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' );
    6666       
    6767        if ( $bp['current_component'] == $bp['wire']['slug'] ) {
    6868                if ( bp_is_home() ) {
    69                         $bp['bp_options_title'] = __('My Wire');
     69                        $bp['bp_options_title'] = __('My Wire', 'buddypress');
    7070                } else {
    7171                        $bp['bp_options_avatar'] = bp_core_get_avatar( $bp['current_userid'], 1 );
     
    9191       
    9292        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');
    9494                $bp['message_type'] = 'success';
    9595
     
    115115       
    116116        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');
    118118                $bp['message_type'] = 'success';
    119119               
Note: See TracChangeset for help on using the changeset viewer.