Changeset 12459 for trunk/wp-includes/l10n.php
- Timestamp:
- 12/19/2009 10:51:29 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/l10n.php
r12257 r12459 240 240 241 241 /** 242 * @see _n() A version of _n(), which supports contexts -- 243 * strips everything from the translation after the last bar 244 * 245 */ 246 function _nc( $single, $plural, $number, $domain = 'default' ) { 247 return before_last_bar( _n( $single, $plural, $number, $domain ) ); 248 } 249 242 * A hybrid of _n() and _x(). It supports contexts and plurals. 243 * 244 * @see _n() 245 * @see _x() 246 * 247 */ 250 248 function _nx($single, $plural, $number, $context, $domain = 'default') { 251 249 $translations = &get_translations_for_domain( $domain );
Note: See TracChangeset
for help on using the changeset viewer.