Skip to content

Commit

Permalink
fix AUTOMATIC1111#14591 - using translated content to do categories m…
Browse files Browse the repository at this point in the history
…apping
  • Loading branch information
dtlnor committed Feb 22, 2024
1 parent 0a27193 commit f537e5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f537e5a

Please sign in to comment.