We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a0e183 + 560229d commit 11de751Copy full SHA for 11de751
src/js/tabs/osd.js
@@ -2120,8 +2120,9 @@ TABS.osd.initialize = function (callback) {
2120
fieldList.append(field);
2121
} else {
2122
let added = false;
2123
+ let currentLocale = i18n.getCurrentLocale().replace('_', '-');
2124
fieldList.children().each(function() {
- if ($(this).text().localeCompare(field.text(), i18n.getCurrentLocale(), { sensitivity: 'base' }) > 0) {
2125
+ if ($(this).text().localeCompare(field.text(), currentLocale, { sensitivity: 'base' }) > 0) {
2126
$(this).before(field);
2127
added = true;
2128
return false;
0 commit comments