Commit f537e5a5 authored by dtlnor's avatar dtlnor

fix #14591 - using translated content to do categories mapping

parent 0a271938
...@@ -55,8 +55,8 @@ onOptionsChanged(function() { ...@@ -55,8 +55,8 @@ onOptionsChanged(function() {
}); });
opts._categories.forEach(function(x) { opts._categories.forEach(function(x) {
var section = x[0]; var section = localization[x[0]] ?? x[0];
var category = x[1]; var category = localization[x[1]] ?? x[1];
var span = document.createElement('SPAN'); var span = document.createElement('SPAN');
span.textContent = category; 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