Commit 78e421e4 authored by AUTOMATIC1111's avatar AUTOMATIC1111

Merge pull request #14995 from...

Merge pull request #14995 from dtlnor/14591-bug-the-categories-layout-is-different-when-localization-is-on

Fix #14591 using translated content to do categories mapping
parent a10c8df8
......@@ -55,8 +55,8 @@ onOptionsChanged(function() {
});
opts._categories.forEach(function(x) {
var section = x[0];
var category = x[1];
var section = localization[x[0]] ?? x[0];
var category = localization[x[1]] ?? x[1];
var span = document.createElement('SPAN');
span.textContent = category;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment