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-cover-image.php

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