Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/28/2020 01:35:36 PM (4 years ago)
Author:
imath
Message:

BP Core: add missing /* translators */ comments

See #8260

File:
1 edited

Legend:

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

    r12264 r12588  
    172172
    173173        if ( bp_core_delete_account( bp_displayed_user_id() ) ) {
    174             bp_core_add_message( sprintf( __( '%s has been deleted from the system.', 'buddypress' ), bp_get_displayed_user_fullname() ) );
     174            bp_core_add_message(
     175                /* translators: %s: member name */
     176                sprintf( _x( '%s has been deleted from the system.', 'deprecated string', 'buddypress' ), bp_get_displayed_user_fullname() )
     177            );
    175178        } else {
    176             bp_core_add_message( sprintf( __( 'There was an error deleting %s from the system. Please try again.', 'buddypress' ), bp_get_displayed_user_fullname() ), 'error' );
     179            bp_core_add_message(
     180                /* translators: %s: member name */
     181                sprintf( _x( 'There was an error deleting %s from the system. Please try again.', 'deprecated string', 'buddypress' ), bp_get_displayed_user_fullname() ),
     182                'error'
     183            );
     184
    177185            $errors = true;
    178186        }
Note: See TracChangeset for help on using the changeset viewer.