Make WordPress Core

Changeset 38510


Ignore:
Timestamp:
09/02/2016 04:12:52 AM (8 years ago)
Author:
SergeyBiryukov
Message:

I18N: Add translator comments for XML-RPC strings with placeholders.

See #37792.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r38509 r38510  
    58135813        $upload = wp_upload_bits($name, null, $bits);
    58145814        if ( ! empty($upload['error']) ) {
    5815             $errorString = sprintf(__('Could not write file %1$s (%2$s).'), $name, $upload['error']);
    5816             return new IXR_Error(500, $errorString);
     5815            /* translators: 1: file name, 2: error message */
     5816            $errorString = sprintf( __( 'Could not write file %1$s (%2$s).' ), $name, $upload['error'] );
     5817            return new IXR_Error( 500, $errorString );
    58175818        }
    58185819        // Construct the attachment array
     
    63846385        do_action( 'pingback_post', $comment_ID );
    63856386
    6386         return sprintf(__('Pingback from %1$s to %2$s registered. Keep the web talking! :-)'), $pagelinkedfrom, $pagelinkedto);
     6387        /* translators: 1: URL of the page linked from, 2: URL of the page linked to */
     6388        return sprintf( __( 'Pingback from %1$s to %2$s registered. Keep the web talking! :-)' ), $pagelinkedfrom, $pagelinkedto );
    63876389    }
    63886390
Note: See TracChangeset for help on using the changeset viewer.