Skip to:
Content

BuddyPress.org


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/bp-wire-templatetags.php

    r367 r391  
    122122       
    123123        if ( !$message )
    124                 $empty_message = __("There are currently no wire posts.");
     124                $empty_message = __("There are currently no wire posts.", 'buddypress');
    125125       
    126126        if ( !$title )
    127                 $title = __('Wire');
     127                $title = __('Wire', 'buddypress');
    128128       
    129129        /* Pass them as globals, using the same name doesn't work. */
     
    228228        global $bp;
    229229       
    230         echo '<a href="' . $bp['loggedin_domain'] . $bp['profile']['slug'] . '">' . __('You') . '</a>';
     230        echo '<a href="' . $bp['loggedin_domain'] . $bp['profile']['slug'] . '">' . __('You', 'buddypress') . '</a>';
    231231}
    232232
     
    248248        if ( ( $wire_posts_template->wire_post->user_id == $bp['loggedin_userid'] ) || $bp['is_item_admin'] ) {
    249249                if ( $bp['current_component'] == 'wire' || $bp['current_component'] == 'profile' ) {
    250                         echo '<a href="' . $bp['current_domain'] . $bp['wire']['slug'] . '/delete/' . $wire_posts_template->wire_post->id . '">[' . __('Delete') . ']</a>';
     250                        echo '<a href="' . $bp['current_domain'] . $bp['wire']['slug'] . '/delete/' . $wire_posts_template->wire_post->id . '">[' . __('Delete', 'buddypress') . ']</a>';
    251251                } else {
    252                         echo '<a href="' . $bp['current_domain'] . $bp[$bp['current_component']]['slug'] . '/' . $uri . '/wire/delete/' . $wire_posts_template->wire_post->id . '">[' . __('Delete') . ']</a>';
     252                        echo '<a href="' . $bp['current_domain'] . $bp[$bp['current_component']]['slug'] . '/' . $uri . '/wire/delete/' . $wire_posts_template->wire_post->id . '">[' . __('Delete', 'buddypress') . ']</a>';
    253253                }
    254254        }
Note: See TracChangeset for help on using the changeset viewer.