diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-03-26 20:15:33 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-03-26 20:15:33 +0100 |
commit | 74a9fc29b43b54ec8aa9f6b9cac1cbfa4a5136e2 (patch) | |
tree | 9489220921b93420730b13a9dd7c23a1d0e6ec29 /lib/private/l10n.php | |
parent | c8c722bc6de3a58e10ba42a55a178d3ba9308bae (diff) | |
parent | ae60108692a2c34b0ab474e7d9fa35bb8b689992 (diff) | |
download | nextcloud-server-74a9fc29b43b54ec8aa9f6b9cac1cbfa4a5136e2.tar.gz nextcloud-server-74a9fc29b43b54ec8aa9f6b9cac1cbfa4a5136e2.zip |
Merge pull request #14399 from owncloud/ignore-empty-plurals
Ignore empty plurals just like with singulars
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 b16a0468e23..95b80bebdb2 100644 --- a/lib/private/l10n.php +++ b/lib/private/l10n.php @@ -305,7 +305,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); |