REST API: Add translator comments to text with placeholders.
Props dimadin. Fixes #38791. Built from https://develop.svn.wordpress.org/trunk@39238 git-svn-id: http://core.svn.wordpress.org/trunk@39178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1223,7 +1223,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
|
||||
$avatar_sizes = rest_get_avatar_sizes();
|
||||
foreach ( $avatar_sizes as $size ) {
|
||||
$avatar_properties[ $size ] = array(
|
||||
'description' => sprintf( __( 'Avatar URL with image size of %d pixels.' ), $size ),
|
||||
'description' => sprintf( __( /* translators: %d: avatar image size in pixels */ 'Avatar URL with image size of %d pixels.' ), $size ),
|
||||
'type' => 'string',
|
||||
'format' => 'uri',
|
||||
'context' => array( 'embed', 'view', 'edit' ),
|
||||
|
||||
Reference in New Issue
Block a user