diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-02-20 11:51:36 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-02-20 11:51:36 +0100 |
commit | ae60108692a2c34b0ab474e7d9fa35bb8b689992 (patch) | |
tree | ac9a5ff605cd17a3f9f738b32afd8ecac7540b18 /lib/private/l10n.php | |
parent | 3ab9ad2d7849c58e3b1048e49d158a1742aa4fd4 (diff) | |
download | nextcloud-server-ae60108692a2c34b0ab474e7d9fa35bb8b689992.tar.gz nextcloud-server-ae60108692a2c34b0ab474e7d9fa35bb8b689992.zip |
Revert "Correctly fallback to english, if the plural case is not translated"
This reverts commit cbad5c998b260040523ac8e6a2797591d0086938.
Diffstat (limited to 'lib/private/l10n.php')
-rw-r--r-- | lib/private/l10n.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/l10n.php b/lib/private/l10n.php index 6c66bee3e79..3c759a9e3a2 100644 --- a/lib/private/l10n.php +++ b/lib/private/l10n.php @@ -238,7 +238,7 @@ class OC_L10N implements \OCP\IL10N { $this->init(); $identifier = "_${text_singular}_::_${text_plural}_"; if( array_key_exists($identifier, $this->translations)) { - return new OC_L10N_String($this, $identifier, $parameters, $count, array($text_singular, $text_plural)); + return new OC_L10N_String( $this, $identifier, $parameters, $count ); }else{ if($count === 1) { return new OC_L10N_String($this, $text_singular, $parameters, $count); |