function _locale_export_remove_plural
Removes plural index information from a string
Related topics
1 call to _locale_export_remove_plural()
- _locale_export_po_generate in includes/
locale.inc - Generates the PO(T) file contents for given strings.
File
-
includes/
locale.inc, line 1869
Code
function _locale_export_remove_plural($entry) {
return preg_replace('/(@count)\\[[0-9]\\]/', '\\1', $entry);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.