summaryrefslogtreecommitdiffstats
path: root/lib/private/l10n.php
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-12-07 11:38:01 +0100
committerMorris Jobke <morris.jobke@gmail.com>2013-12-07 11:38:01 +0100
commit4c4c9096c4e3653ddd44aa299d34367e243dd257 (patch)
treef82b03ce3b4545533621672b912d5236ef9aad45 /lib/private/l10n.php
parent6a747106db7d3c35d461f0b4cb3e9c48feea7780 (diff)
downloadnextcloud-server-4c4c9096c4e3653ddd44aa299d34367e243dd257.tar.gz
nextcloud-server-4c4c9096c4e3653ddd44aa299d34367e243dd257.zip
fix plural translation - fixes #6226
Diffstat (limited to 'lib/private/l10n.php')
-rw-r--r--lib/private/l10n.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/l10n.php b/lib/private/l10n.php
index 2d440850459..98665c84c55 100644
--- a/lib/private/l10n.php
+++ b/lib/private/l10n.php
@@ -262,7 +262,7 @@ class OC_L10N implements \OCP\IL10N {
*/
public function n($text_singular, $text_plural, $count, $parameters = array()) {
$this->init();
- $identifier = "_${text_singular}__${text_plural}_";
+ $identifier = "_${text_singular}_::_${text_plural}_";
if( array_key_exists($identifier, $this->translations)) {
return new OC_L10N_String( $this, $identifier, $parameters, $count );
}