Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix plural rule detection for languages
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and rullzer committed Mar 27, 2019
commit b9684ee0d3514429e6668cbffa924e68abfff4f0
2 changes: 1 addition & 1 deletion core/js/l10n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down