Fix plural rule detection for languages

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2019-03-11 15:14:57 +01:00
parent 1832537571
commit c9026fc75c
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
5 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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