return plural form in ajax translations

This commit is contained in:
Thomas Müller 2013-08-03 23:27:18 +02:00
parent e04bf0aaeb
commit 2e5f1142be
1 changed files with 1 additions and 1 deletions

View File

@ -27,4 +27,4 @@ $app = OC_App::cleanAppId($app);
$l = OC_L10N::get( $app ); $l = OC_L10N::get( $app );
OC_JSON::success(array('data' => $l->getTranslations())); OC_JSON::success(array('data' => $l->getTranslations(), 'plural_form' => $l->getPluralFormString()));