diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-08-03 23:27:18 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-08-03 23:27:18 +0200 |
commit | 2e5f1142be7101ccca0b45539d585df95dc61116 (patch) | |
tree | ea88887d750468adc7ca1172920349cc957e125b | |
parent | e04bf0aaeb92103ef432e56f1d6d712599952cee (diff) | |
download | nextcloud-server-2e5f1142be7101ccca0b45539d585df95dc61116.tar.gz nextcloud-server-2e5f1142be7101ccca0b45539d585df95dc61116.zip |
return plural form in ajax translations
-rw-r--r-- | core/ajax/translations.php | 2 |
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())); |