Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-03-11 17:14:57 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-03-27 15:33:44 +0300
commitb9684ee0d3514429e6668cbffa924e68abfff4f0 (patch)
tree3207c513b6ef654b6bb155ea69540683957c68ec
parentc1fa96596a571d08f0ecf908648e87e1501dd253 (diff)
Fix plural rule detection for languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--core/js/l10n.js2
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';