diff options
author | Joas Schilling <coding@schilljs.com> | 2019-03-11 17:14:57 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-03-27 15:33:44 +0300 |
commit | b9684ee0d3514429e6668cbffa924e68abfff4f0 (patch) | |
tree | 3207c513b6ef654b6bb155ea69540683957c68ec | |
parent | c1fa96596a571d08f0ecf908648e87e1501dd253 (diff) |
Fix plural rule detection for languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | core/js/l10n.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/l10n.js b/core/js/l10n.js index 6027d42dca0..426fc706a56 100644 --- a/core/js/l10n.js +++ b/core/js/l10n.js @@ -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'; |