I18N: Add translator comments for XML-RPC strings with placeholders.
See #37792. git-svn-id: https://develop.svn.wordpress.org/trunk@38510 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a5cc61ef67
commit
cce5a95dfa
|
@ -5812,8 +5812,9 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
|
||||
$upload = wp_upload_bits($name, null, $bits);
|
||||
if ( ! empty($upload['error']) ) {
|
||||
$errorString = sprintf(__('Could not write file %1$s (%2$s).'), $name, $upload['error']);
|
||||
return new IXR_Error(500, $errorString);
|
||||
/* translators: 1: file name, 2: error message */
|
||||
$errorString = sprintf( __( 'Could not write file %1$s (%2$s).' ), $name, $upload['error'] );
|
||||
return new IXR_Error( 500, $errorString );
|
||||
}
|
||||
// Construct the attachment array
|
||||
$post_id = 0;
|
||||
|
@ -6383,7 +6384,8 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
*/
|
||||
do_action( 'pingback_post', $comment_ID );
|
||||
|
||||
return sprintf(__('Pingback from %1$s to %2$s registered. Keep the web talking! :-)'), $pagelinkedfrom, $pagelinkedto);
|
||||
/* translators: 1: URL of the page linked from, 2: URL of the page linked to */
|
||||
return sprintf( __( 'Pingback from %1$s to %2$s registered. Keep the web talking! :-)' ), $pagelinkedfrom, $pagelinkedto );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue