1 gettext.inc _locale_export_remove_plural($entry)

Removes plural index information from a string.

Related topics

File

core/includes/gettext.inc, line 1124
Gettext parsing and generating API.

Code

function _locale_export_remove_plural($entry) {
  return preg_replace('/(@count)\[[0-9]\]/', '\\1', $entry);
}