WordPress.org

Make WordPress Core

Ticket #8805: l10n.diff

File l10n.diff, 755 bytes (added by CharlesClarkson, 7 years ago)

Minor patch to inline documentation only.

  • l10n.php

     
    269269 *  $message = $messages[$type];
    270270 *  $usable_text = sprintf( translate_nooped_plural( $message, $count ), $count );
    271271 *
     272 * @see _nx_noop()
    272273 * @since 2.5
    273274 * @param string $single Single form to be i18ned
    274275 * @param string $plural Plural form to be i18ned
     
    282283 * Register plural strings with context in POT file, but don't translate them.
    283284 *
    284285 * @see _n_noop()
     286 * @since 2.5
    285287 */
    286288function _nx_noop( $singular, $plural, $context ) {
    287289        return array( 0 => $singular, 1 => $plural, 2 => $context, 'singular' => $singular, 'plural' => $plural, 'context' => $context );