Make WordPress Core


Ignore:
Timestamp:
03/18/2009 02:43:45 AM (17 years ago)
Author:
ryan
Message:

Trim trailing whitespace

File:
1 edited

Legend:

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

    r10774 r10810  
    231231/**
    232232 * Register plural strings with context in POT file, but don't translate them.
    233  * 
     233 *
    234234 * @see _n_noop()
    235235 */
     
    261261
    262262    if ( !is_readable($mofile)) return;
    263    
     263
    264264    $mo = new MO();
    265265    $mo->import_from_file( $mofile );
     
    267267    if (isset($l10n[$domain]))
    268268        $mo->merge_with( $l10n[$domain] );
    269        
     269
    270270    $l10n[$domain] = &$mo;
    271271}
     
    339339 * Returns the Translations instance for a domain. If there isn't one,
    340340 * returns empty Translations instance.
    341  * 
     341 *
    342342 * @param string $domain
    343343 * @return object A Translation instance
     
    353353 * not in the source there are dummy gettext calls to get them into the POT
    354354 * file and this function properly translates them back.
    355  * 
     355 *
    356356 * The before_last_bar() call is needed, because older installs keep the roles
    357357 * using the old context format: 'Role name|User role' and just skipping the
Note: See TracChangeset for help on using the changeset viewer.