summaryrefslogtreecommitdiffstats
path: root/core/js/l10n.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/l10n.js')
-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';