Make WordPress Core


Ignore:
Timestamp:
11/15/2016 04:27:49 AM (9 years ago)
Author:
rmccue
Message:

REST API: Add translator comments to text with placeholders.

Props dimadin.
Fixes #38791.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php

    r39223 r39238  
    12241224            foreach ( $avatar_sizes as $size ) {
    12251225                $avatar_properties[ $size ] = array(
    1226                     'description' => sprintf( __( 'Avatar URL with image size of %d pixels.' ), $size ),
     1226                    'description' => sprintf( __( /* translators: %d: avatar image size in pixels */ 'Avatar URL with image size of %d pixels.' ), $size ),
    12271227                    'type'        => 'string',
    12281228                    'format'      => 'uri',
Note: See TracChangeset for help on using the changeset viewer.