function _locale_export_remove_plural

_locale_export_remove_plural($entry)

Removes plural index information from a string

Related topics

File

includes/locale.inc, line 1866
Administration functions for locale.module.

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!locale.inc/function/_locale_export_remove_plural/7.x