Advertisements

_n_noop

Definition:
function _n_noop( $singular, $plural ) {}

Register plural strings in POT file, but don’t translate them.
Used when you want to keep structures with translatable plural strings and use them later.

Parameters

  • string $singular: Single form to be i18ned
  • string $plural: Plural form to be i18ned

Return values

returns:array($singular, $plural)

Source code

function _n_noop( $singular, $plural ) {

	return array( 0 => $singular, 1 => $plural, 'singular' => $singular, 'plural' => $plural, 'context' => null );

}

4349

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: