diff options
author | Jakob Sack <mail@jakobsack.de> | 2013-08-01 21:18:18 +0200 |
---|---|---|
committer | Jakob Sack <mail@jakobsack.de> | 2013-08-01 21:25:14 +0200 |
commit | 9673a563b567ee6f580c157a901f038f38f0b5a2 (patch) | |
tree | 699c20139788dd5f2528e87d2d26c81be99bdc12 /lib/l10n | |
parent | 495e44e76c15d43eb847dd73317bdb9d6926ff31 (diff) | |
download | nextcloud-server-9673a563b567ee6f580c157a901f038f38f0b5a2.tar.gz nextcloud-server-9673a563b567ee6f580c157a901f038f38f0b5a2.zip |
Create plural functions on the fly
Diffstat (limited to 'lib/l10n')
-rw-r--r-- | lib/l10n/string.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/l10n/string.php b/lib/l10n/string.php index 5b9dbaee8a2..8d83f1f61fb 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 = $localizations["selectplural"]( $count ); + $id = $l10n->getPluralFormFunction()( $count ); $text = $translations[$this->text][$id]; } else{ |