Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/23/2014 06:30:22 PM (11 years ago)
Author:
djpaul
Message:

Rename "Avatar" to "Profile Photo".

"Profile photo" is probably more easily understood by most people (and translators), and better describes what BuddyPress' member and group avatar features actually are; that we're asking for a person's photograph. Sometimes, avatar can mean "graphic" or "illustration".

This subtle change in phrasing also makes BuddyPress more consistent with the significant majority of other online platform services (Twitter, Facebook, etc).

Fixes #5758, props sooskriszta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-classes.php

    r8675 r8677  
    824824        wp_cache_set( 'bp_user_url_' . $this->id, $this->user_url, 'bp' );
    825825
    826         $this->avatar       = bp_core_fetch_avatar( array( 'item_id' => $this->id, 'type' => 'full', 'alt' => sprintf( __( 'Avatar of %s', 'buddypress' ), $this->fullname ) ) );
    827         $this->avatar_thumb = bp_core_fetch_avatar( array( 'item_id' => $this->id, 'type' => 'thumb', 'alt' => sprintf( __( 'Avatar of %s', 'buddypress' ), $this->fullname ) ) );
    828         $this->avatar_mini  = bp_core_fetch_avatar( array( 'item_id' => $this->id, 'type' => 'thumb', 'alt' => sprintf( __( 'Avatar of %s', 'buddypress' ), $this->fullname ), 'width' => 30, 'height' => 30 ) );
     826        $this->avatar       = bp_core_fetch_avatar( array( 'item_id' => $this->id, 'type' => 'full', 'alt' => sprintf( __( 'Profile photo of %s', 'buddypress' ), $this->fullname ) ) );
     827        $this->avatar_thumb = bp_core_fetch_avatar( array( 'item_id' => $this->id, 'type' => 'thumb', 'alt' => sprintf( __( 'Profile photo of %s', 'buddypress' ), $this->fullname ) ) );
     828        $this->avatar_mini  = bp_core_fetch_avatar( array( 'item_id' => $this->id, 'type' => 'thumb', 'alt' => sprintf( __( 'Profile photo of %s', 'buddypress' ), $this->fullname ), 'width' => 30, 'height' => 30 ) );
    829829        $this->last_active  = bp_core_get_last_activity( bp_get_user_last_activity( $this->id ), __( 'active %s', 'buddypress' ) );
    830830    }
Note: See TracChangeset for help on using the changeset viewer.