Skip to:
Content

BuddyPress.org

Changeset 1617


Ignore:
Timestamp:
07/16/2009 02:40:47 PM (15 years ago)
Author:
apeatling
Message:

Fixing missing translation and template tag bug in new widgets

Location:
branches/1.0
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/bp-activity/bp-activity-widgets.php

    r1612 r1617  
    99class BP_Activity_Widget extends WP_Widget {
    1010    function bp_activity_widget() {
    11         parent::WP_Widget( false, $name = 'Site Wide Activity' );
     11        parent::WP_Widget( false, $name = __( 'Site Wide Activity', 'buddypress' ) );
    1212        wp_enqueue_style( 'bp-activity-widget-activity-css', BP_PLUGIN_URL . '/bp-activity/css/widget-activity.css' );     
    1313    }
  • branches/1.0/bp-blogs/bp-blogs-widgets.php

    r1612 r1617  
    99class BP_Blogs_Recent_Posts_Widget extends WP_Widget {
    1010    function bp_blogs_recent_posts_widget() {
    11         parent::WP_Widget( false, $name = 'Recent Site Wide Posts' );
     11        parent::WP_Widget( false, $name = __( 'Recent Site Wide Posts', 'buddypress' ) );
    1212        wp_enqueue_style( 'bp-blogs-widget-posts-css', BP_PLUGIN_URL . '/bp-blogs/css/widget-blogs.css' );     
    1313    }
  • branches/1.0/bp-core/bp-core-widgets.php

    r1612 r1617  
    7171class BP_Core_Members_Widget extends WP_Widget {
    7272    function bp_core_members_widget() {
    73         parent::WP_Widget( false, $name = 'Members' );
     73        parent::WP_Widget( false, $name = __( 'Members', 'buddypress' ) );
    7474        wp_enqueue_script( 'bp_core_widget_members-js', BP_PLUGIN_URL . '/bp-core/js/widget-members.js', array('jquery', 'jquery-livequery-pack') );       
    7575        wp_enqueue_style( 'bp_core_widget_members-css', BP_PLUGIN_URL . '/bp-core/css/widget-members.css' );
     
    102102
    103103                        <div class="item">
    104                             <div class="item-title fn"><a href="<?php bp_the_site_member_name() ?>" title="<?php bp_the_site_member_name() ?>"><?php bp_the_site_member_name() ?></a></div>
     104                            <div class="item-title fn"><a href="<?php bp_the_site_member_link() ?>" title="<?php bp_the_site_member_name() ?>"><?php bp_the_site_member_name() ?></a></div>
    105105                            <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( bp_get_the_site_member_registered(), __( 'registered %s ago', 'buddypress' ) ) ?></span></div>
    106106                        </div>
     
    145145class BP_Core_Whos_Online_Widget extends WP_Widget {
    146146    function bp_core_whos_online_widget() {
    147         parent::WP_Widget( false, $name = 'Who\'s Online Avatars' );
     147        parent::WP_Widget( false, $name = __( "Who's Online Avatars", 'buddypress' ) );
    148148    }
    149149
     
    199199class BP_Core_Recently_Active_Widget extends WP_Widget {
    200200    function bp_core_recently_active_widget() {
    201         parent::WP_Widget( false, $name = 'Recently Active Member Avatars' );
     201        parent::WP_Widget( false, $name = __( 'Recently Active Member Avatars' ) );
    202202    }
    203203
  • branches/1.0/bp-groups/bp-groups-widgets.php

    r1612 r1617  
    1212class BP_Groups_Widget extends WP_Widget {
    1313    function bp_groups_widget() {
    14         parent::WP_Widget( false, $name = 'Groups' );
     14        parent::WP_Widget( false, $name = __( 'Groups', 'buddypress' ) );
    1515        wp_enqueue_script( 'groups_widget_groups_list-js', BP_PLUGIN_URL . '/bp-groups/js/widget-groups.js', array('jquery', 'jquery-livequery-pack') );       
    1616        wp_enqueue_style( 'groups_widget_members-css', BP_PLUGIN_URL . '/bp-groups/css/widget-groups.css' );       
Note: See TracChangeset for help on using the changeset viewer.