]> source.dussan.org Git - nextcloud-server.git/commitdiff
return plural form in ajax translations
authorThomas Müller <thomas.mueller@tmit.eu>
Sat, 3 Aug 2013 21:27:18 +0000 (23:27 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Sat, 3 Aug 2013 21:27:18 +0000 (23:27 +0200)
core/ajax/translations.php

index c9c642077982b0671a39ba156f932e1176248b3c..e829453dbcc59768669c786336f0e32fd828c2b1 100644 (file)
@@ -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()));