Fix plural rule detection for languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1832537571
commit
c9026fc75c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -173,7 +173,7 @@ const 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';
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue