diff options
author | Jakob Sack <mail@jakobsack.de> | 2013-08-01 21:36:33 +0200 |
---|---|---|
committer | Jakob Sack <mail@jakobsack.de> | 2013-08-01 21:36:33 +0200 |
commit | eee2c369d9b743634a062ad0c0b9f85496cecc87 (patch) | |
tree | 9ceb89e301efa5e2aef1a18dfce1f5d4a4e255cf | |
parent | 9673a563b567ee6f580c157a901f038f38f0b5a2 (diff) | |
download | nextcloud-server-eee2c369d9b743634a062ad0c0b9f85496cecc87.tar.gz nextcloud-server-eee2c369d9b743634a062ad0c0b9f85496cecc87.zip |
Fix copy and paste errors in l10n.php
-rw-r--r-- | lib/l10n.php | 2 | ||||
-rw-r--r-- | lib/l10n/string.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/l10n.php b/lib/l10n.php index 208fa930c99..ab2de5d9f19 100644 --- a/lib/l10n.php +++ b/lib/l10n.php @@ -320,7 +320,7 @@ class OC_L10N{ * * 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); diff --git a/lib/l10n/string.php b/lib/l10n/string.php index 8d83f1f61fb..c72b744a7ec 100644 --- a/lib/l10n/string.php +++ b/lib/l10n/string.php @@ -23,7 +23,7 @@ class OC_L10N_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{ |