Ticket #10540: ngettext_with_context_patch.patch
File ngettext_with_context_patch.patch, 622 bytes (added by , 15 years ago) |
---|
-
l10n.php
253 253 function _nx($single, $plural, $number, $context, $domain = 'default') { 254 254 $translations = &get_translations_for_domain( $domain ); 255 255 $translation = $translations->translate_plural( $single, $plural, $number, $context ); 256 return apply_filters( 'ngettext_with_context 256 return apply_filters( 'ngettext_with_context', $translation, $single, $plural, $number, $context, $domain ); 257 257 } 258 258 259 259 /**