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/classes/class-bp-attachment-avatar.php

    r12547 r12588  
    3838            // Specific errors for avatars.
    3939            'upload_error_strings'  => array(
    40                 9  => sprintf( __( 'That photo is too big. Please upload one smaller than %s', 'buddypress' ), size_format( bp_core_avatar_original_max_filesize() ) ),
    41                 10 => sprintf( _n( 'Please upload only this file type: %s.', 'Please upload only these file types: %s.', count( $allowed_types ), 'buddypress' ), self::get_avatar_types( $allowed_types ) ),
     40                /* translators: %s: Max file size for the profile photo */
     41                9  => sprintf( _x( 'That photo is too big. Please upload one smaller than %s', 'profile photo upload error', 'buddypress' ), size_format( bp_core_avatar_original_max_filesize() ) ),
     42
     43                /* translators: %s: comma separated list of file types allowed for the profile photo */
     44                10 => sprintf( _nx( 'Please upload only this file type: %s.', 'Please upload only these file types: %s.', count( $allowed_types ), 'profile photo upload error', 'buddypress' ), self::get_avatar_types( $allowed_types ) ),
    4245            ),
    4346        ) );
Note: See TracChangeset for help on using the changeset viewer.