Fix plural rule detection for languages

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2019-03-11 15:14:57 +01:00 committed by Roeland Jago Douma
parent c1fa96596a
commit b9684ee0d3
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ OC.L10N = {
* @private
*/
_getPlural: function(number) {
var locale = OC.getLocale();
var locale = OC.getLanguage();
if ('pt_BR' === locale) {
// temporary set a locale for brazilian
locale = 'xbr';