*
* returned function accepts the argument $n
*/
- public function getPluralFormString() {
+ public function getPluralFormFunction() {
$this->init();
if(is_null($this->plural_form_function)) {
$this->plural_form_function = createPluralFormFunction($this->plural_form_string);
$text = $this->text;
if(array_key_exists($this->text, $translations)) {
if(is_array($translations[$this->text])) {
- $id = $l10n->getPluralFormFunction()( $count );
+ $id = $l10n->getPluralFormFunction()($count);
$text = $translations[$this->text][$id];
}
else{