Fix plural rule detection for languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c1fa96596a
commit
b9684ee0d3
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue