Make WordPress Core


Ignore:
Timestamp:
03/13/2009 03:53:39 AM (16 years ago)
Author:
ryan
Message:

gettext comments. Props nbachiyski. see #9112

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/l10n.php

    r10767 r10774  
    223223 * @param $single Single form to be i18ned
    224224 * @param $plural Plural form to be i18ned
    225  * @param $number Not used, here for compatibility with _n, optional
    226  * @param $domain Not used, here for compatibility with _n, optional
    227225 * @return array array($single, $plural)
    228226 */
    229 function _n_noop( $single, $plural, $number = 1, $domain = 'default' ) {
     227function _n_noop( $single, $plural ) {
    230228    return array( $single, $plural );
    231229}
     230
     231/**
     232 * Register plural strings with context in POT file, but don't translate them.
     233 *
     234 * @see _n_noop()
     235 */
     236function _nx_noop( $single, $plural, $context ) {
     237    return array( $single, $plural, $context );
     238}
     239
    232240
    233241/**
Note: See TracChangeset for help on using the changeset viewer.