_locale_export_remove_plural
- Versions
- 4.6 – 7
_locale_export_remove_plural($entry)
Removes plural index information from a string
Code
includes/locale.inc, line 1218
<?php
function _locale_export_remove_plural($entry) {
return preg_replace('/(%count)\[[0-9]\]/', '\\1', $entry);
}
?>Login or register to post comments 