aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-03 23:27:18 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-03 23:27:18 +0200
commit2e5f1142be7101ccca0b45539d585df95dc61116 (patch)
treeea88887d750468adc7ca1172920349cc957e125b
parente04bf0aaeb92103ef432e56f1d6d712599952cee (diff)
downloadnextcloud-server-2e5f1142be7101ccca0b45539d585df95dc61116.tar.gz
nextcloud-server-2e5f1142be7101ccca0b45539d585df95dc61116.zip
return plural form in ajax translations
-rw-r--r--core/ajax/translations.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/translations.php b/core/ajax/translations.php
index c9c64207798..e829453dbcc 100644
--- a/core/ajax/translations.php
+++ b/core/ajax/translations.php
@@ -27,4 +27,4 @@ $app = OC_App::cleanAppId($app);
$l = OC_L10N::get( $app );
-OC_JSON::success(array('data' => $l->getTranslations()));
+OC_JSON::success(array('data' => $l->getTranslations(), 'plural_form' => $l->getPluralFormString()));