mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Fix plural rule detection for languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1832537571
commit
c9026fc75c
5 changed files with 5 additions and 5 deletions
2
core/js/dist/main.js
vendored
2
core/js/dist/main.js
vendored
File diff suppressed because one or more lines are too long
2
core/js/dist/main.js.map
vendored
2
core/js/dist/main.js.map
vendored
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 a new issue