Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/25/2009 03:53:13 AM (16 years ago)
Author:
apeatling
Message:

Fixes #488 and a large number of localization issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-ajax.php

    r1069 r1138  
    174174                    <?php bp_group_member_avatar_mini() ?>
    175175
    176                     <h5><?php bp_group_member_link() ?> (banned) <span class="small"> &mdash; <a href="<?php bp_group_member_unban_link() ?>" title="Kick and ban this member">Remove Ban</a> </h5>
     176                    <h5><?php bp_group_member_link() ?> <?php _e( '(banned)', 'buddypress' ) ?> <span class="small"> &mdash; <a href="<?php bp_group_member_unban_link() ?>" title="<?php _e( 'Kick and ban this member', 'buddypress' ) ?>"><?php _e( 'Remove Ban', 'buddypress' ) ?></a> </h5>
    177177            <?php else : ?>
    178178                <li>
    179179                    <?php bp_group_member_avatar_mini() ?>
    180                     <h5><?php bp_group_member_link() ?>  <span class="small"> &mdash; <a href="<?php bp_group_member_ban_link() ?>" title="Kick and ban this member">Kick &amp; Ban</a> | <a href="<?php bp_group_member_promote_link() ?>" title="Promote this member">Promote to Moderator</a></span></h5>
     180                    <h5><?php bp_group_member_link() ?>  <span class="small"> &mdash; <a href="<?php bp_group_member_ban_link() ?>" title="<?php _e( 'Kick and ban this member', 'buddypress' ) ?>"><?php _e( 'Kick &amp; Ban', 'buddypress' ) ?></a> | <a href="<?php bp_group_member_promote_link() ?>" title="<?php _e( 'Promote this member', 'buddypress' ) ?>"><?php _e( 'Promote to Moderator', 'buddypress' ) ?></a></span></h5>
    181181
    182182            <?php endif; ?>
     
    243243            <li>
    244244                <div class="item-avatar">
    245                     <img src="<?php echo $group->avatar_thumb ?>" class="avatar" alt="<?php echo $group->name ?> Avatar" />
     245                    <img src="<?php echo $group->avatar_thumb ?>" class="avatar" alt="<?php echo $group->name ?> <?php _e( 'Avatar', 'buddypress' ) ?>" />
    246246                </div>
    247247
    248248                <div class="item">
    249249                    <div class="item-title"><a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><?php echo $group->name ?></a></div>
    250                     <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, 'last_activity' ), __('active %s ago') ) ?></span></div>
     250                    <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, 'last_activity' ), __( 'active %s ago', 'buddypress' ) ) ?></span></div>
    251251                    <div class="item-meta desc"><?php echo bp_create_excerpt( $group->description ) ?></div>
    252252                </div>
     
    258258                        <?php echo ucwords($group->status) ?> <?php _e( 'Group', 'buddypress' ) ?> /
    259259                        <?php if ( 1 == $member_count ) : ?>
    260                             <?php _e( sprintf( '%d member', $member_count ), 'buddypress' ) ?>
     260                            <?php printf( __( '%d member', 'buddypress' ), $member_count ) ?>
    261261                        <?php else : ?>
    262                             <?php _e( sprintf( '%d members', $member_count ), 'buddypress' ) ?>
     262                            <?php _e( '%d members', 'buddypress' ) ?>
    263263                        <?php endif; ?>
    264264                    </div>
Note: See TracChangeset for help on using the changeset viewer.