235
232
* @param string $domain Optional. The domain identifier the text should be retrieved in
236
233
* @return string Either $single or $plural translated text
238
function _n($single, $plural, $number, $domain = 'default') {
235
function _n( $single, $plural, $number, $domain = 'default' ) {
239
236
$translations = &get_translations_for_domain( $domain );
240
237
$translation = $translations->translate_plural( $single, $plural, $number );
241
238
return apply_filters( 'ngettext', $translation, $single, $plural, $number, $domain );