I18N: Merge duplicate %1$s is not of type %2$s strings in rest_validate_value_from_schema().

Props ramiy.
Fixes #49244.

git-svn-id: https://develop.svn.wordpress.org/trunk@47091 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-01-20 14:42:12 +00:00
parent 8738b08b2e
commit 26f27a24d8

View File

@ -1221,7 +1221,7 @@ function rest_validate_value_from_schema( $value, $args, $param = '' ) {
}
/* translators: 1: Parameter, 2: List of types. */
return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s is not of type %2$s' ), $param, implode( ',', $args['type'] ) ) );
return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s is not of type %2$s.' ), $param, implode( ',', $args['type'] ) ) );
}
if ( 'array' === $args['type'] ) {